SphereCommunity
magic issue - Printable Version

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

Pages: 1 2 3


RE: magic issue - Khaos - 03-28-2016 07:39 AM

No problem sweetie!!! You have a good evening and never be shy to ask for help!!!! We are here for you if you need us. Smile So glad it is all working though!!!!!


RE: magic issue - Rostok - 03-28-2016 10:38 AM

My Solution:

[Spell 5]
DEFNAME=s_magic_arrow
NAME=Magic Arrow
SOUND=snd_SPELL_MAGIC_ARROW
CAST_TIME=1.0
RUNES=IPY
RESOURCES=i_reag_black_pearl,i_reag_nightshade
RUNE_ITEM=i_rune_MAGIC_ARROW
SCROLL_ITEM=i_scroll_MAGIC_ARROW
FLAGS=SPELLFLAG_TARG_CHAR | SPELLFLAG_DIR_ANIM | SPELLFLAG_HARM | SPELLFLAG_DAMAGE |spellflag_resist | spellflag_fx_bolt
EFFECT_ID=i_fx_fireball_small
EFFECT=2,3
DURATION=0.0
MANAUSE=4
SKILLREQ=MAGERY 10.0
INTERRUPT=100.0,100.0


RE: magic issue - Sum - 03-28-2016 03:55 PM

(03-28-2016 07:39 AM)Khaos Wrote:  No problem sweetie!!! You have a good evening and never be shy to ask for help!!!! We are here for you if you need us. Smile So glad it is all working though!!!!!

You're the best hun thank you again!!

and thank you Rostok for your solution as well!!


RE: magic issue - zottolo - 03-30-2016 06:15 PM

hi and sorry for late my problem was that SPELLFLAG_HARM wasn't paired with SPELLFLAG_DAMAGE as you have seen by other answeres


RE: magic issue - Khaos - 03-31-2016 12:05 PM

Because SpellFlag_Damage is to use Local.DamageType or whatever. Shouldn't have needed to be paired if I remember right. Will see what Xun says, since I think this was his addition. As written SpellFHarm should have been enough.

SpellFDamage 08000000 // kinda harm but deals damage to the targ, damage type is LOCAL.DamageType.


Will double check, but it doesn't seem like this should be needed unless you are overriding damage type.


RE: magic issue - XuN - 04-01-2016 01:51 AM

You should update sphere_spells (flags, layer...) if moving from an older version.

BTW:
Code:
25-07-2012, ShiryuX
- Added: SPELLFLAG_TARG_DEAD so you can create spells for dead people.
- Added: SPELLFLAG_DAMAGE for damage spells, along with HARM effect.
         You can override the Damage Type under @(Spell)Effect with LOCAL.DamageType.



RE: magic issue - Sum - 04-08-2016 03:22 PM

Thanks everyone for your responses!!