Satvet
Journeyman
Posts: 105
Likes Given: 32
Likes Received: 6 in 6 posts
Joined: Sep 2015
Reputation: 0
|
RE: wall magic & poisoning magic
I guess you do not understand me.
Build:
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)
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 |
|
|