mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-02-13 21:49:49 +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;
|
||||
|
||||
Reference in New Issue
Block a user