Updated Achievement Output
This commit is contained in:
parent
d62b59776f
commit
3eae26ef80
@ -103,7 +103,7 @@ public class GameAchievementManager implements Listener
|
||||
|
||||
player.playSound(player.getLocation(), Sound.LEVEL_UP, 1f, 1f);
|
||||
|
||||
Manager.GetDonation().RewardGems(new Callback<Boolean>()
|
||||
Manager.GetDonation().RewardGems(new Callback<Boolean>()
|
||||
{
|
||||
public void run(Boolean completed)
|
||||
{
|
||||
@ -113,8 +113,7 @@ public class GameAchievementManager implements Listener
|
||||
}
|
||||
else
|
||||
{
|
||||
UtilPlayer.message(player, nameLevel + " " + progress +
|
||||
" " + F.elem(C.cAqua + C.Bold + "Complete"));
|
||||
//Display nothing because already complete bro :O
|
||||
}
|
||||
}
|
||||
//Multi-Level Achievements
|
||||
@ -127,8 +126,27 @@ public class GameAchievementManager implements Listener
|
||||
}
|
||||
else
|
||||
{
|
||||
UtilPlayer.message(player, nameLevel + " " + progress +
|
||||
" " + F.elem(ChatColor.YELLOW + "" + (data.getExpNextLevel() - data.getExpRemainder()) + " to Next Level"));
|
||||
//Single Level
|
||||
if (type.getMaxLevel() == 1)
|
||||
{
|
||||
UtilPlayer.message(player, nameLevel + " " + progress +
|
||||
" " + F.elem(ChatColor.YELLOW + "" + (data.getExpNextLevel() - data.getExpRemainder()) + " to Complete"));
|
||||
}
|
||||
else
|
||||
{
|
||||
//Multi Level - Almost Finished
|
||||
if (data.getLevel() == type.getMaxLevel() - 1)
|
||||
{
|
||||
UtilPlayer.message(player, nameLevel + " " + progress +
|
||||
" " + F.elem(ChatColor.YELLOW + "" + (data.getExpNextLevel() - data.getExpRemainder()) + " to Complete"));
|
||||
}
|
||||
//Multi Level - Many levels to go
|
||||
else
|
||||
{
|
||||
UtilPlayer.message(player, nameLevel + " " + progress +
|
||||
" " + F.elem(ChatColor.YELLOW + "" + (data.getExpNextLevel() - data.getExpRemainder()) + " to Next Level"));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
for (String desc : type.getDesc())
|
||||
|
@ -282,8 +282,6 @@ public class GameManager implements Listener
|
||||
for (String stat : event.GetGame().GetStats().get(player).keySet())
|
||||
{
|
||||
Manager.GetStatsManager().incrementStat(player, stat, event.GetGame().GetStats().get(player).get(stat));
|
||||
|
||||
System.out.println("Manager Sent Stat: " + stat + " [" + event.GetGame().GetStats().get(player).get(stat) + "]");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user