Summons should not PvP flag after getting stunned.
This commit is contained in:
@@ -73,11 +73,18 @@ public final class BlockActions extends AbstractEffect
|
||||
{
|
||||
if ((effector != null) && !effector.isDead())
|
||||
{
|
||||
((L2Summon) effected).doAutoAttack(effector);
|
||||
if (effector.isPlayable() && (effected.getActingPlayer().getPvpFlag() == 0))
|
||||
{
|
||||
effected.disableCoreAI(false);
|
||||
}
|
||||
else
|
||||
{
|
||||
((L2Summon) effected).doAutoAttack(effector);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
effected.getAI().setIntention(CtrlIntention.AI_INTENTION_MOVE_TO, effected.getActingPlayer());
|
||||
effected.disableCoreAI(false);
|
||||
}
|
||||
}
|
||||
else
|
||||
|
@@ -73,11 +73,18 @@ public final class BlockActions extends AbstractEffect
|
||||
{
|
||||
if ((effector != null) && !effector.isDead())
|
||||
{
|
||||
((L2Summon) effected).doAutoAttack(effector);
|
||||
if (effector.isPlayable() && (effected.getActingPlayer().getPvpFlag() == 0))
|
||||
{
|
||||
effected.disableCoreAI(false);
|
||||
}
|
||||
else
|
||||
{
|
||||
((L2Summon) effected).doAutoAttack(effector);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
effected.getAI().setIntention(CtrlIntention.AI_INTENTION_MOVE_TO, effected.getActingPlayer());
|
||||
effected.disableCoreAI(false);
|
||||
}
|
||||
}
|
||||
else
|
||||
|
@@ -73,11 +73,18 @@ public final class BlockActions extends AbstractEffect
|
||||
{
|
||||
if ((effector != null) && !effector.isDead())
|
||||
{
|
||||
((L2Summon) effected).doAutoAttack(effector);
|
||||
if (effector.isPlayable() && (effected.getActingPlayer().getPvpFlag() == 0))
|
||||
{
|
||||
effected.disableCoreAI(false);
|
||||
}
|
||||
else
|
||||
{
|
||||
((L2Summon) effected).doAutoAttack(effector);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
effected.getAI().setIntention(CtrlIntention.AI_INTENTION_MOVE_TO, effected.getActingPlayer());
|
||||
effected.disableCoreAI(false);
|
||||
}
|
||||
}
|
||||
else
|
||||
|
@@ -73,11 +73,18 @@ public final class BlockActions extends AbstractEffect
|
||||
{
|
||||
if ((effector != null) && !effector.isDead())
|
||||
{
|
||||
((L2Summon) effected).doAutoAttack(effector);
|
||||
if (effector.isPlayable() && (effected.getActingPlayer().getPvpFlag() == 0))
|
||||
{
|
||||
effected.disableCoreAI(false);
|
||||
}
|
||||
else
|
||||
{
|
||||
((L2Summon) effected).doAutoAttack(effector);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
effected.getAI().setIntention(CtrlIntention.AI_INTENTION_MOVE_TO, effected.getActingPlayer());
|
||||
effected.disableCoreAI(false);
|
||||
}
|
||||
}
|
||||
else
|
||||
|
@@ -73,11 +73,18 @@ public final class BlockActions extends AbstractEffect
|
||||
{
|
||||
if ((effector != null) && !effector.isDead())
|
||||
{
|
||||
((L2Summon) effected).doAutoAttack(effector);
|
||||
if (effector.isPlayable() && (effected.getActingPlayer().getPvpFlag() == 0))
|
||||
{
|
||||
effected.disableCoreAI(false);
|
||||
}
|
||||
else
|
||||
{
|
||||
((L2Summon) effected).doAutoAttack(effector);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
effected.getAI().setIntention(CtrlIntention.AI_INTENTION_MOVE_TO, effected.getActingPlayer());
|
||||
effected.disableCoreAI(false);
|
||||
}
|
||||
}
|
||||
else
|
||||
|
@@ -73,11 +73,18 @@ public final class BlockActions extends AbstractEffect
|
||||
{
|
||||
if ((effector != null) && !effector.isDead())
|
||||
{
|
||||
((L2Summon) effected).doAutoAttack(effector);
|
||||
if (effector.isPlayable() && (effected.getActingPlayer().getPvpFlag() == 0))
|
||||
{
|
||||
effected.disableCoreAI(false);
|
||||
}
|
||||
else
|
||||
{
|
||||
((L2Summon) effected).doAutoAttack(effector);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
effected.getAI().setIntention(CtrlIntention.AI_INTENTION_MOVE_TO, effected.getActingPlayer());
|
||||
effected.disableCoreAI(false);
|
||||
}
|
||||
}
|
||||
else
|
||||
|
@@ -59,7 +59,14 @@ public final class Stun extends AbstractEffect
|
||||
final L2Character effector = info.getEffector();
|
||||
if ((effector != null) && !effector.isDead())
|
||||
{
|
||||
((L2Summon) effected).doSummonAttack(effector);
|
||||
if (effector.isPlayable() && (effected.getActingPlayer().getPvpFlag() == 0))
|
||||
{
|
||||
effected.getAI().setIntention(CtrlIntention.AI_INTENTION_MOVE_TO, effected.getActingPlayer());
|
||||
}
|
||||
else
|
||||
{
|
||||
((L2Summon) effected).doSummonAttack(effector);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@@ -73,11 +73,18 @@ public final class BlockActions extends AbstractEffect
|
||||
{
|
||||
if ((effector != null) && !effector.isDead())
|
||||
{
|
||||
((L2Summon) effected).doAutoAttack(effector);
|
||||
if (effector.isPlayable() && (effected.getActingPlayer().getPvpFlag() == 0))
|
||||
{
|
||||
effected.disableCoreAI(false);
|
||||
}
|
||||
else
|
||||
{
|
||||
((L2Summon) effected).doAutoAttack(effector);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
effected.getAI().setIntention(CtrlIntention.AI_INTENTION_MOVE_TO, effected.getActingPlayer());
|
||||
effected.disableCoreAI(false);
|
||||
}
|
||||
}
|
||||
else
|
||||
|
@@ -73,11 +73,18 @@ public final class BlockActions extends AbstractEffect
|
||||
{
|
||||
if ((effector != null) && !effector.isDead())
|
||||
{
|
||||
((L2Summon) effected).doAutoAttack(effector);
|
||||
if (effector.isPlayable() && (effected.getActingPlayer().getPvpFlag() == 0))
|
||||
{
|
||||
effected.disableCoreAI(false);
|
||||
}
|
||||
else
|
||||
{
|
||||
((L2Summon) effected).doAutoAttack(effector);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
effected.getAI().setIntention(CtrlIntention.AI_INTENTION_MOVE_TO, effected.getActingPlayer());
|
||||
effected.disableCoreAI(false);
|
||||
}
|
||||
}
|
||||
else
|
||||
|
@@ -73,11 +73,18 @@ public final class BlockActions extends AbstractEffect
|
||||
{
|
||||
if ((effector != null) && !effector.isDead())
|
||||
{
|
||||
((L2Summon) effected).doAutoAttack(effector);
|
||||
if (effector.isPlayable() && (effected.getActingPlayer().getPvpFlag() == 0))
|
||||
{
|
||||
effected.disableCoreAI(false);
|
||||
}
|
||||
else
|
||||
{
|
||||
((L2Summon) effected).doAutoAttack(effector);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
effected.getAI().setIntention(CtrlIntention.AI_INTENTION_MOVE_TO, effected.getActingPlayer());
|
||||
effected.disableCoreAI(false);
|
||||
}
|
||||
}
|
||||
else
|
||||
|
@@ -73,11 +73,18 @@ public final class BlockActions extends AbstractEffect
|
||||
{
|
||||
if ((effector != null) && !effector.isDead())
|
||||
{
|
||||
((L2Summon) effected).doAutoAttack(effector);
|
||||
if (effector.isPlayable() && (effected.getActingPlayer().getPvpFlag() == 0))
|
||||
{
|
||||
effected.disableCoreAI(false);
|
||||
}
|
||||
else
|
||||
{
|
||||
((L2Summon) effected).doAutoAttack(effector);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
effected.getAI().setIntention(CtrlIntention.AI_INTENTION_MOVE_TO, effected.getActingPlayer());
|
||||
effected.disableCoreAI(false);
|
||||
}
|
||||
}
|
||||
else
|
||||
|
Reference in New Issue
Block a user