Package com.garbagemule.MobArena.waves.ability

Examples of com.garbagemule.MobArena.waves.ability.Ability


        // And the abilities.
        String ablts = config.getString("abilities");
        if (ablts != null) {
            String[] parts = ablts.split(",");
            for (String ability : parts) {
                Ability a = AbilityManager.getAbility(ability.trim());
                if (a == null) {
                    Messenger.warning(WaveError.BOSS_ABILITY.format(ability.trim(), name, arena.configName()));
                    continue;
                }
               
View Full Code Here


        for (MABoss boss : bosses) {
            if (boss.isDead()) return;
        }
       
        // Get the next ability in the list.
        Ability ability = abilities.get(counter++ % abilities.size());
       
        // And make each boss in this boss wave use it!
        for (MABoss boss : bosses) {
            wave.announceAbility(ability, boss, arena);
            ability.execute(arena, boss);
        }
       
        // Schedule for another run!
        arena.scheduleTask(this, wave.getAbilityInterval());
    }
View Full Code Here

TOP

Related Classes of com.garbagemule.MobArena.waves.ability.Ability

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.