diff --git a/src/game/Entities/Unit.h b/src/game/Entities/Unit.h index 2d7ee4ab0c1..09023011dc7 100644 --- a/src/game/Entities/Unit.h +++ b/src/game/Entities/Unit.h @@ -1431,6 +1431,7 @@ class Unit : public WorldObject void SetPower(Powers power, float val, bool withPowerUpdate = true); void SetMaxPower(Powers power, uint32 val); int32 ModifyPower(Powers power, int32 dVal); + [[deprecated("Use ModifyPower()")]] void ApplyPowerMod(Powers power, uint32 val, bool apply); void ApplyMaxPowerMod(Powers power, uint32 val, bool apply); bool HasMana() { return GetPowerType() == POWER_MANA; }