SphereCommunity
I want the Wall of Stone to disturb the target's Spell - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: General Help (/Forum-General-Help)
+--- Thread: I want the Wall of Stone to disturb the target's Spell (/Thread-I-want-the-Wall-of-Stone-to-disturb-the-target-s-Spell)



I want the Wall of Stone to disturb the target's Spell - kduzera - 08-30-2018 12:10 PM

Hi people. I want the Wall of Stone to disturb the target's Spell.

My Script...

[SPELL 24]
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_dir_anim|spellflag_targ_xyz|spellflag_harm|spellflag_damage|spel​lflag_fx_targ|spellflag_field|spellflag_playeronly|spellflag_targ_char|
EFFECT_ID=0
EFFECT=0
DURATION=60.0
MANAUSE=9
SKILLREQ=MAGERY 30.0
INTERRUPT=100.0,100.0

ON=@Success
LOCAL.FieldWidth=7


ON=@Effect
LOCAL.DAMAGETYPE=(<DEF.dam_physical>|<DEF.dam_magic>)



Thanks Smile


RE: I want the Wall of Stone to disturb the target's Spell - kduzera - 08-30-2018 11:00 PM

I've tried everything i know... I really cant see how i solve this.

I realized that this Spell puts the target on Warmode. I thought i could go along with that thinking.

Any ideas?


RE: I want the Wall of Stone to disturb the target's Spell - darksun84 - 08-31-2018 02:49 AM

Field spells triggers @effect only when somebody steps upon them.

Because the wall of stone igraphic blocks the character movement, @effect will never be called unless you modify the wall of stone id flags in the tiledata.mul file.

And even by modifying the wall of stone flags, you will render the spell useless because character will be able to pass through it Big Grin


RE: I want the Wall of Stone to disturb the target's Spell - kduzera - 08-31-2018 03:08 AM

Yep :/

Do you know any other way to make Wall Of Stone cancel target's Skill Magery Action? Many Shards in the past used Wall Of Stone that way.


RE: I want the Wall of Stone to disturb the target's Spell - darksun84 - 08-31-2018 03:42 AM

I think the target lose the magery action because the loss of line of sight when a wall of stone is casted between the two characters