Fixed build
This commit is contained in:
1 parent
0f984d518b
commit
f97ebbb21f
2 files changed
+2
-4
No files matched your search
@@ -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;
|
||||
|
||||
+1
-1
@@ -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