public static boolean run(String[] args, MobFightPlayer player) { if (args.length == 2) { if (player.isPlaying()) { player.kick(); player.sendMessage("You've been kicked from game '" + player.getGame().getName() + "'"); } } return false; }
@Override public void specialAttack(MobFightPlayer victim) { player.damage(5); if (player.getCraftPlayer().isDead()) { player.sendMessage(ChatColor.RED + "You crushed into him too hard and killed yourself!"); return; } else { victim.damage(getSpecialAttackDamage()); victim.getCraftPlayer().getLocation().add(0, 6, 0); } }