MobArena/abilities/ShootArrow.java

19 lines
469 B
Java
Raw Normal View History

2012-03-01 00:19:17 +01:00
import org.bukkit.entity.Arrow;
import com.garbagemule.MobArena.framework.Arena;
import com.garbagemule.MobArena.waves.MABoss;
import com.garbagemule.MobArena.waves.ability.*;
@AbilityInfo(
name = "Shoot Arrow",
aliases = {"arrow","arrows"}
)
public class ShootArrow implements Ability
{
@Override
public void execute(Arena arena, MABoss boss) {
//boss.getEntity().launchProjectile(Arrow.class);
boss.getEntity().shootArrow();
}
}