diff --git a/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/wizards/Wizards.java b/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/wizards/Wizards.java index 36b4d7491..a7c2909c6 100644 --- a/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/wizards/Wizards.java +++ b/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/wizards/Wizards.java @@ -40,7 +40,6 @@ import nautilus.game.arcade.game.games.wizards.kit.KitMage; import nautilus.game.arcade.game.games.wizards.kit.KitMystic; import nautilus.game.arcade.game.games.wizards.kit.KitSorcerer; import nautilus.game.arcade.game.games.wizards.kit.KitWitchDoctor; -import nautilus.game.arcade.game.games.wizards.kit.KitMage; import nautilus.game.arcade.game.games.wizards.spellinterfaces.SpellClick; import nautilus.game.arcade.game.games.wizards.spellinterfaces.SpellClickBlock; import nautilus.game.arcade.game.games.wizards.spellinterfaces.SpellClickEntity; @@ -136,8 +135,8 @@ public class Wizards extends SoloGame new KitMystic(manager), new KitWitchDoctor(manager), - - // new KitWarlock(manager) + + // new KitWarlock(manager) }); _wizard = new WizardSpellMenu("Wizard Spell Menu", getArcadeManager().GetPlugin(), this); @@ -1032,18 +1031,21 @@ public class Wizards extends SoloGame if (kit instanceof KitMage) { - for (int i = 0; i < 100; i++) + for (int a = 0; a < 2; a++) { - SpellType spell = SpellType.values()[UtilMath.r(SpellType.values().length)]; - - if (wizard.getSpellLevel(spell) < spell.getMaxLevel()) + for (int i = 0; i < 100; i++) { - onSpellLearn(player, spell); + SpellType spell = SpellType.values()[UtilMath.r(SpellType.values().length)]; - UtilTextMiddle.display("", spell.getElement().getColor() + spell.getSpellName() + " leveled to " - + spell.getElement().getColor() + wizard.getSpellLevel(spell), 5, 40, 5, player); + if (wizard.getSpellLevel(spell) < spell.getMaxLevel()) + { + onSpellLearn(player, spell); - break; + addMiddleText(player, spell.getElement().getColor() + spell.getSpellName() + " leveled to " + + spell.getElement().getColor() + wizard.getSpellLevel(spell)); + + break; + } } } } diff --git a/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/wizards/kit/KitMage.java b/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/wizards/kit/KitMage.java index 9b3a367eb..5372ce4cf 100644 --- a/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/wizards/kit/KitMage.java +++ b/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/wizards/kit/KitMage.java @@ -19,7 +19,7 @@ public class KitMage extends Kit { super(manager, "Mage", KitAvailability.Free, new String[] { - "Start with an extra spell" + "Start with two extra spells" }, new Perk[0], EntityType.WITCH, new ItemStack(Material.BLAZE_ROD)); }