Skip to content

Commit

Permalink
Revert "Feralas: Spell 11886 Updated for 3.2.x"
Browse files Browse the repository at this point in the history
This reverts commit 698a6d6.
  • Loading branch information
Grz3s committed Sep 1, 2023
1 parent 0c2d758 commit 0d4e3e1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion sql/scriptdev2/spell.sql
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ INSERT INTO spell_scripts(Id, ScriptName) VALUES
(12948,'spell_hakkar_summoned'),
(13278,'spell_gdr_channel'),
(13493,'spell_gdr_periodic'),
(11886,'spell_capture_beast'),
(11886,'spell_capture_wildkin'),
(11887,'spell_capture_hippogryph'),
(11888,'spell_capture_faerie_dragon'),
(11885,'spell_capture_treant'),
Expand Down
6 changes: 3 additions & 3 deletions src/game/AI/ScriptDevAI/scripts/kalimdor/feralas.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -589,9 +589,9 @@ struct SpecificTargetScript : public SpellScript
}
};

struct CaptureBeast : public SpecificTargetScript // 11886
struct CaptureWildkin : public SpecificTargetScript // 11886
{
std::set<uint32> m_targets = { 5268, 5286 };
std::set<uint32> m_targets = { 2927, 2928, 7808 };

std::set<uint32> const& GetRequiredTargets() const override { return m_targets; }
};
Expand Down Expand Up @@ -655,7 +655,7 @@ void AddSC_feralas()
pNewScript->pGOUse = &GOUse_go_cage_door;
pNewScript->RegisterSelf();

RegisterSpellScript<CaptureBeast>("spell_capture_beast");
RegisterSpellScript<CaptureWildkin>("spell_capture_wildkin");
RegisterSpellScript<CaptureHippogryph>("spell_capture_hippogryph");
RegisterSpellScript<CaptureFaerieDragon>("spell_capture_faerie_dragon");
RegisterSpellScript<CaptureTreant>("spell_capture_treant");
Expand Down

0 comments on commit 0d4e3e1

Please sign in to comment.