*Fix dead loop in proc system.
*Fix curse of doom. --HG-- branch : trunk
This commit is contained in:
1 parent
f53b049759
commit
425863abd9
5 files changed
+33
-20
No files matched your search
@@ -3364,6 +3364,8 @@ void Spell::EffectSummonType(uint32 i)
|
||||
float radius = GetSpellRadiusForHostile(sSpellRadiusStore.LookupEntry(m_spellInfo->EffectRadiusIndex[i]));
|
||||
|
||||
int32 amount = damage > 0 ? damage : 1;
|
||||
if (m_spellInfo->Id == 18662) // Curse of Doom
|
||||
amount = 1;
|
||||
|
||||
for(int32 count = 0; count < amount; ++count)
|
||||
{
|
||||
@@ -6655,8 +6657,6 @@ void Spell::SummonGuardian(uint32 entry, SummonPropertiesEntry const *properties
|
||||
switch(m_spellInfo->Id)
|
||||
{
|
||||
case 1122: // Inferno
|
||||
case 18662: // Curse of Doom
|
||||
amount = 1;
|
||||
break;
|
||||
}
|
||||
int32 duration = GetSpellDuration(m_spellInfo);
|
||||
|
||||
Reference in new issue
Block a user