Browse Source

no stam drain while TS

lakebane-jobs
FatBoy-DOTC 5 days ago
parent
commit
3cf38da567
  1. 5
      src/engine/objects/PlayerCharacter.java

5
src/engine/objects/PlayerCharacter.java

@ -5759,11 +5759,16 @@ public class PlayerCharacter extends AbstractCharacter {
} else { } else {
healthRegen = 0; healthRegen = 0;
manaRegen = 0; manaRegen = 0;
if(this.containsEffect(441156479) || this.containsEffect(441156455)) {
stamRegen = MBServerStatics.STAMINA_REGEN_WALK;
}else {
if (this.combat == true) if (this.combat == true)
stamRegen = MBServerStatics.STAMINA_REGEN_RUN_COMBAT; stamRegen = MBServerStatics.STAMINA_REGEN_RUN_COMBAT;
else else
stamRegen = MBServerStatics.STAMINA_REGEN_RUN_NONCOMBAT; stamRegen = MBServerStatics.STAMINA_REGEN_RUN_NONCOMBAT;
} }
}
break; break;
case FLYING: case FLYING:
float seventyFive = this.staminaMax * .75f; float seventyFive = this.staminaMax * .75f;

Loading…
Cancel
Save