SphereCommunity
spell problem - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: General Help (/Forum-General-Help)
+--- Thread: spell problem (/Thread-spell-problem)



spell problem - jdchixin - 02-23-2013 06:09 PM

DEFNAME=s_wall_of_stone
NAME=Wall of Stone
SOUND=snd_SPELL_WALL_OF_STONE
RUNES=ISY
CAST_TIME=3.0
RESOURCES=i_reag_blood_moss,i_reag_garlic
RUNE_ITEM=i_rune_WALL_OF_STONE
SCROLL_ITEM=i_scroll_WALL_OF_STONE
FLAGS=SPELLFLAG_TARG_CHAR|SPELLFLAG_TARG_XYZ|SPELLFLAG_FIELD|

use this flags

Why not click on the human body?


RE: spell problem - Crusader - 02-25-2013 10:39 PM

Code:
FLAGS=SPELLFLAG_TARG_CHAR|SPELLFLAG_TARG_XYZ|SPELLFLAG_FIELD|

there is a | u shouldn't have in the end of "field"

should be just:
FLAGS=SPELLFLAG_TARG_CHAR|SPELLFLAG_TARG_XYZ|SPELLFLAG_FIELD