Browse Source

multiplier display

lakebane-master
FatBoy-DOTC 9 months ago
parent
commit
3d33a16d06
  1. 4
      src/engine/objects/Mine.java

4
src/engine/objects/Mine.java

@ -646,8 +646,8 @@ public class Mine extends AbstractGameObject {
player = PlayerCharacter.getFromCache(playerID); player = PlayerCharacter.getFromCache(playerID);
for(Guild present : this.dividedPlayers.keySet()) { for(Guild present : this.dividedPlayers.keySet()) {
int count = this.dividedPlayers.get(present).size(); int count = this.dividedPlayers.get(present).size();
float multiplier = 1.0f - (count / this.totalPlayers); float multiplier = (float)(count / this.totalPlayers);
ChatManager.chatSystemInfo(player,present.getName() + " COUNT: " + count + " MULTIPLIER: " + multiplier); ChatManager.chatSystemInfo(player,present.getName() + " COUNT: " + count + " / " + this.totalPlayers);
} }
} }
} }

Loading…
Cancel
Save