Always affect main summon target.
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
@@ -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;
|
||||||
}
|
}
|
||||||
|
@@ -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;
|
||||||
}
|
}
|
||||||
|
@@ -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;
|
||||||
}
|
}
|
||||||
|
@@ -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;
|
||||||
}
|
}
|
||||||
|
@@ -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;
|
||||||
}
|
}
|
||||||
|
@@ -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;
|
||||||
}
|
}
|
||||||
|
@@ -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;
|
||||||
}
|
}
|
||||||
|
@@ -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;
|
||||||
}
|
}
|
||||||
|
@@ -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;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user