Should remove all buffs before moving player to the match.
Contributed by Sero.
This commit is contained in:
		| @@ -149,6 +149,7 @@ public class CeremonyOfChaosEvent extends AbstractEvent<CeremonyOfChaosMember> | ||||
| 			 | ||||
| 			// Remove buffs | ||||
| 			player.stopAllEffectsExceptThoseThatLastThroughDeath(); | ||||
| 			player.getEffectList().stopEffects(info -> info.getSkill().isBlockedInOlympiad(), true, true); | ||||
| 			 | ||||
| 			// Player shouldn't be able to move and is hidden | ||||
| 			player.setImmobilized(true); | ||||
|   | ||||
| @@ -153,6 +153,7 @@ public class CeremonyOfChaosEvent extends AbstractEvent<CeremonyOfChaosMember> | ||||
| 			 | ||||
| 			// Remove buffs | ||||
| 			player.stopAllEffectsExceptThoseThatLastThroughDeath(); | ||||
| 			player.getEffectList().stopEffects(info -> info.getSkill().isBlockedInOlympiad(), true, true); | ||||
| 			 | ||||
| 			// Player shouldn't be able to move and is hidden | ||||
| 			player.setImmobilized(true); | ||||
|   | ||||
| @@ -153,6 +153,7 @@ public class CeremonyOfChaosEvent extends AbstractEvent<CeremonyOfChaosMember> | ||||
| 			 | ||||
| 			// Remove buffs | ||||
| 			player.stopAllEffectsExceptThoseThatLastThroughDeath(); | ||||
| 			player.getEffectList().stopEffects(info -> info.getSkill().isBlockedInOlympiad(), true, true); | ||||
| 			 | ||||
| 			// Player shouldn't be able to move and is hidden | ||||
| 			player.setImmobilized(true); | ||||
|   | ||||
| @@ -153,6 +153,7 @@ public class CeremonyOfChaosEvent extends AbstractEvent<CeremonyOfChaosMember> | ||||
| 			 | ||||
| 			// Remove buffs | ||||
| 			player.stopAllEffectsExceptThoseThatLastThroughDeath(); | ||||
| 			player.getEffectList().stopEffects(info -> info.getSkill().isBlockedInOlympiad(), true, true); | ||||
| 			 | ||||
| 			// Player shouldn't be able to move and is hidden | ||||
| 			player.setImmobilized(true); | ||||
|   | ||||
| @@ -153,6 +153,7 @@ public class CeremonyOfChaosEvent extends AbstractEvent<CeremonyOfChaosMember> | ||||
| 			 | ||||
| 			// Remove buffs | ||||
| 			player.stopAllEffectsExceptThoseThatLastThroughDeath(); | ||||
| 			player.getEffectList().stopEffects(info -> info.getSkill().isBlockedInOlympiad(), true, true); | ||||
| 			 | ||||
| 			// Player shouldn't be able to move and is hidden | ||||
| 			player.setImmobilized(true); | ||||
|   | ||||
| @@ -153,6 +153,7 @@ public class CeremonyOfChaosEvent extends AbstractEvent<CeremonyOfChaosMember> | ||||
| 			 | ||||
| 			// Remove buffs | ||||
| 			player.stopAllEffectsExceptThoseThatLastThroughDeath(); | ||||
| 			player.getEffectList().stopEffects(info -> info.getSkill().isBlockedInOlympiad(), true, true); | ||||
| 			 | ||||
| 			// Player shouldn't be able to move and is hidden | ||||
| 			player.setImmobilized(true); | ||||
|   | ||||
| @@ -153,6 +153,7 @@ public class CeremonyOfChaosEvent extends AbstractEvent<CeremonyOfChaosMember> | ||||
| 			 | ||||
| 			// Remove buffs | ||||
| 			player.stopAllEffectsExceptThoseThatLastThroughDeath(); | ||||
| 			player.getEffectList().stopEffects(info -> info.getSkill().isBlockedInOlympiad(), true, true); | ||||
| 			 | ||||
| 			// Player shouldn't be able to move and is hidden | ||||
| 			player.setImmobilized(true); | ||||
|   | ||||
| @@ -153,6 +153,7 @@ public class CeremonyOfChaosEvent extends AbstractEvent<CeremonyOfChaosMember> | ||||
| 			 | ||||
| 			// Remove buffs | ||||
| 			player.stopAllEffectsExceptThoseThatLastThroughDeath(); | ||||
| 			player.getEffectList().stopEffects(info -> info.getSkill().isBlockedInOlympiad(), true, true); | ||||
| 			 | ||||
| 			// Player shouldn't be able to move and is hidden | ||||
| 			player.setImmobilized(true); | ||||
|   | ||||
| @@ -149,6 +149,7 @@ public class CeremonyOfChaosEvent extends AbstractEvent<CeremonyOfChaosMember> | ||||
| 			 | ||||
| 			// Remove buffs | ||||
| 			player.stopAllEffectsExceptThoseThatLastThroughDeath(); | ||||
| 			player.getEffectList().stopEffects(info -> info.getSkill().isBlockedInOlympiad(), true, true); | ||||
| 			 | ||||
| 			// Player shouldn't be able to move and is hidden | ||||
| 			player.setImmobilized(true); | ||||
|   | ||||
| @@ -149,6 +149,7 @@ public class CeremonyOfChaosEvent extends AbstractEvent<CeremonyOfChaosMember> | ||||
| 			 | ||||
| 			// Remove buffs | ||||
| 			player.stopAllEffectsExceptThoseThatLastThroughDeath(); | ||||
| 			player.getEffectList().stopEffects(info -> info.getSkill().isBlockedInOlympiad(), true, true); | ||||
| 			 | ||||
| 			// Player shouldn't be able to move and is hidden | ||||
| 			player.setImmobilized(true); | ||||
|   | ||||
| @@ -149,6 +149,7 @@ public class CeremonyOfChaosEvent extends AbstractEvent<CeremonyOfChaosMember> | ||||
| 			 | ||||
| 			// Remove buffs | ||||
| 			player.stopAllEffectsExceptThoseThatLastThroughDeath(); | ||||
| 			player.getEffectList().stopEffects(info -> info.getSkill().isBlockedInOlympiad(), true, true); | ||||
| 			 | ||||
| 			// Player shouldn't be able to move and is hidden | ||||
| 			player.setImmobilized(true); | ||||
|   | ||||
| @@ -149,6 +149,7 @@ public class CeremonyOfChaosEvent extends AbstractEvent<CeremonyOfChaosMember> | ||||
| 			 | ||||
| 			// Remove buffs | ||||
| 			player.stopAllEffectsExceptThoseThatLastThroughDeath(); | ||||
| 			player.getEffectList().stopEffects(info -> info.getSkill().isBlockedInOlympiad(), true, true); | ||||
| 			 | ||||
| 			// Player shouldn't be able to move and is hidden | ||||
| 			player.setImmobilized(true); | ||||
|   | ||||
| @@ -149,6 +149,7 @@ public class CeremonyOfChaosEvent extends AbstractEvent<CeremonyOfChaosMember> | ||||
| 			 | ||||
| 			// Remove buffs | ||||
| 			player.stopAllEffectsExceptThoseThatLastThroughDeath(); | ||||
| 			player.getEffectList().stopEffects(info -> info.getSkill().isBlockedInOlympiad(), true, true); | ||||
| 			 | ||||
| 			// Player shouldn't be able to move and is hidden | ||||
| 			player.setImmobilized(true); | ||||
|   | ||||
| @@ -149,6 +149,7 @@ public class CeremonyOfChaosEvent extends AbstractEvent<CeremonyOfChaosMember> | ||||
| 			 | ||||
| 			// Remove buffs | ||||
| 			player.stopAllEffectsExceptThoseThatLastThroughDeath(); | ||||
| 			player.getEffectList().stopEffects(info -> info.getSkill().isBlockedInOlympiad(), true, true); | ||||
| 			 | ||||
| 			// Player shouldn't be able to move and is hidden | ||||
| 			player.setImmobilized(true); | ||||
|   | ||||
| @@ -149,6 +149,7 @@ public class CeremonyOfChaosEvent extends AbstractEvent<CeremonyOfChaosMember> | ||||
| 			 | ||||
| 			// Remove buffs | ||||
| 			player.stopAllEffectsExceptThoseThatLastThroughDeath(); | ||||
| 			player.getEffectList().stopEffects(info -> info.getSkill().isBlockedInOlympiad(), true, true); | ||||
| 			 | ||||
| 			// Player shouldn't be able to move and is hidden | ||||
| 			player.setImmobilized(true); | ||||
|   | ||||
| @@ -149,6 +149,7 @@ public class CeremonyOfChaosEvent extends AbstractEvent<CeremonyOfChaosMember> | ||||
| 			 | ||||
| 			// Remove buffs | ||||
| 			player.stopAllEffectsExceptThoseThatLastThroughDeath(); | ||||
| 			player.getEffectList().stopEffects(info -> info.getSkill().isBlockedInOlympiad(), true, true); | ||||
| 			 | ||||
| 			// Player shouldn't be able to move and is hidden | ||||
| 			player.setImmobilized(true); | ||||
|   | ||||
| @@ -149,6 +149,7 @@ public class CeremonyOfChaosEvent extends AbstractEvent<CeremonyOfChaosMember> | ||||
| 			 | ||||
| 			// Remove buffs | ||||
| 			player.stopAllEffectsExceptThoseThatLastThroughDeath(); | ||||
| 			player.getEffectList().stopEffects(info -> info.getSkill().isBlockedInOlympiad(), true, true); | ||||
| 			 | ||||
| 			// Player shouldn't be able to move and is hidden | ||||
| 			player.setImmobilized(true); | ||||
|   | ||||
| @@ -149,6 +149,7 @@ public class CeremonyOfChaosEvent extends AbstractEvent<CeremonyOfChaosMember> | ||||
| 			 | ||||
| 			// Remove buffs | ||||
| 			player.stopAllEffectsExceptThoseThatLastThroughDeath(); | ||||
| 			player.getEffectList().stopEffects(info -> info.getSkill().isBlockedInOlympiad(), true, true); | ||||
| 			 | ||||
| 			// Player shouldn't be able to move and is hidden | ||||
| 			player.setImmobilized(true); | ||||
|   | ||||
| @@ -149,6 +149,7 @@ public class CeremonyOfChaosEvent extends AbstractEvent<CeremonyOfChaosMember> | ||||
| 			 | ||||
| 			// Remove buffs | ||||
| 			player.stopAllEffectsExceptThoseThatLastThroughDeath(); | ||||
| 			player.getEffectList().stopEffects(info -> info.getSkill().isBlockedInOlympiad(), true, true); | ||||
| 			 | ||||
| 			// Player shouldn't be able to move and is hidden | ||||
| 			player.setImmobilized(true); | ||||
|   | ||||
| @@ -149,6 +149,7 @@ public class CeremonyOfChaosEvent extends AbstractEvent<CeremonyOfChaosMember> | ||||
| 			 | ||||
| 			// Remove buffs | ||||
| 			player.stopAllEffectsExceptThoseThatLastThroughDeath(); | ||||
| 			player.getEffectList().stopEffects(info -> info.getSkill().isBlockedInOlympiad(), true, true); | ||||
| 			 | ||||
| 			// Player shouldn't be able to move and is hidden | ||||
| 			player.setImmobilized(true); | ||||
|   | ||||
| @@ -149,6 +149,7 @@ public class CeremonyOfChaosEvent extends AbstractEvent<CeremonyOfChaosMember> | ||||
| 			 | ||||
| 			// Remove buffs | ||||
| 			player.stopAllEffectsExceptThoseThatLastThroughDeath(); | ||||
| 			player.getEffectList().stopEffects(info -> info.getSkill().isBlockedInOlympiad(), true, true); | ||||
| 			 | ||||
| 			// Player shouldn't be able to move and is hidden | ||||
| 			player.setImmobilized(true); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 MobiusDevelopment
					MobiusDevelopment