Remove buffs from skills that are blocked in olympiad.

This commit is contained in:
MobiusDevelopment
2020-03-31 09:17:07 +00:00
parent 51e53be08f
commit bd1fb2afbe
15 changed files with 75 additions and 0 deletions

View File

@@ -203,6 +203,7 @@ public abstract class AbstractOlympiadGame
// Remove Buffs
player.stopAllEffectsExceptThoseThatLastThroughDeath();
player.getEffectList().stopEffects(info -> info.getSkill().isBlockedInOlympiad(), true, true);
// Remove Clan Skills
if (player.getClan() != null)
@@ -241,6 +242,7 @@ public abstract class AbstractOlympiadGame
player.getServitors().values().forEach(s ->
{
s.stopAllEffectsExceptThoseThatLastThroughDeath();
s.getEffectList().stopEffects(info -> info.getSkill().isBlockedInOlympiad(), true, true);
s.abortAttack();
s.abortCast();
});
@@ -308,6 +310,7 @@ public abstract class AbstractOlympiadGame
}
player.stopAllEffectsExceptThoseThatLastThroughDeath();
player.getEffectList().stopEffects(info -> info.getSkill().isBlockedInOlympiad(), true, true);
player.clearSouls();
player.clearCharges();
if (player.getAgathionId() > 0)
@@ -322,6 +325,7 @@ public abstract class AbstractOlympiadGame
pet.abortCast();
pet.getAI().setIntention(CtrlIntention.AI_INTENTION_IDLE);
pet.stopAllEffectsExceptThoseThatLastThroughDeath();
pet.getEffectList().stopEffects(info -> info.getSkill().isBlockedInOlympiad(), true, true);
}
player.getServitors().values().stream().filter(s -> !s.isDead()).forEach(s ->
@@ -331,6 +335,7 @@ public abstract class AbstractOlympiadGame
s.abortCast();
s.getAI().setIntention(CtrlIntention.AI_INTENTION_IDLE);
s.stopAllEffectsExceptThoseThatLastThroughDeath();
s.getEffectList().stopEffects(info -> info.getSkill().isBlockedInOlympiad(), true, true);
});
player.setCurrentCp(player.getMaxCp());

View File

@@ -203,6 +203,7 @@ public abstract class AbstractOlympiadGame
// Remove Buffs
player.stopAllEffectsExceptThoseThatLastThroughDeath();
player.getEffectList().stopEffects(info -> info.getSkill().isBlockedInOlympiad(), true, true);
// Remove Clan Skills
if (player.getClan() != null)
@@ -241,6 +242,7 @@ public abstract class AbstractOlympiadGame
player.getServitors().values().forEach(s ->
{
s.stopAllEffectsExceptThoseThatLastThroughDeath();
s.getEffectList().stopEffects(info -> info.getSkill().isBlockedInOlympiad(), true, true);
s.abortAttack();
s.abortCast();
});
@@ -308,6 +310,7 @@ public abstract class AbstractOlympiadGame
}
player.stopAllEffectsExceptThoseThatLastThroughDeath();
player.getEffectList().stopEffects(info -> info.getSkill().isBlockedInOlympiad(), true, true);
player.clearSouls();
player.clearCharges();
if (player.getAgathionId() > 0)
@@ -322,6 +325,7 @@ public abstract class AbstractOlympiadGame
pet.abortCast();
pet.getAI().setIntention(CtrlIntention.AI_INTENTION_IDLE);
pet.stopAllEffectsExceptThoseThatLastThroughDeath();
pet.getEffectList().stopEffects(info -> info.getSkill().isBlockedInOlympiad(), true, true);
}
player.getServitors().values().stream().filter(s -> !s.isDead()).forEach(s ->
@@ -331,6 +335,7 @@ public abstract class AbstractOlympiadGame
s.abortCast();
s.getAI().setIntention(CtrlIntention.AI_INTENTION_IDLE);
s.stopAllEffectsExceptThoseThatLastThroughDeath();
s.getEffectList().stopEffects(info -> info.getSkill().isBlockedInOlympiad(), true, true);
});
player.setCurrentCp(player.getMaxCp());

View File

