Scripts/BWD: added enum for Chimaeron's Lord Victor Nefarius heroic entry

This commit is contained in:
Ovahlord
2019-07-23 22:45:06 +02:00
parent 1b650a4bb1
commit 867ccc68e3
3 changed files with 5 additions and 4 deletions

View File

@@ -59,7 +59,8 @@ enum BWDDataTypes
/*Chimaeron*/
DATA_BILE_O_TRON_800,
DATA_FINKLE_EINHORN
DATA_FINKLE_EINHORN,
DATA_LORD_VICTOR_NEFARIUS_CHIMAERON
};
enum BWDCreatureIds
@@ -110,6 +111,7 @@ enum BWDCreatureIds
/*Chimaeron*/
NPC_FINKLE_EINHORN = 44202,
NPC_BILE_O_TRON_800 = 44418,
NPC_LORD_VICTOR_NEFARIUS_CHIMAERON = 48964,
/*Events*/
NPC_SPIRIT_OF_MOLTENFIST = 43125,
@@ -120,7 +122,7 @@ enum BWDCreatureIds
NPC_SPIRIT_OF_IRONSTAR = 43127,
NPC_SPIRIT_OF_THAURISSAN = 43126,
NPC_SPIRIT_OF_BURNINGEYE = 43130,
NPC_COLUMN_OF_LIGHT = 51506,
NPC_COLUMN_OF_LIGHT = 51506
};
enum BWDGameObjectIds

View File

@@ -557,9 +557,7 @@ class spell_chimaeron_finkles_mixture : public AuraScript
Unit* target = GetTarget();
if (dmgInfo.GetDamage() >= target->GetHealth() && target->GetHealth() > healthThreshold)
{
absorbAmount = dmgInfo.GetDamage() - target->GetHealth() + 1;
}
}
void Register() override

View File

@@ -38,6 +38,7 @@ ObjectData const creatureData[] =
{ NPC_LORD_VICTOR_NEFARIUS_ATRAMEDES, DATA_LORD_VICTOR_NEFARIUS_ATRAMEDES },
{ NPC_BILE_O_TRON_800, DATA_BILE_O_TRON_800 },
{ NPC_FINKLE_EINHORN, DATA_FINKLE_EINHORN },
{ NPC_LORD_VICTOR_NEFARIUS_CHIMAERON, NPC_LORD_VICTOR_NEFARIUS_CHIMAERON },
{ 0, 0 } // END
};