Skip to content

Commit

Permalink
2.9.3 add new T18 world boss Notorious Beef (#74)
Browse files Browse the repository at this point in the history
* fix world boss name & desc

* update new world boss

Co-authored-by: 9-9-9-9 <9-9-9-9>
  • Loading branch information
9-9-9-9 authored Jun 10, 2022
1 parent d7a730a commit ed87c87
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>bh.bot</groupId>
<artifactId>99bot</artifactId>
<version>2.9.2</version>
<version>2.9.3</version>

<dependencies>
<dependency>
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/bh/bot/app/farming/WorldBossTeamApp.java
Original file line number Diff line number Diff line change
Expand Up @@ -311,14 +311,14 @@ else if (num > 5)
protected int readInputMaximumTeamMembersCount() {
return readInput("How many team members does the target World Boss supports?\n" +
" 3 (Netherworld, 3XT3RM1N4T10N, Brimstone Syndicate, Titans Attack, The Ignited Abyss)\n" +
" 4 (Melvin Factory, Nordic Dream)\n" +
" 4 (Melvin Factory, Nordic Dream, Notorious Beef)\n" +
" 5 (Orlag Clan)", null, s -> {
try {
int num = Integer.parseInt(s);
if (num < 3) {
return new Tuple3<>(false, "Must greater than 2", 0);
}
else if (num > 5) {
if (num > 5) {
return new Tuple3<>(false, "Must lower than 6", 0);
}
return new Tuple3<>(true, null, num);
Expand Down
8 changes: 5 additions & 3 deletions src/main/java/bh/bot/common/types/UserConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public class UserConfig {
private static final byte raidLevelMin = 1;
private static final byte raidLevelMax = 15;
private static final byte worldBossLevelMin = 1;
private static final byte worldBossLevelMax = 8;
private static final byte worldBossLevelMax = 9;
private static final byte expeditionPlaceMin = 1;
private static final byte expeditionPlaceMax = 4;
private static final byte pvpTargetMin = 1;
Expand Down Expand Up @@ -167,9 +167,11 @@ public static String getWorldBossLevelDesc(int level) {
case 6:
return "Titans Attack! (T11-T16)";
case 7:
return "The Ignited Abyss";
return "The Ignited Abyss (T13-T16)";
case 8:
return "Nordic Dream (T13-T18)";
return "Nordic Dream (T16-T18)";
case 9:
return "Notorious Beef (T18-T?)";
default:
return "Unknown (T?-T?)";
}
Expand Down

0 comments on commit ed87c87

Please sign in to comment.