Fixed all Warnings and added in advancement methods + material types loader

This commit is contained in:
2024-12-13 19:18:33 -05:00
parent 738194fbfa
commit 173d19bcd3
4 changed files with 118 additions and 34 deletions

View File

@@ -187,7 +187,6 @@ public:
* @TODO: Add more granular control over the scaling of healing spells
*/
if(sMythicPlus->EligibleHealTarget(target) && (eventType == MythicPlus::UNIT_EVENT_HEAL || eventType == MythicPlus::UNIT_EVENT_HOT)) {
bool isHeal = true;
if(creature->IsDungeonBoss()) {
if(spellInfo) {
alteredDmgHeal = sMythicPlus->ScaleHealSpell(spellInfo, damageOrHeal, sMpDataStore->GetCreatureData(attacker->GetGUID()), creature, attacker->ToCreature(), instanceData->boss.spell);