mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-21 17:54:48 +01:00
Scripts/BWD: added enum for Chimaeron's Lord Victor Nefarius heroic entry
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user