aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/bindings/scripts/scripts/zone/tempest_keep/botanica/boss_laj.cpp6
-rw-r--r--src/game/SpellEffects.cpp3
-rw-r--r--src/game/SpellMgr.cpp1
3 files changed, 8 insertions, 2 deletions
diff --git a/src/bindings/scripts/scripts/zone/tempest_keep/botanica/boss_laj.cpp b/src/bindings/scripts/scripts/zone/tempest_keep/botanica/boss_laj.cpp
index 87fe0f92641..c7e138e0918 100644
--- a/src/bindings/scripts/scripts/zone/tempest_keep/botanica/boss_laj.cpp
+++ b/src/bindings/scripts/scripts/zone/tempest_keep/botanica/boss_laj.cpp
@@ -144,6 +144,12 @@ struct TRINITY_DLL_DECL boss_lajAI : public ScriptedAI
{
}
+ void JustSummoned(Creature *summon)
+ {
+ if(summon && m_creature->getVictim())
+ summon->AI()->AttackStart(SelectUnit(SELECT_TARGET_RANDOM, 0));
+ }
+
void UpdateAI(const uint32 diff)
{
if( !m_creature->SelectHostilTarget() || !m_creature->getVictim() )
diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp
index fa1b957c243..2141c95a21b 100644
--- a/src/game/SpellEffects.cpp
+++ b/src/game/SpellEffects.cpp
@@ -4814,10 +4814,9 @@ void Spell::EffectScriptEffect(uint32 effIndex)
{
if(!unitTarget || unitTarget->GetTypeId() != TYPEID_PLAYER)
return;
- unitTarget->HandleEmoteCommand(EMOTE_STATE_DANCE);
+ unitTarget->HandleEmoteCommand(EMOTE_STATE_DANCE);
break;
}
-
// Netherbloom
case 28702:
{
diff --git a/src/game/SpellMgr.cpp b/src/game/SpellMgr.cpp
index 0892ddabeab..7b33c94de07 100644
--- a/src/game/SpellMgr.cpp
+++ b/src/game/SpellMgr.cpp
@@ -507,6 +507,7 @@ bool IsPositiveEffect(uint32 spellId, uint32 effIndex)
case 37675: // Chaos Blast
case 41519: // Mark of Stormrage
case 34877: // Custodian of Time
+ case 34700:
return false;
}