mirror of
https://github.com/mangosfour/server.git
synced 2025-12-17 16:37:00 +00:00
[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:
parent
fda171d6bd
commit
b206e5ddd0
4 changed files with 19 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue