SphereServer BugTracker - SphereServer
View Issue Details
0001860SphereServerexecutable - genericpublic29-11-10 02:2516-10-14 19:10
Coruja 
Coruja 
normalminoralways
resolvedfixed 
 
0.56c Nightly 
Not Available
None
None
0001860: Incorrect spell condition order on Magery
If I try to use an spell (that I doesnt have it on spellbook) on a anti-magic area, it will return "this area is anti-magic" message, not "you doesnt have this spell on spellbook". If I exit this anti-magic region and try to cast the same spell again I got the correct message that I doesnt have this spell yet.

The correct order is:
1) Check if I have the spell on spellbook
2) Check for anti-magic region
No tags attached.
Issue History
29-11-10 02:25CorujaNew Issue
16-10-14 19:10CorujaNote Added: 0002480
16-10-14 19:10CorujaStatusnew => resolved
16-10-14 19:10CorujaFixed in Version => 0.56c Nightly
16-10-14 19:10CorujaResolutionopen => fixed
16-10-14 19:10CorujaAssigned To => Coruja

Notes
(0002480)
Coruja   
16-10-14 19:10   
I fixed using the 1st option, calling triggers even if the player doesn't have the spellbook/mana/reags can be usefull if someone want to do some custom checks or use 'return 6' to make the spell 100% softcoded with no internal checks (as Feeh said)