Minor improvements.
This commit is contained in:
parent
cfdb0dfa4f
commit
a351a8f1ed
@ -23,6 +23,7 @@ import mineplex.core.recharge.Recharge;
|
|||||||
import mineplex.core.updater.UpdateType;
|
import mineplex.core.updater.UpdateType;
|
||||||
import mineplex.core.updater.event.UpdateEvent;
|
import mineplex.core.updater.event.UpdateEvent;
|
||||||
import mineplex.minecraft.game.core.combat.CombatComponent;
|
import mineplex.minecraft.game.core.combat.CombatComponent;
|
||||||
|
import mineplex.minecraft.game.core.combat.CombatManager.AttackReason;
|
||||||
import mineplex.minecraft.game.core.combat.event.CombatDeathEvent;
|
import mineplex.minecraft.game.core.combat.event.CombatDeathEvent;
|
||||||
import mineplex.minecraft.game.core.condition.Condition.ConditionType;
|
import mineplex.minecraft.game.core.condition.Condition.ConditionType;
|
||||||
import mineplex.minecraft.game.core.condition.ConditionActive;
|
import mineplex.minecraft.game.core.condition.ConditionActive;
|
||||||
@ -145,6 +146,8 @@ public class Evolution extends SoloGame
|
|||||||
|
|
||||||
DeathMessages = false;
|
DeathMessages = false;
|
||||||
|
|
||||||
|
Manager.GetDamage().GetCombatManager().setUseWeaponName(AttackReason.Attack);
|
||||||
|
|
||||||
registerStatTrackers(
|
registerStatTrackers(
|
||||||
new WinWithoutDyingStatTracker(this, "NoDeaths"),
|
new WinWithoutDyingStatTracker(this, "NoDeaths"),
|
||||||
new NoDamageWhileEvolvingTracker(this),
|
new NoDamageWhileEvolvingTracker(this),
|
||||||
@ -429,10 +432,11 @@ public class Evolution extends SoloGame
|
|||||||
|
|
||||||
if (_tokens.containsKey(player.getName()))
|
if (_tokens.containsKey(player.getName()))
|
||||||
{
|
{
|
||||||
int kills = _tokens.get(player.getName()).LifeKills++;
|
EvoToken token = _tokens.get(player.getName());
|
||||||
|
token.LifeKills++;
|
||||||
|
|
||||||
UtilPlayer.message(player, "");
|
UtilPlayer.message(player, "");
|
||||||
UtilPlayer.message(player, F.main("Game", F.elem(kills + " Kills") + " - " + F.elem(Math.min(1.0, 6.0 - (1.5 * (kills - 1))) + " Second ") + "evolve"));
|
UtilPlayer.message(player, F.main("Game", F.elem(token.LifeKills + " Kills") + " - " + F.elem(Math.min(1.0, 6.0 - (1.5 * (token.LifeKills - 1))) + " Second ") + "evolve speed" + (token.SupplementKit instanceof KitEvolveSpeed ? C.cGreen + " - 30% (Quick Evolver)" : "")));
|
||||||
UtilPlayer.message(player, "");
|
UtilPlayer.message(player, "");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user