Skip to content
This repository has been archived by the owner on Feb 29, 2024. It is now read-only.

Commit

Permalink
Server/Quests: The Woodland Protector
Browse files Browse the repository at this point in the history
Closes: #1084
  • Loading branch information
AriDEV3 committed Nov 14, 2023
1 parent a811460 commit 56a6f69
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions sql/updates/world/2023_11_14_world_03.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
DELETE FROM `spell_area` WHERE `spell`=92237 AND `area`=257;
INSERT INTO `spell_area` (`spell`, `area`, `quest_start`, `quest_end`, `aura_spell`, `racemask`, `gender`, `autocast`, `quest_start_status`, `quest_end_status`) VALUES
(92237, 257, 0, 0, 0, 0, 2, 1, 64, 11);
6 changes: 6 additions & 0 deletions src/server/game/Spells/Auras/SpellAuraEffects.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5457,6 +5457,12 @@ void AuraEffect::HandlePeriodicTriggerSpellAuraTick(Unit* target, Unit* caster)
// Spell exist but require custom code
switch (auraId)
{
// Summon Tarindrella Aura
case 92237:
{
if (caster->FindNearestCreature(49480, 15.0f, true))
return;
}
// Pursuing Spikes (Anub'arak)
case 65920:
case 65922:
Expand Down

0 comments on commit 56a6f69

Please sign in to comment.