[7716] Fixed some typos and possible crashes. Author: AlexDereka
--HG-- branch : trunk
This commit is contained in:
@@ -2446,11 +2446,12 @@ void AuraEffect::HandleAuraDummy(bool apply, bool Real)
|
||||
if( GetId()==24658 )
|
||||
{
|
||||
uint32 spellId = 24659;
|
||||
if (apply)
|
||||
if (apply && caster)
|
||||
{
|
||||
const SpellEntry *spell = sSpellStore.LookupEntry(spellId);
|
||||
if (!spell)
|
||||
return;
|
||||
|
||||
for (int i=0; i < spell->StackAmount; ++i)
|
||||
caster->CastSpell(m_target, spell->Id, true, NULL, NULL, GetCasterGUID());
|
||||
return;
|
||||
@@ -2462,7 +2463,7 @@ void AuraEffect::HandleAuraDummy(bool apply, bool Real)
|
||||
if( GetId()==24661 )
|
||||
{
|
||||
uint32 spellId = 24662;
|
||||
if (apply)
|
||||
if (apply && caster)
|
||||
{
|
||||
const SpellEntry *spell = sSpellStore.LookupEntry(spellId);
|
||||
if (!spell)
|
||||
|
||||
Reference in New Issue
Block a user