mirror of
https://github.com/araxiaonline/mod-mythic-plus.git
synced 2026-06-13 03:02:24 -04:00
Addressed compile error not being defined in MythicPlus.h
This commit is contained in:
@@ -389,11 +389,10 @@ float CalculateNewBaseDamage(CreatureTemplate const* cInfo, uint32 mapId, MpDiff
|
||||
if(cInfo->DamageModifier > 0.0f) {
|
||||
return baseDamage * (cInfo->DamageModifier + dmgScaleFactor);
|
||||
} else {
|
||||
return baseDamage * (dmgScaleFactor);
|
||||
return baseDamage * dmgScaleFactor;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
float GetTypeDamageModifier(int32 Rank)
|
||||
{
|
||||
switch (Rank)
|
||||
|
||||
@@ -119,7 +119,8 @@ public:
|
||||
|
||||
float GetTypeHealthModifier(int32 rank);
|
||||
float GetTypeDamageModifier(int32 rank);
|
||||
|
||||
uint32 CalculateNewHealth(CreatureTemplate const* cInfo, uint32 mapId, MpDifficulty difficulty, uint32 origHealth, float confHPMod);
|
||||
float CalculateNewBaseDamage(CreatureTemplate const* cInfo, uint32 mapId, MpDifficulty difficulty, float origDamage);
|
||||
|
||||
#define sMythicPlus MythicPlus::instance()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user