SphereServer BugTracker - SphereServer
View Issue Details
0002011SphereServernew feature requestpublic31-07-11 23:5902-08-11 17:55
darksun84 
ShiryuX 
normalfeaturealways
resolvedfixed 
 
0.56c Nightly 
Automated (specify build number)
None
None
1485
0002011: SPELLFLAGS : SPELLFLAG_TARG_XYZ AND SPELLFLAG_FIELD
Every no-hardcoded spell that has the flag SPELLFLAG_TARG_XYZ fires both the trigger @Success and @Fail , resulting that the spells will be not cast correctly.

No Hardcoded Spells with flag SPELLFLAG_FIELD doesn't consider at all the following locals in the @Success trigger :

LOCAL.CREATEOBJECT1 LOCAL.CREATEOBJECT2 LOCAL.FIELDGAUGE LOCAL.FIELDWIDTH

Those locals works fine if they are used in hardcoded field spells like firewall,poison field , paralyze field etc..
No tags attached.
Issue History
31-07-11 23:59darksun84New Issue
02-08-11 04:47ShiryuXNote Added: 0001206
02-08-11 04:48ShiryuXAssigned To => ShiryuX
02-08-11 04:48ShiryuXStatusnew => assigned
02-08-11 17:11ShiryuXNote Added: 0001207
02-08-11 17:11ShiryuXSeverityminor => feature
02-08-11 17:11ShiryuXCategoryexecutable - generic => new feature request
02-08-11 17:11ShiryuXNote Edited: 0001207bug_revision_view_page.php?bugnote_id=0001207#r393
02-08-11 17:55ShiryuXStatusassigned => resolved
02-08-11 17:55ShiryuXFixed in Version => 0.56c Nightly
02-08-11 17:55ShiryuXResolutionopen => fixed

Notes
(0001206)
ShiryuX   
02-08-11 04:47   
I've been thinking in some little changes in here.
Using those LOCALs to create a custom (graphic) effect if they are set and the flag SCRIPTED in addition of SUMMON or FIELD. The (damage) effect should be custom under @Effect. That should give a better enviroment for creating custom spells, at least for fields and summon.

I'll also take a look at XYZ and the problem with triggers, but I need to be able to reproduce it first (that menas: test it).
(0001207)
ShiryuX   
02-08-11 17:11   
I've changed it to feature request for _FIELD since I can't reproduce the problem with _XYZ flag. Please, check your scripts first.
Try with a clear install, if the problem persist open a new ticket, this one will be for custom spells.