[10962] Fixed wrong spell cast code call with missing bool arg.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>

Also added trap code for like wrong cases
This commit is contained in:
Kid10 2011-01-05 00:44:57 +03:00 committed by VladimirMangos
parent fda171d6bd
commit b206e5ddd0
4 changed files with 19 additions and 3 deletions

View file

@ -3041,7 +3041,7 @@ void Aura::HandleAuraModShapeshift(bool apply, bool Real)
if ((int32)target->GetPower(POWER_ENERGY) > furorChance)
{
target->SetPower(POWER_ENERGY, 0);
target->CastCustomSpell(target, 17099, &furorChance, NULL, NULL, this);
target->CastCustomSpell(target, 17099, &furorChance, NULL, NULL, true, NULL, this);
}
}
else if(furorChance) // only if talent known