MobArena/abilities/ShootFireball.java

18 lines
446 B
Java
Raw Normal View History

2012-03-01 00:19:17 +01:00
import org.bukkit.entity.Fireball;
import com.garbagemule.MobArena.framework.Arena;
import com.garbagemule.MobArena.waves.MABoss;
import com.garbagemule.MobArena.waves.ability.*;
@AbilityInfo(
name = "Shoot Fireball",
aliases = {"fireball","fireballs"}
)
public class ShootFireball implements Ability
{
@Override
public void execute(Arena arena, MABoss boss) {
2012-03-02 22:30:52 +01:00
boss.getEntity().launchProjectile(Fireball.class);
2012-03-01 00:19:17 +01:00
}
}