mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-02-14 23:56:13 +00:00
Rewrite stats overflow calculation
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
|
||||
enum StatsOverflowThreshold
|
||||
{
|
||||
SPELL_HIT_OVERFLOW = 17,
|
||||
SPELL_HIT_OVERFLOW = 14,
|
||||
MELEE_HIT_OVERFLOW = 8,
|
||||
RANGED_HIT_OVERFLOW = 8,
|
||||
EXPERTISE_OVERFLOW = 26,
|
||||
@@ -48,6 +48,7 @@ private:
|
||||
bool NotBestArmorType(uint32 item_subclass_armor);
|
||||
|
||||
void ApplyOverflowPenalty(Player* player);
|
||||
CollectorType GetHitOverflowType(Player* player);
|
||||
|
||||
private:
|
||||
Player* player_;
|
||||
|
||||
Reference in New Issue
Block a user