wizards kit availability

This commit is contained in:
Mini-Chiss 2015-05-01 00:47:51 -05:00
parent 88bd99e11f
commit ba5802cc14
7 changed files with 26 additions and 12 deletions

View File

@ -46,7 +46,7 @@ public class UtilTextBottom
amount = 1 - amount; amount = 1 - amount;
//Generate Bar //Generate Bar
int bars = 52; int bars = 24;
String progressBar = C.cGreen + ""; String progressBar = C.cGreen + "";
boolean colorChange = false; boolean colorChange = false;
for (int i=0 ; i<bars ; i++) for (int i=0 ; i<bars ; i++)
@ -57,7 +57,7 @@ public class UtilTextBottom
colorChange = true; colorChange = true;
} }
progressBar += "|"; progressBar += "";
} }
//Send to Player //Send to Player

View File

@ -84,13 +84,20 @@ public enum Achievement
new int[]{1}, new int[]{1},
AchievementCategory.SURVIVAL_GAMES), AchievementCategory.SURVIVAL_GAMES),
//Survival Games //UHC
UHC_WINS("Ultimate Winner", 600, UHC_WINS("Ultimate Winner", 600,
new String[]{"Ultra Hardcore.Wins"}, new String[]{"Ultra Hardcore.Wins"},
new String[]{"Win 10 games of Ultra Hardcore"}, new String[]{"Win 10 games of Ultra Hardcore"},
new int[]{10}, new int[]{10},
AchievementCategory.UHC), AchievementCategory.UHC),
//UHC
WIZARDS_WINS("Supreme Wizard", 600,
new String[]{"Wizards.Wins"},
new String[]{"Win 50 games of Wizards"},
new int[]{10},
AchievementCategory.WIZARDS),
//Smash Mobs //Smash Mobs
SMASH_MOBS_WINS("SO SUPER!", 600, SMASH_MOBS_WINS("SO SUPER!", 600,
new String[]{"Super Smash Mobs.Wins"}, new String[]{"Super Smash Mobs.Wins"},

View File

@ -34,6 +34,16 @@ public enum AchievementCategory
new String[] { "Wins", "Losses", "Kills", "Deaths", "Gems Earned" }, new String[] { "Wins", "Losses", "Kills", "Deaths", "Gems Earned" },
Material.IRON_SWORD, 0, GameCategory.SURVIVAL, "Horseman Kit"), Material.IRON_SWORD, 0, GameCategory.SURVIVAL, "Horseman Kit"),
UHC("Ultra Hardcore", null,
new String[] { "Wins", "Losses", "Kills", "Deaths", "GemsEarned" },
new String[] { "Wins", "Losses", "Kills", "Deaths", "Gems Earned" },
Material.GOLD_INGOT, 0, GameCategory.SURVIVAL, "Extra Class Skills"),
WIZARDS("Wizards", null,
new String[] { "Wins", "Losses", "Kills", "Deaths", "GemsEarned" },
new String[] { "Wins", "Losses", "Kills", "Deaths", "Gems Earned" },
Material.GOLD_INGOT, 0, GameCategory.SURVIVAL, "Extra Class Skills"),
MINE_STRIKE("MineStrike", null, MINE_STRIKE("MineStrike", null,
new String[] {"Wins", "Losses", "Kills", "Deaths", "GemsEarned"}, new String[] {"Wins", "Losses", "Kills", "Deaths", "GemsEarned"},
new String[] {"Wins", "Losses", "Kills", "Deaths", "Gems Earned"}, new String[] {"Wins", "Losses", "Kills", "Deaths", "Gems Earned"},
@ -66,10 +76,7 @@ public enum AchievementCategory
new String[] {"Wins", "Losses", "Kills", "Deaths", "Gems Earned"}, new String[] {"Wins", "Losses", "Kills", "Deaths", "Gems Earned"},
Material.BEACON, 0, GameCategory.CHAMPIONS, "Extra Class Skills"), Material.BEACON, 0, GameCategory.CHAMPIONS, "Extra Class Skills"),
UHC("Ultra Hardcore", null,
new String[] { "Wins", "Losses", "Kills", "Deaths", "GemsEarned" },
new String[] { "Wins", "Losses", "Kills", "Deaths", "Gems Earned" },
Material.GOLD_INGOT, 0, GameCategory.SURVIVAL, "Extra Class Skills"),
//Arcade //Arcade
DRAGONS("Dragons", null, DRAGONS("Dragons", null,

View File

@ -15,7 +15,7 @@ public class KitMystic extends Kit
{ {
public KitMystic(ArcadeManager manager) public KitMystic(ArcadeManager manager)
{ {
super(manager, "Mystic", KitAvailability.Free, new String[] super(manager, "Mystic", KitAvailability.Gem, new String[]
{ {
"Mana regeneration increased by 10%" "Mana regeneration increased by 10%"
}, new Perk[0], EntityType.WITCH, new ItemStack(Material.WOOD_HOE)); }, new Perk[0], EntityType.WITCH, new ItemStack(Material.WOOD_HOE));

View File

@ -15,7 +15,7 @@ public class KitSorcerer extends Kit
{ {
public KitSorcerer(ArcadeManager manager) public KitSorcerer(ArcadeManager manager)
{ {
super(manager, "Sorcerer", KitAvailability.Free, new String[] super(manager, "Sorcerer", KitAvailability.Gem, new String[]
{ {
"Start out with an extra wand" "Start out with an extra wand"
}, new Perk[0], EntityType.WITCH, new ItemStack(Material.STONE_HOE)); }, new Perk[0], EntityType.WITCH, new ItemStack(Material.STONE_HOE));

View File

@ -16,14 +16,14 @@ public class KitWitchDoctor extends Kit
{ {
public KitWitchDoctor(ArcadeManager manager) public KitWitchDoctor(ArcadeManager manager)
{ {
super(manager, "Witch Doctor", KitAvailability.Free, new String[] super(manager, "Witch Doctor", KitAvailability.Achievement, new String[]
{ {
"Max mana increased to 150" "Max mana increased to 150"
}, new Perk[0], EntityType.WITCH, new ItemStack(Material.IRON_HOE)); }, new Perk[0], EntityType.WITCH, new ItemStack(Material.IRON_HOE));
this.setAchievementRequirements(new Achievement[] this.setAchievementRequirements(new Achievement[]
{ {
Achievement.BACON_BRAWL_WINS Achievement.WIZARDS_WINS
}); });
} }