aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/me
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/me')
-rw-r--r--src/main/java/me/Danker/TheMod.java9
-rw-r--r--src/main/java/me/Danker/commands/LootCommand.java4
-rw-r--r--src/main/java/me/Danker/handlers/ConfigHandler.java2
3 files changed, 15 insertions, 0 deletions
diff --git a/src/main/java/me/Danker/TheMod.java b/src/main/java/me/Danker/TheMod.java
index ca8eaae..ca8c81d 100644
--- a/src/main/java/me/Danker/TheMod.java
+++ b/src/main/java/me/Danker/TheMod.java
@@ -737,6 +737,11 @@ public class TheMod
lc.spiritSwordsSession++;
cf.writeIntConfig("catacombs", "spiritSword", lc.spiritSwords);
}
+ if (message.contains(" Spirit Bow")) {
+ lc.spiritBows++;
+ lc.spiritBowsSession++;
+ cf.writeIntConfig("catacombs", "spiritBow", lc.spiritBows);
+ }
// Chat Maddox
if (message.contains("[OPEN MENU]")) {
@@ -1238,6 +1243,7 @@ public class TheMod
EnumChatFormatting.DARK_PURPLE + "Spirit Bones:\n" +
EnumChatFormatting.DARK_PURPLE + "Spirit Boots:\n" +
EnumChatFormatting.DARK_PURPLE + "Spirit Swords:\n" +
+ EnumChatFormatting.GOLD + "Spirit Bows:\n" +
EnumChatFormatting.DARK_PURPLE + "Epic Spirit Pets:\n" +
EnumChatFormatting.GOLD + "Leg Spirit Pets:";
countText = EnumChatFormatting.GOLD + nf.format(lc.recombobulators) + "\n" +
@@ -1246,6 +1252,7 @@ public class TheMod
EnumChatFormatting.DARK_PURPLE + nf.format(lc.spiritBones) + "\n" +
EnumChatFormatting.DARK_PURPLE + nf.format(lc.spiritBoots) + "\n" +
EnumChatFormatting.DARK_PURPLE + nf.format(lc.spiritSwords) + "\n" +
+ EnumChatFormatting.GOLD + nf.format(lc.spiritBows) + "\n" +
EnumChatFormatting.DARK_PURPLE + nf.format(lc.epicSpiritPets) + "\n" +
EnumChatFormatting.GOLD + nf.format(lc.legSpiritPets);
} else if (ds.display.equals("catacombs_floor_four_session")) {
@@ -1255,6 +1262,7 @@ public class TheMod
EnumChatFormatting.DARK_PURPLE + "Spirit Bones:\n" +
EnumChatFormatting.DARK_PURPLE + "Spirit Boots:\n" +
EnumChatFormatting.DARK_PURPLE + "Spirit Swords:\n" +
+ EnumChatFormatting.GOLD + "Spirit Bows:\n" +
EnumChatFormatting.DARK_PURPLE + "Epic Spirit Pets:\n" +
EnumChatFormatting.GOLD + "Leg Spirit Pets:";
countText = EnumChatFormatting.GOLD + nf.format(lc.recombobulatorsSession) + "\n" +
@@ -1263,6 +1271,7 @@ public class TheMod
EnumChatFormatting.DARK_PURPLE + nf.format(lc.spiritBonesSession) + "\n" +
EnumChatFormatting.DARK_PURPLE + nf.format(lc.spiritBootsSession) + "\n" +
EnumChatFormatting.DARK_PURPLE + nf.format(lc.spiritSwordsSession) + "\n" +
+ EnumChatFormatting.GOLD + nf.format(lc.spiritBowsSession) + "\n" +
EnumChatFormatting.DARK_PURPLE + nf.format(lc.epicSpiritPetsSession) + "\n" +
EnumChatFormatting.GOLD + nf.format(lc.legSpiritPetsSession);
} else {
diff --git a/src/main/java/me/Danker/commands/LootCommand.java b/src/main/java/me/Danker/commands/LootCommand.java
index 1142f4e..fcd0973 100644
--- a/src/main/java/me/Danker/commands/LootCommand.java
+++ b/src/main/java/me/Danker/commands/LootCommand.java
@@ -99,6 +99,7 @@ public class LootCommand extends CommandBase {
public static int spiritBones;
public static int spiritBoots;
public static int spiritSwords;
+ public static int spiritBows;
public static int epicSpiritPets;
public static int legSpiritPets;
@@ -189,6 +190,7 @@ public class LootCommand extends CommandBase {
public static int spiritBonesSession = 0;
public static int spiritBootsSession = 0;
public static int spiritSwordsSession = 0;
+ public static int spiritBowsSession = 0;
public static int epicSpiritPetsSession = 0;
public static int legSpiritPetsSession = 0;
@@ -631,6 +633,7 @@ public class LootCommand extends CommandBase {
EnumChatFormatting.DARK_PURPLE + " Spirit Bones: " + nf.format(spiritBonesSession) + "\n" +
EnumChatFormatting.DARK_PURPLE + " Spirit Boots: " + nf.format(spiritBootsSession) + "\n" +
EnumChatFormatting.DARK_PURPLE + " Spirit Swords: " + nf.format(spiritSwordsSession) + "\n" +
+ EnumChatFormatting.GOLD + " Spirit Bows: " + nf.format(spiritBowsSession) + "\n" +
EnumChatFormatting.DARK_PURPLE + " Epic Spirit Pets: " + nf.format(epicSpiritPetsSession) + "\n" +
EnumChatFormatting.GOLD + " Leg Spirit Pets: " + nf.format(legSpiritPetsSession) + "\n" +
EnumChatFormatting.DARK_RED + EnumChatFormatting.BOLD + " -------------------"));
@@ -644,6 +647,7 @@ public class LootCommand extends CommandBase {
EnumChatFormatting.DARK_PURPLE + " Spirit Bones: " + nf.format(spiritBones) + "\n" +
EnumChatFormatting.DARK_PURPLE + " Spirit Boots: " + nf.format(spiritBoots) + "\n" +
EnumChatFormatting.DARK_PURPLE + " Spirit Swords: " + nf.format(spiritSwords) + "\n" +
+ EnumChatFormatting.GOLD + " Spirit Bows: " + nf.format(spiritBows) + "\n" +
EnumChatFormatting.DARK_PURPLE + " Epic Spirit Pets: " + nf.format(epicSpiritPets) + "\n" +
EnumChatFormatting.GOLD + " Leg Spirit Pets: " + nf.format(legSpiritPets) + "\n" +
EnumChatFormatting.DARK_RED + EnumChatFormatting.BOLD + " -------------------"));
diff --git a/src/main/java/me/Danker/handlers/ConfigHandler.java b/src/main/java/me/Danker/handlers/ConfigHandler.java
index 8a3c35e..f65fe5a 100644
--- a/src/main/java/me/Danker/handlers/ConfigHandler.java
+++ b/src/main/java/me/Danker/handlers/ConfigHandler.java
@@ -264,6 +264,7 @@ public class ConfigHandler {
if (!hasKey("catacombs", "spiritBone")) writeIntConfig("catacombs", "spiritBone", 0);
if (!hasKey("catacombs", "spiritBoot")) writeIntConfig("catacombs", "spiritBoot", 0);
if (!hasKey("catacombs", "spiritSword")) writeIntConfig("catacombs", "spiritSword", 0);
+ if (!hasKey("catacombs", "spiritBow")) writeIntConfig("catacombs", "spiritBow", 0);
if (!hasKey("catacombs", "spiritPetEpic")) writeIntConfig("catacombs", "spiritPetEpic", 0);
if (!hasKey("catacombs", "spiritPetLeg")) writeIntConfig("catacombs", "spiritPetLeg", 0);
@@ -373,6 +374,7 @@ public class ConfigHandler {
lc.spiritBones = getInt("catacombs", "spiritBone");
lc.spiritBoots = getInt("catacombs", "spiritBoot");
lc.spiritSwords = getInt("catacombs", "spiritSword");
+ lc.spiritBows = getInt("catacombs", "spiritBow");
lc.epicSpiritPets = getInt("catacombs", "spiritPetEpic");
lc.legSpiritPets = getInt("catacombs", "spiritPetLeg");