Created
September 13, 2010 16:22
-
-
Save DasBlub/577540 to your computer and use it in GitHub Desktop.
Quest 10427: Creatures of the Eco-Domes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: scripts/world/spell_scripts.cpp | |
=================================================================== | |
--- scripts/world/spell_scripts.cpp (revision 1833) | |
+++ scripts/world/spell_scripts.cpp (working copy) | |
@@ -32,6 +32,7 @@ | |
spell 46023 | |
spell 47575 | |
spell 50706 | |
+spell 35771 | |
spell 45109 | |
spell 45111 | |
EndContentData */ | |
@@ -235,6 +236,11 @@ | |
NPC_NEXUS_DRAKE_HATCHLING = 26127, | |
SPELL_RAELORASZ_FIREBALL = 46704, | |
+ // Quest "Creatures of the Eco-Domes" (10427) | |
+ SPELL_TAG_SUBBUED_TALBUK = 35771, | |
+ SPELL_TALBUK_TAGGING_CREDIT = 40347, | |
+ SPELL_SLEEP = 14915, | |
+ | |
// Quest "Disrupt the Greengill Coast" (11541) | |
SPELL_ORB_OF_MURLOC_CONTROL = 45109, | |
SPELL_GREENGILL_SLAVE_FREED = 45110, | |
@@ -618,6 +624,14 @@ | |
} | |
return true; | |
} | |
+ case SPELL_TAG_SUBBUED_TALBUK: | |
+ { | |
+ pCreatureTarget->CastSpell(pCreatureTarget, SPELL_SLEEP, true); | |
+ pCreatureTarget->AttackStop(); | |
+ pCreatureTarget->SetStandState(UNIT_STAND_STATE_DEAD); | |
+ pCaster->CastSpell(pCaster, SPELL_TALBUK_TAGGING_CREDIT, true); | |
+ return true; | |
+ } | |
case SPELL_ORB_OF_MURLOC_CONTROL: | |
{ | |
pCreatureTarget->CastSpell(pCaster, SPELL_GREENGILL_SLAVE_FREED, true); | |
Index: sql/mangos_scriptname_full.sql | |
=================================================================== | |
--- sql/mangos_scriptname_full.sql (revision 1833) | |
+++ sql/mangos_scriptname_full.sql (working copy) | |
@@ -131,7 +131,7 @@ | |
UPDATE creature_template SET ScriptName='npc_locksmith' WHERE entry IN (29665,29725,29728); | |
/* SPELL */ | |
-UPDATE creature_template SET ScriptName='spell_dummy_npc' WHERE entry IN (16880,1200,26616,26643,16518,25793,25758,25752,25792,25753,26421,26841,27808,27122,28068,12298,12296,24918,17326,17654,16847,18879,26270,26268,30146,25084,25085); | |
+UPDATE creature_template SET ScriptName='spell_dummy_npc' WHERE entry IN (16880,1200,26616,26643,16518,25793,25758,25752,25792,25753,26421,26841,27808,27122,28068,12298,12296,24918,17326,17654,16847,18879,26270,26268,30146,25084,25085,20610,20777); | |
UPDATE gameobject_template SET ScriptName='spell_dummy_go' WHERE entry IN (181616,186949); | |
/* */ | |
Index: sql/Updates/rXXXX_mangos.sql | |
=================================================================== | |
--- sql/Updates/rXXXX_mangos.sql (revision 0) | |
+++ sql/Updates/rXXXX_mangos.sql (revision 0) | |
@@ -0,0 +1 @@ | |
+UPDATE creature_template SET ScriptName='spell_dummy_npc' WHERE entry IN (20610,20777); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment