mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-19 08:55:32 +01:00
Fixed build
This commit is contained in:
@@ -1650,8 +1650,6 @@ void SpellMgr::LoadSpellProcs()
|
||||
procEntry.Charges = spellInfo->ProcCharges;
|
||||
if (!procEntry.Chance && !procEntry.ProcsPerMinute)
|
||||
procEntry.Chance = float(spellInfo->ProcChance);
|
||||
if (procEntry.Cooldown == Milliseconds::zero())
|
||||
procEntry.Cooldown = Milliseconds(spellInfo->ProcCooldown);
|
||||
|
||||
// validate data
|
||||
if (procEntry.SchoolMask & ~SPELL_SCHOOL_MASK_ALL)
|
||||
@@ -1898,7 +1896,7 @@ void SpellMgr::LoadSpellProcs()
|
||||
|
||||
procEntry.ProcsPerMinute = 0;
|
||||
procEntry.Chance = spellInfo->ProcChance;
|
||||
procEntry.Cooldown = Milliseconds(spellInfo->ProcCooldown);
|
||||
procEntry.Cooldown = Milliseconds::zero();
|
||||
procEntry.Charges = spellInfo->ProcCharges;
|
||||
|
||||
mSpellProcMap[spellInfo->Id] = procEntry;
|
||||
|
||||
@@ -205,7 +205,7 @@ class instance_lost_city_of_the_tolvir : public InstanceMapScript
|
||||
augh->AI()->DoAction(ACTION_AUGH_INTRO);
|
||||
heroicAughSpawned = true;
|
||||
}
|
||||
else if (_heroicAughSpawned)
|
||||
else if (heroicAughSpawned)
|
||||
if (Creature* augh = instance->SummonCreature(BOSS_AUGH, AughHomePos))
|
||||
augh->AI()->DoAction(ACTION_AUGH_ATTACKABLE);
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user