mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-26 15:16:45 +01:00
Update Fishing to alphabetical order
This commit is contained in:
parent
c758346c3f
commit
0cd23c1b65
@ -123,26 +123,18 @@ public class FishingCommand extends SkillCommand {
|
|||||||
protected List<String> statsDisplay(Player player, float skillValue, boolean hasEndurance, boolean isLucky) {
|
protected List<String> statsDisplay(Player player, float skillValue, boolean hasEndurance, boolean isLucky) {
|
||||||
List<String> messages = new ArrayList<String>();
|
List<String> messages = new ArrayList<String>();
|
||||||
|
|
||||||
if (canTreasureHunt) {
|
if (canFishermansDiet) {
|
||||||
messages.add(getStatMessage(false, true, SubSkillType.FISHING_TREASURE_HUNTER, String.valueOf(lootTier), String.valueOf(RankUtils.getHighestRank(SubSkillType.FISHING_TREASURE_HUNTER))));
|
messages.add(getStatMessage(false, true, SubSkillType.FISHING_FISHERMANS_DIET, String.valueOf(fishermansDietRank)));
|
||||||
messages.add(getStatMessage(true, true, SubSkillType.FISHING_TREASURE_HUNTER,
|
|
||||||
String.valueOf(trapTreasure),
|
|
||||||
String.valueOf(commonTreasure),
|
|
||||||
String.valueOf(uncommonTreasure),
|
|
||||||
String.valueOf(rareTreasure),
|
|
||||||
String.valueOf(epicTreasure),
|
|
||||||
String.valueOf(legendaryTreasure),
|
|
||||||
String.valueOf(recordTreasure)));
|
|
||||||
}
|
|
||||||
|
|
||||||
if (canMagicHunt) {
|
|
||||||
messages.add(getStatMessage(SubSkillType.FISHING_MAGIC_HUNTER, magicChance));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (canIceFish) {
|
if (canIceFish) {
|
||||||
messages.add(getStatMessage(SubSkillType.FISHING_ICE_FISHING, SubSkillType.FISHING_ICE_FISHING.getLocaleStatDescription()));
|
messages.add(getStatMessage(SubSkillType.FISHING_ICE_FISHING, SubSkillType.FISHING_ICE_FISHING.getLocaleStatDescription()));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (canMagicHunt) {
|
||||||
|
messages.add(getStatMessage(SubSkillType.FISHING_MAGIC_HUNTER, magicChance));
|
||||||
|
}
|
||||||
|
|
||||||
if (canMasterAngler) {
|
if (canMasterAngler) {
|
||||||
//TODO: Update this with more details
|
//TODO: Update this with more details
|
||||||
messages.add(getStatMessage(SubSkillType.FISHING_MASTER_ANGLER, biteChance));
|
messages.add(getStatMessage(SubSkillType.FISHING_MASTER_ANGLER, biteChance));
|
||||||
@ -153,8 +145,16 @@ public class FishingCommand extends SkillCommand {
|
|||||||
+ (isLucky ? LocaleLoader.getString("Perks.Lucky.Bonus", shakeChanceLucky) : ""));
|
+ (isLucky ? LocaleLoader.getString("Perks.Lucky.Bonus", shakeChanceLucky) : ""));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (canFishermansDiet) {
|
if (canTreasureHunt) {
|
||||||
messages.add(getStatMessage(false, true, SubSkillType.FISHING_FISHERMANS_DIET, String.valueOf(fishermansDietRank)));
|
messages.add(getStatMessage(false, true, SubSkillType.FISHING_TREASURE_HUNTER, String.valueOf(lootTier), String.valueOf(RankUtils.getHighestRank(SubSkillType.FISHING_TREASURE_HUNTER))));
|
||||||
|
messages.add(getStatMessage(true, true, SubSkillType.FISHING_TREASURE_HUNTER,
|
||||||
|
String.valueOf(trapTreasure),
|
||||||
|
String.valueOf(commonTreasure),
|
||||||
|
String.valueOf(uncommonTreasure),
|
||||||
|
String.valueOf(rareTreasure),
|
||||||
|
String.valueOf(epicTreasure),
|
||||||
|
String.valueOf(legendaryTreasure),
|
||||||
|
String.valueOf(recordTreasure)));
|
||||||
}
|
}
|
||||||
|
|
||||||
return messages;
|
return messages;
|
||||||
|
Loading…
Reference in New Issue
Block a user