diff options
-rw-r--r-- | sql/updates/1558_world_spell_linked_spell.sql | 5 | ||||
-rw-r--r-- | sql/updates/CMakeLists.txt | 1 | ||||
-rw-r--r-- | sql/world_spell_full.sql | 4 | ||||
-rw-r--r-- | src/bindings/scripts/scripts/zone/sunwell_plateau/boss_kalecgos.cpp | 2 |
4 files changed, 9 insertions, 3 deletions
diff --git a/sql/updates/1558_world_spell_linked_spell.sql b/sql/updates/1558_world_spell_linked_spell.sql new file mode 100644 index 00000000000..667d1c998cc --- /dev/null +++ b/sql/updates/1558_world_spell_linked_spell.sql @@ -0,0 +1,5 @@ +DELETE FROM `spell_linked_spell` WHERE `spell_trigger` = '44869' AND `spell_effect` = '-45018'; +DELETE FROM `spell_linked_spell` WHERE `spell_trigger` = '46019' AND `spell_effect` = '-45018'; +INSERT INTO `spell_linked_spell` (`spell_trigger`, `spell_effect`, `type`, `comment`) VALUES +(44869, -45018, 1, 'Remove Arcane Buffet'), +(46019, -45018, 1, 'Remove Arcane Buffet');
\ No newline at end of file diff --git a/sql/updates/CMakeLists.txt b/sql/updates/CMakeLists.txt index a9c343b7353..f54e3161cf5 100644 --- a/sql/updates/CMakeLists.txt +++ b/sql/updates/CMakeLists.txt @@ -43,4 +43,5 @@ INSTALL(FILES 1484_mangos_7307_01_characters_arena_team_member.sql 1495_mangos_7312_01_world_trinity_string.sql 1497_mangos_7314_01_characters_guild_rank.sql +1558_world_spell_linked_spell.sql DESTINATION share/trinity/sql/updates)
\ No newline at end of file diff --git a/sql/world_spell_full.sql b/sql/world_spell_full.sql index cfaa310a166..0f7a2bd619e 100644 --- a/sql/world_spell_full.sql +++ b/sql/world_spell_full.sql @@ -74,7 +74,9 @@ INSERT INTO `spell_linked_spell` (`spell_trigger`, `spell_effect`, `type`, `comm (45342, 45348, 1, 'Apply Flame Touched'), (46771, 45348, 1, 'Apply Flame Touched'), (45271, 45347, 1, 'Apply Dark Touched'), -(45246, 45348, 1, 'Apply Flame Touched'); +(45246, 45348, 1, 'Apply Flame Touched'), +(44869, -45018, 1, 'Remove Arcane Buffet'), +(46019, -45018, 1, 'Remove Arcane Buffet'); -- -------- diff --git a/src/bindings/scripts/scripts/zone/sunwell_plateau/boss_kalecgos.cpp b/src/bindings/scripts/scripts/zone/sunwell_plateau/boss_kalecgos.cpp index 8a2daa17067..ec0ba0037ff 100644 --- a/src/bindings/scripts/scripts/zone/sunwell_plateau/boss_kalecgos.cpp +++ b/src/bindings/scripts/scripts/zone/sunwell_plateau/boss_kalecgos.cpp @@ -615,7 +615,6 @@ void boss_kalecgosAI::UpdateAI(const uint32 diff) if( ( target != m_creature->getVictim() ) && target->isAlive() && !(target->HasAura(AURA_SPECTRAL_EXHAUSTION, 0)) ) { DoCast(target, SPELL_SPECTRAL_BLAST); - target->RemoveAurasDueToSpell(SPELL_ARCANE_BUFFET); SpectralBlastTimer = 20000+(rand()%5000); } else @@ -634,7 +633,6 @@ bool GOkalocegos_teleporter(Player *player, GameObject* _GO) player->GetSession()->SendNotification(GO_FAILED); else player->CastSpell(player, SPELL_TELEPORT_SPECTRAL, true); - player->RemoveAurasDueToSpell(SPELL_ARCANE_BUFFET); return true; } |