[Spell 201]
DEFNAME=s_Cleanse_By_Fire
NAME=Cleanse By Fire
SOUND=0
RUNES=
CAST_TIME=1.0
RESOURCES=
RUNE_ITEM=0
SCROLL_ITEM=0
FLAGS=spellflag_targ_char|spellflag_fx_targ|spellflag_good|spellflag_no_castanim|spellflag_playeronly
EFFECT_ID=0373A
EFFECT=10
DURATION=0.0
MANAUSE=10
SKILLREQ=SKILL_CHIVALRY 5.0
INTERRUPT=0.0,0.0

ON=@Start
SAY @,,2 1060718

ON=@Effect
SRC.SOUND=0208
SOUND=01E0
SRC.EFFECT 3,03709,3,20
LOCAL.DAMAGE=<FEVAL <FLOATVAL 15+(50-<SRC.F_COMPUTE_POWERLEVEL 4>)>>
IF (<LOCAL.DAMAGE> > 50)
LOCAL.DAMAGE=50
ELIF (<LOCAL.DAMAGE> < 10)
LOCAL.DAMAGE=10
ENDIF
SRC.DAMAGE <LOCAL.DAMAGE> <DEF.DAM_MAGIC> 01
LOCAL.CHANCETOCURE=<FEVAL <FLOATVAL (10000+(<SRC.CHIVALRY>*75)-((<FINDID.i_rune_poison.F_POISONLEVEL>+1)*2000))/100>>
IF (<LOCAL.CHANCETOCURE> > <R1,100>)
	IF (<SRC.UID> != <UID>)
	SRC.SYSMESSAGELOC -1,1010058
	ENDIF
SYSMESSAGELOC -1,1010059
SPELLEFFECT S_CURE,1000.0,<SRC>
ELSE
SRC.SYSMESSAGELOC -1,1010060
ENDIF

[EOF]