evo fixes

This commit is contained in:
Mini-Chiss 2015-08-28 19:58:51 -07:00
parent ebd3fbe6d5
commit b5b8bef39e
2 changed files with 8 additions and 3 deletions

View File

@ -23,6 +23,7 @@ import mineplex.core.recharge.Recharge;
import mineplex.core.updater.UpdateType;
import mineplex.core.updater.event.UpdateEvent;
import mineplex.minecraft.game.core.combat.CombatComponent;
import mineplex.minecraft.game.core.combat.DeathMessageType;
import mineplex.minecraft.game.core.combat.CombatManager.AttackReason;
import mineplex.minecraft.game.core.combat.event.CombatDeathEvent;
import mineplex.minecraft.game.core.condition.Condition.ConditionType;
@ -146,8 +147,6 @@ public class Evolution extends SoloGame
CreatureAllow = false;
DeathMessages = false;
InventoryClick = false;
InventoryOpenBlock = false;
@ -785,4 +784,10 @@ public class Evolution extends SoloGame
Scoreboard.Draw();
}
@EventHandler
public void deathMsg(CombatDeathEvent event)
{
event.SetBroadcastType(DeathMessageType.Simple);
}
}

View File

@ -40,7 +40,7 @@ public class KitChicken extends EvoKit
new Perk[]
{
new PerkConstructor("Egg Pouch", 2.0, 3, Material.EGG,
"Egg Launcher Ammo", false), new PerkDoubleJumpEVO("Double Jump", 0.4, 0.9, false)
"Egg Launcher Ammo", false), new PerkDoubleJumpEVO("Double Jump", 0.6, 0.9, false)
}, EntityType.CHICKEN);
}