Core/Misc:
- Changed some error messages for changing spec to be displayed as debug messages. - Fixed compile warnings.
This commit is contained in:
1 parent
5bbeccd00f
commit
a73c7f506e
3 files changed
+8
-8
No files matched your search
@@ -827,7 +827,7 @@ class npc_hodir_mage : public CreatureScript
|
||||
switch (eventId)
|
||||
{
|
||||
case EVENT_CONJURE_FIRE:
|
||||
if (summons.size() >= RAID_MODE(2, 4))
|
||||
if (summons.size() >= RAID_MODE<uint64>(2, 4))
|
||||
break;
|
||||
DoCast(me, SPELL_CONJURE_FIRE, true);
|
||||
events.ScheduleEvent(EVENT_CONJURE_FIRE, urand(15000, 20000));
|
||||
|
||||
@@ -810,7 +810,7 @@ class spell_xt002_gravity_bomb_aura : public SpellScriptLoader
|
||||
if (!owner)
|
||||
return;
|
||||
|
||||
if (aurEff->GetAmount() >= owner->GetHealth())
|
||||
if (aurEff->GetAmount() >= int32(owner->GetHealth()))
|
||||
if (XT002AI* xt002AI = CAST_AI(XT002AI, xt002->GetAI()))
|
||||
xt002AI->GravityBombCasualty = true;
|
||||
}
|
||||
@@ -843,7 +843,7 @@ class spell_xt002_gravity_bomb_damage : public SpellScriptLoader
|
||||
if (!caster)
|
||||
return;
|
||||
|
||||
if (GetHitDamage() >= GetHitUnit()->GetHealth())
|
||||
if (GetHitDamage() >= int32(GetHitUnit()->GetHealth()))
|
||||
if (XT002AI* xt002AI = CAST_AI(XT002AI, GetCaster()->GetAI()))
|
||||
xt002AI->GravityBombCasualty = true;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user