Removed useless popup + 3rd job Cygnus revamp + droplimit command

Removed the Stat Upgrade UI that would popup when leveling up to 15/20/25/30.
Improved 3rd job advancement for Cygnus Knights, now working GMS-like.
Added "droplimit" command. When issued, it will show to the player the current drop count on the map.
This commit is contained in:
ronancpl
2017-12-10 11:11:16 -02:00
parent f698c41f00
commit 1386891182
24 changed files with 614 additions and 57 deletions

View File

@@ -352,6 +352,16 @@ public class Commands {
c.getAbstractPlayerInteraction().openNpc(9201143, "commands");
break;
case "droplimit":
int dropCount = c.getPlayer().getMap().getDroppedItemCount();
if(((float) dropCount) / ServerConstants.ITEM_LIMIT_ON_MAP < 0.75f) {
c.getPlayer().showHint("Current drop count: #b" + dropCount + "#k / #e" + ServerConstants.ITEM_LIMIT_ON_MAP + "#n");
} else {
c.getPlayer().showHint("Current drop count: #r" + dropCount + "#k / #e" + ServerConstants.ITEM_LIMIT_ON_MAP + "#n");
}
break;
case "time":
DateFormat dateFormat = new SimpleDateFormat("HH:mm:ss");
dateFormat.setTimeZone(TimeZone.getTimeZone(ServerConstants.TIMEZONE));