Scaling tests are working for base stats

This commit is contained in:
2024-09-20 01:28:33 -04:00
parent e7d1b85074
commit 3b7c03ce0f
2 changed files with 2 additions and 1 deletions

View File

@@ -71,7 +71,7 @@ void MythicPlus::ScaleCreature(uint8 level, Creature* creature)
creature->GetCreatureTemplate()->unit_class
);
uint32 rank = 0;
int32 rank = 0;
CreatureTemplate const* cInfo = creature->GetCreatureTemplate();
if(cInfo && cInfo->rank > 0) {
rank = cInfo->rank;

View File

@@ -69,6 +69,7 @@ public:
~MythicPlus() { }
};
float GetHealthModifier(int32 rank);
#define sMythicPlus MythicPlus::instance()