diff options
author | ccrs <ccrs@users.noreply.github.com> | 2019-06-24 13:32:43 +0200 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2021-12-12 02:16:01 +0100 |
commit | a4da12119eee127e1d5923e4489eaeeeec258aae (patch) | |
tree | 611d26f2f434648a01fc541a272ed4ed8d04b374 /src | |
parent | f4a71ea9aac1991825f47bb213fc149a81dc77e2 (diff) |
Scripts/Misc: couple corrections to the recent PRs
(cherry picked from commit 4a8736b82924acf109970d317aa493b19914cea1)
Diffstat (limited to 'src')
-rw-r--r-- | src/server/scripts/Northrend/zone_borean_tundra.cpp | 28 |
1 files changed, 5 insertions, 23 deletions
diff --git a/src/server/scripts/Northrend/zone_borean_tundra.cpp b/src/server/scripts/Northrend/zone_borean_tundra.cpp index 11aadd48bd0..4a85c8c421d 100644 --- a/src/server/scripts/Northrend/zone_borean_tundra.cpp +++ b/src/server/scripts/Northrend/zone_borean_tundra.cpp @@ -15,23 +15,8 @@ * with this program. If not, see <http://www.gnu.org/licenses/>. */ -/* ScriptData -SDName: Borean_Tundra -SD%Complete: 100 -SDCategory: Borean Tundra -EndScriptData */ - -/* ContentData -npc_iruk -npc_corastrasza -npc_sinkhole_kill_credit -npc_khunok_the_behemoth -npc_nerubar_victim -npc_nesingwary_trapper -npc_lurgglbr -EndContentData */ - #include "ScriptMgr.h" +#include "CreatureAIImpl.h" #include "GameObject.h" #include "MotionMaster.h" #include "ObjectAccessor.h" @@ -39,7 +24,6 @@ EndContentData */ #include "PhasingHandler.h" #include "Player.h" #include "QuestDef.h" -#include "CreatureAIImpl.h" #include "ScriptedEscortAI.h" #include "ScriptedFollowerAI.h" #include "ScriptedGossip.h" @@ -2549,12 +2533,10 @@ class spell_q11653_shortening_blaster : public SpellScript Unit* caster = GetCaster(); Unit* target = GetHitUnit(); - uint32 spellId = RAND(SPELL_SHORTENING_BLASTER_BIGGER1, SPELL_SHORTENING_BLASTER_SHRUNK1, - SPELL_SHORTENING_BLASTER_YELLOW1, - SPELL_SHORTENING_BLASTER_GHOST1, SPELL_SHORTENING_BLASTER_POLYMORPH1); - uint32 spellId2 = RAND(SPELL_SHORTENING_BLASTER_BIGGER2, SPELL_SHORTENING_BLASTER_SHRUNK2, - SPELL_SHORTENING_BLASTER_YELLOW2, - SPELL_SHORTENING_BLASTER_GHOST2, SPELL_SHORTENING_BLASTER_POLYMORPH2); + uint32 spellId = RAND(SPELL_SHORTENING_BLASTER_BIGGER1, SPELL_SHORTENING_BLASTER_SHRUNK1, SPELL_SHORTENING_BLASTER_YELLOW1, + SPELL_SHORTENING_BLASTER_GHOST1, SPELL_SHORTENING_BLASTER_POLYMORPH1); + uint32 spellId2 = RAND(SPELL_SHORTENING_BLASTER_BIGGER2, SPELL_SHORTENING_BLASTER_SHRUNK2, SPELL_SHORTENING_BLASTER_YELLOW2, + SPELL_SHORTENING_BLASTER_GHOST2, SPELL_SHORTENING_BLASTER_POLYMORPH2); caster->CastSpell(caster, spellId, true); target->CastSpell(target, spellId2, true); |