fix: Renames WeightOverloading to StaminaSystem (#1495)

This commit is contained in:
Kamron Batman 2023-09-06 18:58:45 -07:00 • committed by GitHub
parent 6820efe0ca
commit 319d82fec9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 143 additions and 144 deletions

View file

@ -39,7 +39,7 @@ namespace Server.Spells.Third
{
Caster.SendLocalizedMessage(1061632); // You can't do that while carrying the sigil.
}
else if (WeightOverloading.IsOverloaded(Caster))
else if (StaminaSystem.IsOverloaded(Caster))
{
Caster.SendLocalizedMessage(502359, "", 0x22); // Thou art too encumbered to move.
}
@ -121,7 +121,7 @@ namespace Server.Spells.Third
return false;
}
if (WeightOverloading.IsOverloaded(Caster))
if (StaminaSystem.IsOverloaded(Caster))
{
Caster.SendLocalizedMessage(502359, "", 0x22); // Thou art too encumbered to move.
return false;