|
|
@ -5833,10 +5833,6 @@ public class PlayerCharacter extends AbstractCharacter { |
|
|
|
while (!workedHealth || !workedMana || !workedStamina) { |
|
|
|
while (!workedHealth || !workedMana || !workedStamina) { |
|
|
|
if (!this.isAlive() || !this.isActive()) |
|
|
|
if (!this.isAlive() || !this.isActive()) |
|
|
|
return; |
|
|
|
return; |
|
|
|
if(this.isCasting){ |
|
|
|
|
|
|
|
manaRegen = 0; |
|
|
|
|
|
|
|
workedMana = true; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
if (!workedHealth) { |
|
|
|
if (!workedHealth) { |
|
|
|
old = this.health.get(); |
|
|
|
old = this.health.get(); |
|
|
|
mod = old + healthRegen; |
|
|
|
mod = old + healthRegen; |
|
|
|