mirror of
https://github.com/mangosfour/server.git
synced 2025-12-16 04:37:00 +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);
|
unitTarget->CastSpell(unitTarget, 66622, true);
|
||||||
break;
|
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
|
case 69377: // Fortitude
|
||||||
{
|
{
|
||||||
if (!unitTarget)
|
if (!unitTarget)
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "10154"
|
#define REVISION_NR "10155"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue