SphereCommunity

Full Version: FireField not SelfDamage
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I downloaded nightly sphere and scripts (http://nightly.prerelease.sphere.torfo.org/)


PHP Code:
[Spell 28]
DEFNAME=s_fire_field
NAME
=Fire Field
SOUND
=snd_SPELL_FIRE_FIELD
RUNES
=IFG
CAST_TIME
=3.0
RESOURCES
=i_reag_black_pearl,i_reag_spider_silk,i_reag_sulfur_ash
RUNE_ITEM
=i_rune_FIRE_FIELD
SCROLL_ITEM
=i_scroll_FIRE_FIELD
FLAGS
=SPELLFLAG_TARG_XYZ|SPELLFLAG_FIELD|SPELLFLAG_HARM|SPELLFLAG_RESIST|SPELLFLAG_DAMAGE
EFFECT_ID
=0
EFFECT
=2,12
DURATION
=2*60.0,4*60.0
MANAUSE
=11
SKILLREQ
=MAGERY 40.0
INTERRUPT
=100.0,100.0 

Now firefield don't attack self Sad But I wish that field attacked anyone who comes to it

Please help me
In sphere.ini there is a flag.
// MAGICF_CANHARMSELF 0008 // Magic can do damage on self

Activate it. But!! It will work for all spells.

(or you want only the fire field, nothing else?)
Thx. Work ^)
Reference URL's