SphereServer BugTracker - SphereServer
View Issue Details
0002116SphereServernew feature requestpublic28-11-12 04:0315-01-14 00:43
Coruja 
XuN 
normalminorN/A
resolvedfixed 
 
 
Not Available
None
None
0002116: New extra combat flag COMBAT_PRECRIMINAL
Like COMBAT_PREHIT (sphere.ini)

// COMBAT_PREHIT 00004 // allow prehit for close combat. first hit is instant (delay 0.1sec)

the COMBAT_PRECRIMINAL will works in the same way, but used for flag criminal actions. If I just -TRY- to attack someone I will become instantly criminal even if I cancel the attack
No tags attached.
Issue History
28-11-12 04:03CorujaNew Issue
12-01-14 09:38XuNNote Added: 0001898
15-01-14 00:43XuNStatusnew => resolved
15-01-14 00:43XuNResolutionopen => fixed
15-01-14 00:43XuNAssigned To => XuN

Notes
(0001898)
XuN   
12-01-14 09:38   
You can use @HitTry for this:

ON=@HitTry
if !(<criminal>==1)
 if ( ( <NotoGetFlag <src>> == NOTO_GOOD ) || ( <NotoGetFlag <src>> == NOTO_GUILD_SAME ))
  criminal=1
 endif
endif