SphereCommunity
Spells interrupt option - Printable Version

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



Spells interrupt option - Mad Gunther - 09-11-2017 03:28 AM

Hello everyone,

I´m trying to modify my spells to make some of them never fizzle in 0.56c at casting and the rest of them to fizzle when getting a physical or magic damage. The real problem comes when i try to do that by changing the values in the greater heal spell (the one i´m trying actually) and it keeps the player failing the spell while getting hitted no matter what (trying values from 0.0,0.0 to 100.0,100.0), and i want greater heal to never fail.

I have seen that spells must be flaged != dam_nondisturb, so why it´s not working right? greater heal is flagged as a non damage spell so it shouldn´t be any trouble with interrupt. Magery skill has FLAGS=SKF_MAGIC.

I moved to 56d to check out if that still happends in the last version of it, but when i try to cast a spell, it only says :"You don´t have a spellbook handy", while i have a full spellbook on my backpack lol.

Can somebody say to me if i´m doing something wrong? i need this to be done to go through the next level and i am a little bit stucked at that, Thanks in adavance.


RE: Spells interrupt option - darksun84 - 09-11-2017 04:45 AM

Seems bugged, looks like that when you get hit you try to hit back, deleting (aborting) the spell action


RE: Spells interrupt option - Mad Gunther - 10-14-2017 02:45 AM

Two days ago i had time to spare and see what was going on with magic. Then i saw you posted the fix on github and after compiling it´s working perfectly in build 426, thanks mate.


RE: Spells interrupt option - darksun84 - 10-14-2017 02:55 AM

Did you use the main build for compiling? because my fork it's a mess Big Grin


RE: Spells interrupt option - Mad Gunther - 10-14-2017 03:26 AM

I saw the issue in the main sphere github repo, then i just copied it into my own source in the place where it should be hehe. Maybe i sounded like a source thief at first, but it wasn´t my intention at all Lol.