mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 19:37:02 +00:00
[10155] Add script effect of spell 66744
Signed-off-by: NoFantasy <nofantasy@nf.no>
This commit is contained in:
parent
232db2b306
commit
abe6776358
2 changed files with 11 additions and 1 deletions
|
|
@ -6059,6 +6059,16 @@ void Spell::EffectScriptEffect(SpellEffectIndex eff_idx)
|
|||
unitTarget->CastSpell(unitTarget, 66622, true);
|
||||
break;
|
||||
}
|
||||
case 66744: // Make Player Destroy Totems
|
||||
{
|
||||
if (!unitTarget || unitTarget->GetTypeId() != TYPEID_PLAYER)
|
||||
return;
|
||||
|
||||
// Totem of the Earthen Ring does not really require or take reagents.
|
||||
// Expecting RewardQuest() to already destroy them or we need additional code here to destroy.
|
||||
unitTarget->CastSpell(unitTarget, 66747, true);
|
||||
return;
|
||||
}
|
||||
case 69377: // Fortitude
|
||||
{
|
||||
if (!unitTarget)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue