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:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user