diff options
| author | offl <11556157+offl@users.noreply.github.com> | 2025-05-09 21:18:02 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-05-09 20:18:02 +0200 |
| commit | 71a8e05fed91714373e6c885709867cac77045bb (patch) | |
| tree | ec970a3f4a2178cd5706177a78be59ee814be9ec /src/server/scripts/Events | |
| parent | 5ed83ed27c676ae2dcf661409550ce0fcbffe5c8 (diff) | |
Scripts/Spells: Implement generic spell script to cancel aura by id from spell effect basepoints (#30908)
Diffstat (limited to 'src/server/scripts/Events')
| -rw-r--r-- | src/server/scripts/Events/love_is_in_the_air.cpp | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/src/server/scripts/Events/love_is_in_the_air.cpp b/src/server/scripts/Events/love_is_in_the_air.cpp index c79aea25f16..2eb6c184f62 100644 --- a/src/server/scripts/Events/love_is_in_the_air.cpp +++ b/src/server/scripts/Events/love_is_in_the_air.cpp @@ -158,27 +158,6 @@ enum SomethingStinks SPELL_HEAVILY_PERFUMED = 71507 }; -// 70192 - Fragrant Air Analysis -class spell_love_is_in_the_air_fragrant_air_analysis : public SpellScript -{ - PrepareSpellScript(spell_love_is_in_the_air_fragrant_air_analysis); - - bool Validate(SpellInfo const* spellInfo) override - { - return ValidateSpellInfo({ uint32(spellInfo->GetEffect(EFFECT_0).CalcValue()) }); - } - - void HandleScript(SpellEffIndex /*effIndex*/) - { - GetHitUnit()->RemoveAurasDueToSpell(uint32(GetEffectValue())); - } - - void Register() override - { - OnEffectHitTarget += SpellEffectFn(spell_love_is_in_the_air_fragrant_air_analysis::HandleScript, EFFECT_0, SPELL_EFFECT_SCRIPT_EFFECT); - } -}; - // 71507 - Heavily Perfumed class spell_love_is_in_the_air_heavily_perfumed : public AuraScript { @@ -346,7 +325,6 @@ void AddSC_event_love_is_in_the_air() { RegisterSpellScript(spell_love_is_in_the_air_romantic_picnic); RegisterSpellScript(spell_love_is_in_the_air_create_heart_candy); - RegisterSpellScript(spell_love_is_in_the_air_fragrant_air_analysis); RegisterSpellScript(spell_love_is_in_the_air_heavily_perfumed); RegisterSpellScript(spell_love_is_in_the_air_recently_analyzed); RegisterSpellScript(spell_love_is_in_the_air_sample_satisfaction); |
