SphereServer BugTracker - SphereServer
View Issue Details
0002109SphereServerexecutable - windows buildpublic06-11-12 06:3706-11-12 09:39
Shaklaban 
MrSugarCube 
normalminoralways
closedno change required 
 
 
Not Available
None
None
1519
0002109: cancast triggering spellselect
cancast triggering spellselect, using cancast can crash the server on @spellselect.
No tags attached.
Issue History
06-11-12 06:37ShaklabanNew Issue
06-11-12 09:39MrSugarCubeNote Added: 0001421
06-11-12 09:39MrSugarCubeStatusnew => closed
06-11-12 09:39MrSugarCubeAssigned To => MrSugarCube
06-11-12 09:39MrSugarCubeResolutionopen => no change required

Notes
(0001421)
MrSugarCube   
06-11-12 09:39   
@SpellSelect is used to determine if the character is allowed to cast the spell (has enough mana, reagents, etc) which is what the CanCast function is supposed to do.

If you're going to call CanCast from inside the SpellSelect trigger then you need to handle the possible recursion in your scripts.