SphereCommunity
Hello guys, this time about spells - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: Script Help (/Forum-Script-Help)
+--- Thread: Hello guys, this time about spells (/Thread-Hello-guys-this-time-about-spells)



Hello guys, this time about spells - Dullais - 03-16-2013 09:34 PM

Hi everybody !
This time its about spells.
So one thing is that, when casting spell i'am frozen, how do i remove that ?
The other thing is that Casting spell from spellbook don't take reagents. Why that ? (P.S. Iam casting by player not gm)
Other thing is how do i edit spells like polymorph ? I have made item that equiped give you the effect that i need, i replaces its layer with polymorph layer and added it to spell's @EFFECT, is that right way to do it or mby i can find somewhere find default spells and edit them ?
So basically mby there are some tutorials about editing spells and all around them ? For example i want to edit flamestrike dmg calculating other variables, not only magery. how do i do that ?
Sorry for dumb questions, it's just that i can't find anything useful on internet Sad
And Thank you all for support Smile


RE: Hello guys, this time about spells - darksun84 - 03-16-2013 10:36 PM

For reagents, by default they are disabled look at in sphere.ini :
// Magic requires reagents
ReagentsRequired=0

For the freeze, probabily you have this magic flag active, look at sphere.ini
// MAGICF_FREEZEONCAST = 0x0000020 // No movement whilst casting


For editing spells, every spelldef has it own @triggers ( Select,start,success and so on) you can do what you want in those ones


RE: Hello guys, this time about spells - Dullais - 03-16-2013 10:50 PM

(03-16-2013 10:36 PM)darksun84 Wrote:  For reagents, by default they are disabled look at in sphere.ini :
// Magic requires reagents
ReagentsRequired=0

For the freeze, probabily you have this magic flag active, look at sphere.ini
// MAGICF_FREEZEONCAST = 0x0000020 // No movement whilst casting


For editing spells, every spelldef has it own @triggers ( Select,start,success and so on) you can do what you want in those ones

As always, you are the best ! Thanks man Smile