mirror of
https://github.com/SWG-Source/dsrc.git
synced 2026-10-21 12:03:08 -04:00
Prevented target from adding hate to itself when applying a dot.
This commit is contained in:
@@ -2702,7 +2702,7 @@ public class dot extends script.base_script
|
||||
}
|
||||
if (!isPlayer(target))
|
||||
{
|
||||
if (isIdValid(caster) && exists(caster))
|
||||
if (isIdValid(caster) && exists(caster) && !target.equals(caster))
|
||||
{
|
||||
addHate(target, caster, strength);
|
||||
addHate(caster, target, 0.0f);
|
||||
|
||||
Reference in New Issue
Block a user