Browse Source

mana regen change

lakebane
FatBoy-DOTC 1 week ago
parent
commit
93e0d119b0
  1. 2
      src/engine/objects/PlayerCharacter.java

2
src/engine/objects/PlayerCharacter.java

@ -5170,7 +5170,7 @@ public class PlayerCharacter extends AbstractCharacter {
if (this.walkMode) if (this.walkMode)
manaRegen = ((this.manaMax * MBServerStatics.MANA_REGEN_IDLE) * getRegenModifier(ModType.ManaRecoverRate)); manaRegen = ((this.manaMax * MBServerStatics.MANA_REGEN_IDLE) * getRegenModifier(ModType.ManaRecoverRate));
else if (!this.isCasting() && !this.isItemCasting()) else if (!this.isCasting() && !this.isItemCasting())
manaRegen = ((this.manaMax * MBServerStatics.MANA_REGEN_IDLE) * getRegenModifier(ModType.ManaRecoverRate)); manaRegen = ((this.manaMax * MBServerStatics.MANA_REGEN_RUN) * getRegenModifier(ModType.ManaRecoverRate));
else else
manaRegen = 0; manaRegen = 0;

Loading…
Cancel
Save