mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-18 19:35:42 +00:00
fix(Scripts/Dragonblight): quest Fresh Remounts (#22846)
This commit is contained in:
@@ -2240,6 +2240,27 @@ class spell_dragonblight_corrosive_spit : public AuraScript
|
||||
}
|
||||
};
|
||||
|
||||
// 48297 - Hand Over Reins
|
||||
enum HandOverReins
|
||||
{
|
||||
SPELL_ONSLAUGHT_RIDING_CROP = 48290
|
||||
};
|
||||
|
||||
class spell_handover_reins : public SpellScript
|
||||
{
|
||||
PrepareSpellScript(spell_handover_reins);
|
||||
|
||||
void HandleScriptEffect(SpellEffIndex /*effIndex*/)
|
||||
{
|
||||
GetCaster()->RemoveAura(SPELL_ONSLAUGHT_RIDING_CROP);
|
||||
}
|
||||
|
||||
void Register() override
|
||||
{
|
||||
OnEffectHitTarget += SpellEffectFn(spell_handover_reins::HandleScriptEffect, EFFECT_1, SPELL_EFFECT_SCRIPT_EFFECT);
|
||||
}
|
||||
};
|
||||
|
||||
void AddSC_dragonblight()
|
||||
{
|
||||
new npc_conversing_with_the_depths_trigger();
|
||||
@@ -2267,4 +2288,5 @@ void AddSC_dragonblight()
|
||||
RegisterSpellScript(spell_q12096_q12092_bark);
|
||||
new npc_torturer_lecraft();
|
||||
RegisterSpellScript(spell_dragonblight_corrosive_spit);
|
||||
RegisterSpellScript(spell_handover_reins);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user