Browse Source

updated regen system

lakebane
FatBoy-DOTC 7 days ago
parent
commit
4330bb3ecd
  1. 2
      src/engine/objects/PlayerCharacter.java
  2. 4
      src/engine/server/world/WorldServer.java

2
src/engine/objects/PlayerCharacter.java

@ -5849,6 +5849,8 @@ public class PlayerCharacter extends AbstractCharacter {
boolean workedMana = false; boolean workedMana = false;
boolean workedStamina = false; boolean workedStamina = false;
ChatManager.chatSystemInfo(this,"Recovering Mana: " + manaRegen);
float old, mod; float old, mod;
while (!workedHealth || !workedMana || !workedStamina) { while (!workedHealth || !workedMana || !workedStamina) {
if (!this.isAlive() || !this.isActive()) if (!this.isAlive() || !this.isActive())

4
src/engine/server/world/WorldServer.java

@ -517,8 +517,8 @@ public class WorldServer {
Logger.info("Starting Bane Thread"); Logger.info("Starting Bane Thread");
BaneThread.startBaneThread(); BaneThread.startBaneThread();
//Logger.info("Starting Player Update Thread"); Logger.info("Starting Player Regen Thread");
//UpdateThread.startUpdateThread(); UpdateThread.startUpdateThread();
printThreads(); printThreads();

Loading…
Cancel
Save