mirror of
https://github.com/SWG-Source/dsrc.git
synced 2026-09-30 16:12:59 -04:00
Fixed issue occurring when a player or NPC does an AoE and hate is applied against himself.
This commit is contained in:
Regular → Executable
+1
-1
@@ -2184,7 +2184,7 @@ public class dot extends script.base_script
|
||||
{
|
||||
return false;
|
||||
}
|
||||
if (isIdValid(attacker) && isMob(attacker))
|
||||
if (isIdValid(attacker) && isMob(attacker) && !target.equals(attacker))
|
||||
{
|
||||
addHate(target, attacker, 0.0f);
|
||||
addHate(attacker, target, 0.0f);
|
||||
|
||||
Reference in New Issue
Block a user