fix: Renames WeightOverloading to StaminaSystem (#1495)
This commit is contained in:
parent
6820efe0ca
commit
319d82fec9
12 changed files with 143 additions and 144 deletions
|
|
@ -1569,7 +1569,7 @@ namespace Server.Mobiles
|
|||
|
||||
Confidence.StopRegenerating(this);
|
||||
|
||||
WeightOverloading.FatigueOnDamage(this, amount);
|
||||
StaminaSystem.FatigueOnDamage(this, amount);
|
||||
|
||||
var speechType = SpeechType;
|
||||
|
||||
|
|
|
|||
|
|
@ -1613,7 +1613,7 @@ namespace Server.Mobiles
|
|||
{
|
||||
if (AccessLevel < AccessLevel.GameMaster && item.IsChildOf(Backpack))
|
||||
{
|
||||
var maxWeight = WeightOverloading.GetMaxWeight(this);
|
||||
var maxWeight = StaminaSystem.GetMaxWeight(this);
|
||||
var curWeight = BodyWeight + TotalWeight;
|
||||
|
||||
if (curWeight > maxWeight)
|
||||
|
|
@ -2339,7 +2339,7 @@ namespace Server.Mobiles
|
|||
|
||||
Confidence.StopRegenerating(this);
|
||||
|
||||
WeightOverloading.FatigueOnDamage(this, amount);
|
||||
StaminaSystem.FatigueOnDamage(this, amount);
|
||||
|
||||
ReceivedHonorContext?.OnTargetDamaged(from, amount);
|
||||
SentHonorContext?.OnSourceDamaged(from, amount);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue