The following warnings occurred:
Warning [2] Use of undefined constant SAPI_NAME - assumed 'SAPI_NAME' (this will throw an Error in a future version of PHP) - Line: 3388 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3388 errorHandler->error
/showthread.php 116 build_archive_link
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/inc/functions.php 3324 build_forum_breadcrumb
/showthread.php 195 build_forum_breadcrumb
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
wall magic & poisoning magic
Author Message
Satvet
Journeyman
*

Posts: 105
Likes Given: 32
Likes Received: 6 in 6 posts
Joined: Sep 2015
Reputation: 0



Post: #5
RE: wall magic & poisoning magic
I guess you do not understand me.

Build:
[Image: R0MVL1.png]

Quote:[Spell 24]
..
..
ON=@SUCCESS
LOCAL.DURATION=<R200,300> //{200 300} //{20.0 30.0} // not working
LOCAL.FieldWidth=7 // this works
LOCAL.EFFECTCOLOR=07a1 // this works

Quote:[sphere.ini]
// MAGICF_OSIFORMULAS 00200 // Calculate spell damage and duration based on OSI formulas
MagicFlags=0200


I and tried this topic before I opened the topic to the forum. But it did not work. I'm telling you every time.
https://forum.spherecommunity.net/Thread...5#pid19955



As I said the poison incident, I have done it with the player event for now.
I use xedit and I get this result on that.
Quote:[player event]
ON=@SPELLEFFECT
IF ((<ARGN> == 20) || (<ARGN> == 39))
IF !(<FLAGS>&(STATF_POISONED)) && !(<FINDID.I_RUNE_POISON>)
FLAGS <FLAGS>|STATF_POISONED
ELSE
FLAGS <FLAGS>|STATF_POISONED
ENDIF
ENDIF


Treatment with magic and bandage
Quote:[Spell 11]
DEFNAME=s_cure
NAME=Cure
SOUND=snd_SPELL_CURE
RUNES=AN
CAST_TIME=0.9
RESOURCES=i_reag_garlic,i_reag_ginseng
RUNE_ITEM=i_rune_CURE
SCROLL_ITEM=i_scroll_CURE
FLAGS=SPELLFLAG_TARG_CHAR|SPELLFLAG_FX_TARG|SPELLFLAG_GOOD|spellflag_playeronly
EFFECT_ID=i_fx_HEAL_EFFECT
EFFECT=0
DURATION=0.0
MANAUSE=6
SKILLREQ=MAGERY 20.0
INTERRUPT=100.0,100.0

[bandage]
if (<cont.findid.i_rune_poison>) // cure self
if !(rand(5) == 1)
cont.findid.i_rune_poison.remove
cont.effect 3,0376a,2,10,1
cont.sayua 048,6,6,0 * zehir etkisini iyileştirir * //Cleans the poison effect
else
cont.sayua 020,6,6,0 * zehiri iyileştiremez * //It does not cure the poison
endif
endif


and this problem continues.
Always gives the same value. (11)
[Image: gqvY12.png]
Code:
[Spell 17]
DEFNAME=s_bless
NAME=Bless
SOUND=snd_SPELL_BLESS
RUNES=RS
CAST_TIME=1.5
RESOURCES=i_reag_garlic,i_reag_mandrake_root
RUNE_ITEM=i_rune_BLESS
SCROLL_ITEM=i_scroll_BLESS
FLAGS=SPELLFLAG_TARG_CHAR|SPELLFLAG_FX_TARG|SPELLFLAG_GOOD|spellflag_playeronly|​spellflag_bless
EFFECT_ID=i_fx_BLESS_EFFECT
EFFECT=5,20
LAYER=layer_spell_stats
DURATION=2*60.0,4*60.0
MANAUSE=9
SKILLREQ=MAGERY 30.0
INTERRUPT=100.0,100.0
(This post was last modified: 05-18-2017 07:23 AM by Satvet.)
05-18-2017 03:05 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
wall magic & poisoning magic - Satvet - 05-10-2017, 03:27 AM
RE: wall magic & poisoning magic - Satvet - 05-13-2017, 07:51 PM
RE: wall magic & poisoning magic - Coruja - 05-17-2017, 12:44 PM
RE: wall magic & poisoning magic - Satvet - 05-18-2017 03:05 AM
RE: wall magic & poisoning magic - Satvet - 05-29-2017, 03:34 PM
RE: wall magic & poisoning magic - Satvet - 05-19-2017, 06:25 AM
RE: wall magic & poisoning magic - Satvet - 05-19-2017, 08:37 AM
RE: wall magic & poisoning magic - Coruja - 05-20-2017, 07:33 AM

Forum Jump:


User(s) browsing this thread: 3 Guest(s)