Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scripts/Spells: Updated paladin script for spell Blinding Light #30609

Merged
merged 4 commits into from
Feb 18, 2025

Conversation

aquadeus
Copy link
Contributor

Changes proposed:

  • Update paladin script for spell Blinding Light

Tests performed:

Tested in-game

}

void Register() override
{
OnEffectHitTarget += SpellEffectFn(spell_pal_blinding_light::HandleDummy, EFFECT_0, SPELL_EFFECT_APPLY_AURA);
OnHit += SpellHitFn(spell_pal_blinding_light::HandleOnHit);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why not OnEffectHitTarget? I'm curious

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, why?

Copy link
Contributor

@Nyr97 Nyr97 Feb 15, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think he might have a sort of mixed thought: since the triggered spell uses AoE target as TargetB, he might have thought that he doesn't need to hook to OnEffectHitTarget. However, the main spell uses TARGET_UNIT_CASTER, so OnEffectHitTarget should be ok here.

@Shauren Shauren merged commit 43c2f7e into TrinityCore:master Feb 18, 2025
3 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants