Skip to content

Commit

Permalink
Northrend: Script for quest 12813 moved to DB
Browse files Browse the repository at this point in the history
corrected
  • Loading branch information
Grz3s committed Oct 1, 2024
1 parent 80b5af2 commit 8e966a6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 24 deletions.
2 changes: 1 addition & 1 deletion sql/scriptdev2/scriptdev2.sql
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ UPDATE creature_template SET ScriptName='spell_dummy_npc' WHERE entry IN (
-- outland
16880,16518,16847,17157,17326,17654,18879,21729,24918,24922,25084,25085,
-- northrend
23678,25752,25753,25758,25792,25793,26268,26270,26421,26616,26643,26841,27122,27808,28053,28054,28068,28093,28465,28600,29319,29327,29329,29330,29338,30146,30169,32149);
23678,25752,25753,25758,25792,25793,26268,26270,26421,26616,26643,26841,27122,27808,28053,28054,28068,28093,28465,28600,29319,29327,30146,30169,32149);

UPDATE gameobject_template SET ScriptName='spell_dummy_go' WHERE entry IN (181616,186949);

Expand Down
23 changes: 0 additions & 23 deletions src/game/AI/ScriptDevAI/scripts/world/spell_scripts.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -239,11 +239,6 @@ enum
SAY_BLESS_4 = -1000597,
SAY_BLESS_5 = -1000598,

// quest 12813, by item 40587
SPELL_DARKMENDER_TINCTURE = 52741,
SPELL_SUMMON_CORRUPTED_SCARLET = 54415,
NPC_CORPSES_RISE_CREDIT_BUNNY = 29398,

// quest 12659, item 38731
SPELL_AHUNAES_KNIFE = 52090,
NPC_SCALPS_KILL_CREDIT_BUNNY = 28622,
Expand Down Expand Up @@ -507,24 +502,6 @@ bool EffectDummyCreature_spell_dummy_npc(Unit* pCaster, uint32 uiSpellId, SpellE
}
return true;
}
case SPELL_DARKMENDER_TINCTURE:
{
if (uiEffIndex == EFFECT_INDEX_0)
{
if (pCaster->GetTypeId() != TYPEID_PLAYER)
return true;

// TODO: find/fix visual for effect, no related spells found doing this

pCreatureTarget->CastSpell(pCreatureTarget, SPELL_SUMMON_CORRUPTED_SCARLET, TRIGGERED_OLD_TRIGGERED);

((Player*)pCaster)->KilledMonsterCredit(NPC_CORPSES_RISE_CREDIT_BUNNY);

pCreatureTarget->ForcedDespawn();
return true;
}
return true;
}
case SPELL_DISCIPLINING_ROD:
{
if (uiEffIndex == EFFECT_INDEX_0)
Expand Down

0 comments on commit 8e966a6

Please sign in to comment.