SphereCommunity
Group in Spells? - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: Script Help (/Forum-Script-Help)
+--- Thread: Group in Spells? (/Thread-Group-in-Spells)



Group in Spells? - admin phoenix - 05-08-2012 09:50 PM

what means this in the wiki for the spell section?

GROUP RW Gets or sets the spell's group flags.

Never heard of it and don´t know which flags are mean for this one.

It looks fine if we can define our own flags Smile

gr

phoenix


RE: Group in Spells? - Crusader - 05-08-2012 10:28 PM

maybe it means the circle?

or maybe is a variable for other purposes...for istance u might use custom groups like
"harm spells"
"heal spells"
"buff spells"
"debuff spells"

or
"divination"
"conjuration"
"Abjuration"
etc..

so u can easly recognize a spell when cast.


RE: Group in Spells? - darksun84 - 05-08-2012 11:06 PM

There is even on skill and regions , in the last case , it's related to Axis .


RE: Group in Spells? - admin phoenix - 05-09-2012 03:54 PM

fine, you can declar your own defnames like
def_circle_fire 01
and put them on the group
group=def_circle_fire

and ask via script

PHP Code:
if ((<serv.spell.<argn1>.group>&def_circle_fire)
smsg You can´t cast the spell because you don´t have the circle.
return 
1
endif 

Very Nice Smile


RE: Group in Spells? - darksun84 - 05-09-2012 04:39 PM

super cool Shock


RE: Group in Spells? - Crusader - 05-09-2012 05:50 PM

told ya ^^