Script/Quest: replace wrong test spell used for quest "Red Snapper - Very Tasty!" with actual summoning.

The spell does not appear in sniffs, and the summoned NPC's spawn time was far too short to be appropriate (15 seconds).
(cherry picked from commit 0479f08c3c)

Script/Quest: fix and use proper serverside summon spell for quest "Red Snapper - Very Tasty!".
(cherry picked from commit 2f493430c9)
This commit is contained in:
SnapperRy
2016-09-10 01:13:35 +02:00
committed by joschiwald
parent 117b45d768
commit 1bb998f406
2 changed files with 4 additions and 3 deletions

View File

@@ -0,0 +1,2 @@
--
-- UPDATE `spell_dbc` SET `Effect1`=28, `EffectMiscValueB1`=64 WHERE `Id`=29869;

View File

@@ -1078,9 +1078,8 @@ class spell_q14112_14145_chum_the_water: public SpellScriptLoader
enum RedSnapperVeryTasty
{
ITEM_RED_SNAPPER = 23614,
SPELL_CAST_NET = 29866,
SPELL_NEW_SUMMON_TEST = 49214
SPELL_FISHED_UP_MURLOC = 29869
};
class spell_q9452_cast_net: public SpellScriptLoader
@@ -1103,7 +1102,7 @@ class spell_q9452_cast_net: public SpellScriptLoader
if (roll_chance_i(66))
caster->AddItem(ITEM_RED_SNAPPER, 1);
else
caster->CastSpell(caster, SPELL_NEW_SUMMON_TEST, true);
caster->CastSpell(caster, SPELL_FISHED_UP_MURLOC, true);
}
void HandleActiveObject(SpellEffIndex effIndex)