@@ -203,6 +203,7 @@ public abstract class AbstractOlympiadGame
// Remove Buffs
player.stopAllEffectsExceptThoseThatLastThroughDeath();
player.getEffectList().stopEffects(info -> info.getSkill().isBlockedInOlympiad(), true, true);
// Remove Clan Skills
if (player.getClan() != null)
@@ -241,6 +242,7 @@ public abstract class AbstractOlympiadGame
player.getServitors().values().forEach(s ->
{
s.stopAllEffectsExceptThoseThatLastThroughDeath();
s.getEffectList().stopEffects(info -> info.getSkill().isBlockedInOlympiad(), true, true);
s.abortAttack();
s.abortCast();
});
@@ -308,6 +310,7 @@ public abstract class AbstractOlympiadGame
}
player.stopAllEffectsExceptThoseThatLastThroughDeath();
player.getEffectList().stopEffects(info -> info.getSkill().isBlockedInOlympiad(), true, true);
player.clearSouls();
player.clearCharges();
if (player.getAgathionId() > 0)
@@ -322,6 +325,7 @@ public abstract class AbstractOlympiadGame
pet.abortCast();
pet.getAI().setIntention(CtrlIntention.AI_INTENTION_IDLE);
pet.stopAllEffectsExceptThoseThatLastThroughDeath();
pet.getEffectList().stopEffects(info -> info.getSkill().isBlockedInOlympiad(), true, true);
}
player.getServitors().values().stream().filter(s -> !s.isDead()).forEach(s ->
@@ -331,6 +335,7 @@ public abstract class AbstractOlympiadGame
s.abortCast();
s.getAI().setIntention(CtrlIntention.AI_INTENTION_IDLE);
s.stopAllEffectsExceptThoseThatLastThroughDeath();
s.getEffectList().stopEffects(info -> info.getSkill().isBlockedInOlympiad(), true, true);
});
player.setCurrentCp(player.getMaxCp());

View File

@@ -203,6 +203,7 @@ public abstract class AbstractOlympiadGame
// Remove Buffs
player.stopAllEffectsExceptThoseThatLastThroughDeath();
player.getEffectList().stopEffects(info -> info.getSkill().isBlockedInOlympiad(), true, true);
// Remove Clan Skills
if (player.getClan() != null)
@@ -241,6 +242,7 @@ public abstract class AbstractOlympiadGame
player.getServitors().values().forEach(s ->
{
s.stopAllEffectsExceptThoseThatLastThroughDeath();
s.getEffectList().stopEffects(info -> info.getSkill().isBlockedInOlympiad(), true, true);
s.abortAttack();
s.abortCast();
});
@@ -308,6 +310,7 @@ public abstract class AbstractOlympiadGame
}
player.stopAllEffectsExceptThoseThatLastThroughDeath();
player.getEffectList().stopEffects(info -> info.getSkill().isBlockedInOlympiad(), true, true);
player.clearSouls();
player.clearCharges();
if (player.getAgathionId() > 0)
@@ -322,6 +325,7 @@ public abstract class AbstractOlympiadGame
pet.abortCast();
pet.getAI().setIntention(CtrlIntention.AI_INTENTION_IDLE);
pet.stopAllEffectsExceptThoseThatLastThroughDeath();
pet.getEffectList().stopEffects(info -> info.getSkill().isBlockedInOlympiad(), true, true);
}
player.getServitors().values().stream().filter(s -> !s.isDead()).forEach(s ->
@@ -331,6 +335,7 @@ public abstract class AbstractOlympiadGame
s.abortCast();
s.getAI().setIntention(CtrlIntention.AI_INTENTION_IDLE);
s.stopAllEffectsExceptThoseThatLastThroughDeath();
s.getEffectList().stopEffects(info -> info.getSkill().isBlockedInOlympiad(), true, true);
});
player.setCurrentCp(player.getMaxCp());

View File

@@ -203,6 +203,7 @@ public abstract class AbstractOlympiadGame
// Remove Buffs
player.stopAllEffectsExceptThoseThatLastThroughDeath();
player.getEffectList().stopEffects(info -> info.getSkill().isBlockedInOlympiad(), true, true);
// Remove Clan Skills
if (player.getClan() != null)
@@ -241,6 +242,7 @@ public abstract class AbstractOlympiadGame
player.getServitors().values().forEach(s ->
{
s.stopAllEffectsExceptThoseThatLastThroughDeath();
s.getEffectList().stopEffects(info -> info.getSkill().isBlockedInOlympiad(), true, true);
s.abortAttack();
s.abortCast();
});
@@ -308,6 +310,7 @@ public abstract class AbstractOlympiadGame
}
player.stopAllEffectsExceptThoseThatLastThroughDeath();
player.getEffectList().stopEffects(info -> info.getSkill().isBlockedInOlympiad(), true, true);
player.clearSouls();
player.clearCharges();
if (player.getAgathionId() > 0)
@@ -322,6 +325,7 @@ public abstract class AbstractOlympiadGame
pet.abortCast();
pet.getAI().setIntention(CtrlIntention.AI_INTENTION_IDLE);
pet.stopAllEffectsExceptThoseThatLastThroughDeath();
pet.getEffectList().stopEffects(info -> info.getSkill().isBlockedInOlympiad(), true, true);
}
player.getServitors().values().stream().filter(s -> !s.isDead()).forEach(s ->
@@ -331,6 +335,7 @@ public abstract class AbstractOlympiadGame
s.abortCast();
s.getAI().setIntention(CtrlIntention.AI_INTENTION_IDLE);
s.stopAllEffectsExceptThoseThatLastThroughDeath();
s.getEffectList().stopEffects(info -> info.getSkill().isBlockedInOlympiad(), true, true);
});
player.setCurrentCp(player.getMaxCp());

View File

@@ -203,6 +203,7 @@ public abstract class AbstractOlympiadGame
// Remove Buffs
player.stopAllEffectsExceptThoseThatLastThroughDeath();
player.getEffectList().stopEffects(info -> info.getSkill().isBlockedInOlympiad(), true, true);
// Remove Clan Skills
if (player.getClan() != null)
@@ -241,6 +242,7 @@ public abstract class AbstractOlympiadGame
player.getServitors().values().forEach(s ->
{
s.stopAllEffectsExceptThoseThatLastThroughDeath();
s.getEffectList().stopEffects(info -> info.getSkill().isBlockedInOlympiad(), true, true);
s.abortAttack();
s.abortCast();
});
@@ -308,6 +310,7 @@ public abstract class AbstractOlympiadGame
}
player.stopAllEffectsExceptThoseThatLastThroughDeath();
player.getEffectList().stopEffects(info -> info.getSkill().isBlockedInOlympiad(), true, true);
player.clearSouls();
player.clearCharges();
if (player.getAgathionId() > 0)
@@ -322,6 +325,7 @@ public abstract class AbstractOlympiadGame
pet.abortCast();
pet.getAI().setIntention(CtrlIntention.AI_INTENTION_IDLE);
pet.stopAllEffectsExceptThoseThatLastThroughDeath();
pet.getEffectList().stopEffects(info -> info.getSkill().isBlockedInOlympiad(), true, true);
}
player.getServitors().values().stream().filter(s -> !s.isDead()).forEach(s ->
@@ -331,6 +335,7 @@ public abstract class AbstractOlympiadGame
s.abortCast();
s.getAI().setIntention(CtrlIntention.AI_INTENTION_IDLE);
s.stopAllEffectsExceptThoseThatLastThroughDeath();
s.getEffectList().stopEffects(info -> info.getSkill().isBlockedInOlympiad(), true, true);
});
player.setCurrentCp(player.getMaxCp());

View File

@@ -203,6 +203,7 @@ public abstract class AbstractOlympiadGame
// Remove Buffs
player.stopAllEffectsExceptThoseThatLastThroughDeath();
player.getEffectList().stopEffects(info -> info.getSkill().isBlockedInOlympiad(), true, true);
// Remove Clan Skills
if (player.getClan() != null)
@@ -241,6 +242,7 @@ public abstract class AbstractOlympiadGame
player.getServitors().values().forEach(s ->
{
s.stopAllEffectsExceptThoseThatLastThroughDeath();
s.getEffectList().stopEffects(info -> info.getSkill().isBlockedInOlympiad(), true, true);
s.abortAttack();
s.abortCast();
});
@@ -308,6 +310,7 @@ public abstract class AbstractOlympiadGame
}
player.stopAllEffectsExceptThoseThatLastThroughDeath();
player.getEffectList().stopEffects(info -> info.getSkill().isBlockedInOlympiad(), true, true);
player.clearSouls();
player.clearCharges();
if (player.getAgathionId() > 0)
@@ -322,6 +325,7 @@ public abstract class AbstractOlympiadGame
pet.abortCast();
pet.getAI().setIntention(CtrlIntention.AI_INTENTION_IDLE);
pet.stopAllEffectsExceptThoseThatLastThroughDeath();
pet.getEffectList().stopEffects(info -> info.getSkill().isBlockedInOlympiad(), true, true);
}
player.getServitors().values().stream().filter(s -> !s.isDead()).forEach(s ->
@@ -331,6 +335,7 @@ public abstract class AbstractOlympiadGame
s.abortCast();
s.getAI().setIntention(CtrlIntention.AI_INTENTION_IDLE);
s.stopAllEffectsExceptThoseThatLastThroughDeath();
s.getEffectList().stopEffects(info -> info.getSkill().isBlockedInOlympiad(), true, true);
});
player.setCurrentCp(player.getMaxCp());

View File

@@ -203,6 +203,7 @@ public abstract class AbstractOlympiadGame
// Remove Buffs
player.stopAllEffectsExceptThoseThatLastThroughDeath();
player.getEffectList().stopEffects(info -> info.getSkill().isBlockedInOlympiad(), true, true);
// Remove Clan Skills
if (player.getClan() != null)
@@ -241,6 +242,7 @@ public abstract class AbstractOlympiadGame
player.getServitors().values().forEach(s ->
{
s.stopAllEffectsExceptThoseThatLastThroughDeath();
s.getEffectList().stopEffects(info -> info.getSkill().isBlockedInOlympiad(), true, true);
s.abortAttack();
s.abortCast();
});
@@ -308,6 +310,7 @@ public abstract class AbstractOlympiadGame
}
player.stopAllEffectsExceptThoseThatLastThroughDeath();
player.getEffectList().stopEffects(info -> info.getSkill().isBlockedInOlympiad(), true, true);
player.clearSouls();
player.clearCharges();
if (player.getAgathionId() > 0)
@@ -322,6 +325,7 @@ public abstract class AbstractOlympiadGame
pet.abortCast();
pet.getAI().setIntention(CtrlIntention.AI_INTENTION_IDLE);
pet.stopAllEffectsExceptThoseThatLastThroughDeath();
pet.getEffectList().stopEffects(info -> info.getSkill().isBlockedInOlympiad(), true, true);
}
player.getServitors().values().stream().filter(s -> !s.isDead()).forEach(s ->
@@ -331,6 +335,7 @@ public abstract class AbstractOlympiadGame
s.abortCast();
s.getAI().setIntention(CtrlIntention.AI_INTENTION_IDLE);
s.stopAllEffectsExceptThoseThatLastThroughDeath();
s.getEffectList().stopEffects(info -> info.getSkill().isBlockedInOlympiad(), true, true);
});
player.setCurrentCp(player.getMaxCp());

View File

@@ -203,6 +203,7 @@ public abstract class AbstractOlympiadGame
// Remove Buffs
player.stopAllEffectsExceptThoseThatLastThroughDeath();
player.getEffectList().stopEffects(info -> info.getSkill().isBlockedInOlympiad(), true, true);
// Remove Clan Skills
if (player.getClan() != null)
@@ -241,6 +242,7 @@ public abstract class AbstractOlympiadGame
player.getServitors().values().forEach(s ->
{
s.stopAllEffectsExceptThoseThatLastThroughDeath();
s.getEffectList().stopEffects(info -> info.getSkill().isBlockedInOlympiad(), true, true);
s.abortAttack();
s.abortCast();
});
@@ -308,6 +310,7 @@ public abstract class AbstractOlympiadGame
}
player.stopAllEffectsExceptThoseThatLastThroughDeath();
player.getEffectList().stopEffects(info -> info.getSkill().isBlockedInOlympiad(), true, true);
player.clearSouls();
player.clearCharges();
if (player.getAgathionId() > 0)
@@ -322,6 +325,7 @@ public abstract class AbstractOlympiadGame
pet.abortCast();
pet.getAI().setIntention(CtrlIntention.AI_INTENTION_IDLE);
pet.stopAllEffectsExceptThoseThatLastThroughDeath();
pet.getEffectList().stopEffects(info -> info.getSkill().isBlockedInOlympiad(), true, true);
}
player.getServitors().values().stream().filter(s -> !s.isDead()).forEach(s ->
@@ -331,6 +335,7 @@ public abstract class AbstractOlympiadGame
s.abortCast();
s.getAI().setIntention(CtrlIntention.AI_INTENTION_IDLE);
s.stopAllEffectsExceptThoseThatLastThroughDeath();
s.getEffectList().stopEffects(info -> info.getSkill().isBlockedInOlympiad(), true, true);
});
player.setCurrentCp(player.getMaxCp());

View File

@@ -203,6 +203,7 @@ public abstract class AbstractOlympiadGame
// Remove Buffs
player.stopAllEffectsExceptThoseThatLastThroughDeath();
player.getEffectList().stopEffects(info -> info.getSkill().isBlockedInOlympiad(), true, true);
// Remove Clan Skills
if (player.getClan() != null)
@@ -241,6 +242,7 @@ public abstract class AbstractOlympiadGame
player.getServitors().values().forEach(s ->
{
s.stopAllEffectsExceptThoseThatLastThroughDeath();
s.getEffectList().stopEffects(info -> info.getSkill().isBlockedInOlympiad(), true, true);
s.abortAttack();
s.abortCast();
});
@@ -308,6 +310,7 @@ public abstract class AbstractOlympiadGame
}
player.stopAllEffectsExceptThoseThatLastThroughDeath();
player.getEffectList().stopEffects(info -> info.getSkill().isBlockedInOlympiad(), true, true);
player.clearSouls();
player.clearCharges();
if (player.getAgathionId() > 0)
@@ -322,6 +325,7 @@ public abstract class AbstractOlympiadGame
pet.abortCast();
pet.getAI().setIntention(CtrlIntention.AI_INTENTION_IDLE);
pet.stopAllEffectsExceptThoseThatLastThroughDeath();
pet.getEffectList().stopEffects(info -> info.getSkill().isBlockedInOlympiad(), true, true);
}
player.getServitors().values().stream().filter(s -> !s.isDead()).forEach(s ->
@@ -331,6 +335,7 @@ public abstract class AbstractOlympiadGame
s.abortCast();
s.getAI().setIntention(CtrlIntention.AI_INTENTION_IDLE);
s.stopAllEffectsExceptThoseThatLastThroughDeath();
s.getEffectList().stopEffects(info -> info.getSkill().isBlockedInOlympiad(), true, true);
});
player.setCurrentCp(player.getMaxCp());

View File

@@ -203,6 +203,7 @@ public abstract class AbstractOlympiadGame
// Remove Buffs
player.stopAllEffectsExceptThoseThatLastThroughDeath();
player.getEffectList().stopEffects(info -> info.getSkill().isBlockedInOlympiad(), true, true);
// Remove Clan Skills
if (player.getClan() != null)
@@ -241,6 +242,7 @@ public abstract class AbstractOlympiadGame
player.getServitors().values().forEach(s ->
{
s.stopAllEffectsExceptThoseThatLastThroughDeath();
s.getEffectList().stopEffects(info -> info.getSkill().isBlockedInOlympiad(), true, true);
s.abortAttack();
s.abortCast();
});
@@ -308,6 +310,7 @@ public abstract class AbstractOlympiadGame
}
player.stopAllEffectsExceptThoseThatLastThroughDeath();
player.getEffectList().stopEffects(info -> info.getSkill().isBlockedInOlympiad(), true, true);
player.clearSouls();
player.clearCharges();
if (player.getAgathionId() > 0)
@@ -322,6 +325,7 @@ public abstract class AbstractOlympiadGame
pet.abortCast();
pet.getAI().setIntention(CtrlIntention.AI_INTENTION_IDLE);
pet.stopAllEffectsExceptThoseThatLastThroughDeath();
pet.getEffectList().stopEffects(info -> info.getSkill().isBlockedInOlympiad(), true, true);
}
player.getServitors().values().stream().filter(s -> !s.isDead()).forEach(s ->
@@ -331,6 +335,7 @@ public abstract class AbstractOlympiadGame
s.abortCast();
s.getAI().setIntention(CtrlIntention.AI_INTENTION_IDLE);
s.stopAllEffectsExceptThoseThatLastThroughDeath();
s.getEffectList().stopEffects(info -> info.getSkill().isBlockedInOlympiad(), true, true);
});
player.setCurrentCp(player.getMaxCp());

View File

@@ -203,6 +203,7 @@ public abstract class AbstractOlympiadGame
// Remove Buffs
player.stopAllEffectsExceptThoseThatLastThroughDeath();
player.getEffectList().stopEffects(info -> info.getSkill().isBlockedInOlympiad(), true, true);
// Remove Clan Skills
if (player.getClan() != null)
@@ -241,6 +242,7 @@ public abstract class AbstractOlympiadGame
player.getServitors().values().forEach(s ->
{
s.stopAllEffectsExceptThoseThatLastThroughDeath();
s.getEffectList().stopEffects(info -> info.getSkill().isBlockedInOlympiad(), true, true);
s.abortAttack();
s.abortCast();
});
@@ -308,6 +310,7 @@ public abstract class AbstractOlympiadGame
}
player.stopAllEffectsExceptThoseThatLastThroughDeath();
player.getEffectList().stopEffects(info -> info.getSkill().isBlockedInOlympiad(), true, true);
player.clearSouls();
player.clearCharges();
if (player.getAgathionId() > 0)
@@ -322,6 +325,7 @@ public abstract class AbstractOlympiadGame
pet.abortCast();
pet.getAI().setIntention(CtrlIntention.AI_INTENTION_IDLE);
pet.stopAllEffectsExceptThoseThatLastThroughDeath();
pet.getEffectList().stopEffects(info -> info.getSkill().isBlockedInOlympiad(), true, true);
}
player.getServitors().values().stream().filter(s -> !s.isDead()).forEach(s ->
@@ -331,6 +335,7 @@ public abstract class AbstractOlympiadGame
s.abortCast();
s.getAI().setIntention(CtrlIntention.AI_INTENTION_IDLE);
s.stopAllEffectsExceptThoseThatLastThroughDeath();
s.getEffectList().stopEffects(info -> info.getSkill().isBlockedInOlympiad(), true, true);
});
player.setCurrentCp(player.getMaxCp());

View File

@@ -203,6 +203,7 @@ public abstract class AbstractOlympiadGame
// Remove Buffs
player.stopAllEffectsExceptThoseThatLastThroughDeath();
player.getEffectList().stopEffects(info -> info.getSkill().isBlockedInOlympiad(), true, true);
// Remove Clan Skills
if (player.getClan() != null)
@@ -241,6 +242,7 @@ public abstract class AbstractOlympiadGame
player.getServitors().values().forEach(s ->
{
s.stopAllEffectsExceptThoseThatLastThroughDeath();
s.getEffectList().stopEffects(info -> info.getSkill().isBlockedInOlympiad(), true, true);
s.abortAttack();
s.abortCast();
});
@@ -308,6 +310,7 @@ public abstract class AbstractOlympiadGame
}
player.stopAllEffectsExceptThoseThatLastThroughDeath();
player.getEffectList().stopEffects(info -> info.getSkill().isBlockedInOlympiad(), true, true);
player.clearSouls();
player.clearCharges();
if (player.getAgathionId() > 0)
@@ -322,6 +325,7 @@ public abstract class AbstractOlympiadGame
pet.abortCast();
pet.getAI().setIntention(CtrlIntention.AI_INTENTION_IDLE);
pet.stopAllEffectsExceptThoseThatLastThroughDeath();
pet.getEffectList().stopEffects(info -> info.getSkill().isBlockedInOlympiad(), true, true);
}
player.getServitors().values().stream().filter(s -> !s.isDead()).forEach(s ->
@@ -331,6 +335,7 @@ public abstract class AbstractOlympiadGame
s.abortCast();
s.getAI().setIntention(CtrlIntention.AI_INTENTION_IDLE);
s.stopAllEffectsExceptThoseThatLastThroughDeath();
s.getEffectList().stopEffects(info -> info.getSkill().isBlockedInOlympiad(), true, true);
});
player.setCurrentCp(player.getMaxCp());

View File

@@ -203,6 +203,7 @@ public abstract class AbstractOlympiadGame
// Remove Buffs
player.stopAllEffectsExceptThoseThatLastThroughDeath();
player.getEffectList().stopEffects(info -> info.getSkill().isBlockedInOlympiad(), true, true);
// Remove Clan Skills
if (player.getClan() != null)
@@ -241,6 +242,7 @@ public abstract class AbstractOlympiadGame
player.getServitors().values().forEach(s ->
{
s.stopAllEffectsExceptThoseThatLastThroughDeath();
s.getEffectList().stopEffects(info -> info.getSkill().isBlockedInOlympiad(), true, true);
s.abortAttack();
s.abortCast();
});
@@ -308,6 +310,7 @@ public abstract class AbstractOlympiadGame
}
player.stopAllEffectsExceptThoseThatLastThroughDeath();
player.getEffectList().stopEffects(info -> info.getSkill().isBlockedInOlympiad(), true, true);
player.clearSouls();
player.clearCharges();
if (player.getAgathionId() > 0)
@@ -322,6 +325,7 @@ public abstract class AbstractOlympiadGame
pet.abortCast();
pet.getAI().setIntention(CtrlIntention.AI_INTENTION_IDLE);
pet.stopAllEffectsExceptThoseThatLastThroughDeath();
pet.getEffectList().stopEffects(info -> info.getSkill().isBlockedInOlympiad(), true, true);
}
player.getServitors().values().stream().filter(s -> !s.isDead()).forEach(s ->
@@ -331,6 +335,7 @@ public abstract class AbstractOlympiadGame
s.abortCast();
s.getAI().setIntention(CtrlIntention.AI_INTENTION_IDLE);
s.stopAllEffectsExceptThoseThatLastThroughDeath();
s.getEffectList().stopEffects(info -> info.getSkill().isBlockedInOlympiad(), true, true);
});
player.setCurrentCp(player.getMaxCp());

View File

@@ -203,6 +203,7 @@ public abstract class AbstractOlympiadGame
// Remove Buffs
player.stopAllEffectsExceptThoseThatLastThroughDeath();
player.getEffectList().stopEffects(info -> info.getSkill().isBlockedInOlympiad(), true, true);
// Remove Clan Skills
if (player.getClan() != null)
@@ -241,6 +242,7 @@ public abstract class AbstractOlympiadGame
player.getServitors().values().forEach(s ->
{
s.stopAllEffectsExceptThoseThatLastThroughDeath();
s.getEffectList().stopEffects(info -> info.getSkill().isBlockedInOlympiad(), true, true);
s.abortAttack();
s.abortCast();
});
@@ -308,6 +310,7 @@ public abstract class AbstractOlympiadGame
}
player.stopAllEffectsExceptThoseThatLastThroughDeath();
player.getEffectList().stopEffects(info -> info.getSkill().isBlockedInOlympiad(), true, true);
player.clearSouls();
player.clearCharges();
if (player.getAgathionId() > 0)
@@ -322,6 +325,7 @@ public abstract class AbstractOlympiadGame
pet.abortCast();
pet.getAI().setIntention(CtrlIntention.AI_INTENTION_IDLE);
pet.stopAllEffectsExceptThoseThatLastThroughDeath();
pet.getEffectList().stopEffects(info -> info.getSkill().isBlockedInOlympiad(), true, true);
}
player.getServitors().values().stream().filter(s -> !s.isDead()).forEach(s ->
@@ -331,6 +335,7 @@ public abstract class AbstractOlympiadGame
s.abortCast();
s.getAI().setIntention(CtrlIntention.AI_INTENTION_IDLE);
s.stopAllEffectsExceptThoseThatLastThroughDeath();
s.getEffectList().stopEffects(info -> info.getSkill().isBlockedInOlympiad(), true, true);
});
player.setCurrentCp(player.getMaxCp());