Always affect main summon target.

This commit is contained in:
MobiusDev
2019-01-26 00:21:19 +00:00
parent e58a5a4ae4
commit 6ce1c12816
10 changed files with 10 additions and 10 deletions

View File

@@ -123,7 +123,7 @@ public class NotFriend implements IAffectObjectHandler
} }
// At this point summon should be prevented from attacking friendly targets. // At this point summon should be prevented from attacking friendly targets.
if (activeChar.isSummon()) if (activeChar.isSummon() && (target == activeChar.getTarget()))
{ {
return true; return true;
} }

View File

@@ -123,7 +123,7 @@ public class NotFriend implements IAffectObjectHandler
} }
// At this point summon should be prevented from attacking friendly targets. // At this point summon should be prevented from attacking friendly targets.
if (activeChar.isSummon()) if (activeChar.isSummon() && (target == activeChar.getTarget()))
{ {
return true; return true;
} }

View File

@@ -123,7 +123,7 @@ public class NotFriend implements IAffectObjectHandler
} }
// At this point summon should be prevented from attacking friendly targets. // At this point summon should be prevented from attacking friendly targets.
if (activeChar.isSummon()) if (activeChar.isSummon() && (target == activeChar.getTarget()))
{ {
return true; return true;
} }

View File

@@ -123,7 +123,7 @@ public class NotFriend implements IAffectObjectHandler
} }
// At this point summon should be prevented from attacking friendly targets. // At this point summon should be prevented from attacking friendly targets.
if (activeChar.isSummon()) if (activeChar.isSummon() && (target == activeChar.getTarget()))
{ {
return true; return true;
} }

View File

@@ -123,7 +123,7 @@ public class NotFriend implements IAffectObjectHandler
} }
// At this point summon should be prevented from attacking friendly targets. // At this point summon should be prevented from attacking friendly targets.
if (activeChar.isSummon()) if (activeChar.isSummon() && (target == activeChar.getTarget()))
{ {
return true; return true;
} }

View File

@@ -123,7 +123,7 @@ public class NotFriend implements IAffectObjectHandler
} }
// At this point summon should be prevented from attacking friendly targets. // At this point summon should be prevented from attacking friendly targets.
if (activeChar.isSummon()) if (activeChar.isSummon() && (target == activeChar.getTarget()))
{ {
return true; return true;
} }

View File

@@ -123,7 +123,7 @@ public class NotFriend implements IAffectObjectHandler
} }
// At this point summon should be prevented from attacking friendly targets. // At this point summon should be prevented from attacking friendly targets.
if (activeChar.isSummon()) if (activeChar.isSummon() && (target == activeChar.getTarget()))
{ {
return true; return true;
} }

View File

@@ -123,7 +123,7 @@ public class NotFriend implements IAffectObjectHandler
} }
// At this point summon should be prevented from attacking friendly targets. // At this point summon should be prevented from attacking friendly targets.
if (activeChar.isSummon()) if (activeChar.isSummon() && (target == activeChar.getTarget()))
{ {
return true; return true;
} }

View File

@@ -123,7 +123,7 @@ public class NotFriend implements IAffectObjectHandler
} }
// At this point summon should be prevented from attacking friendly targets. // At this point summon should be prevented from attacking friendly targets.
if (activeChar.isSummon()) if (activeChar.isSummon() && (target == activeChar.getTarget()))
{ {
return true; return true;
} }

View File

@@ -123,7 +123,7 @@ public class NotFriend implements IAffectObjectHandler
} }
// At this point summon should be prevented from attacking friendly targets. // At this point summon should be prevented from attacking friendly targets.
if (activeChar.isSummon()) if (activeChar.isSummon() && (target == activeChar.getTarget()))
{ {
return true; return true;
} }