Skip to content

[core] Interrupt petskills with sleep/stun/etc during completion - #10915

Merged
Xaver-DaRed merged 1 commit into
LandSandBoat:basefrom
WinterSolstice8:petskill_stun_sleep_etc
Jul 27, 2026
Merged

[core] Interrupt petskills with sleep/stun/etc during completion#10915
Xaver-DaRed merged 1 commit into
LandSandBoat:basefrom
WinterSolstice8:petskill_stun_sleep_etc

Conversation

@WinterSolstice8

Copy link
Copy Markdown
Contributor

I affirm:

  • I understand that if I do not agree to the following points by completing the checkboxes my PR will be ignored.
  • I understand I should leave resolving conversations to the LandSandBoat team so that reviewers won't miss what was said.
  • I have read and understood the Contributing Guide and the Code of Conduct.
  • I have tested my code and the things my code has changed since the last commit in the PR and will test after any later commits.

What does this pull request do?

Apparently we forgot to add the sleep/stun etc check for petskills

Steps to test these changes

image

@Xaver-DaRed
Xaver-DaRed enabled auto-merge July 26, 2026 23:10
if (m_PEntity && m_PEntity->isAlive() && (tick > GetEntryTime() + m_castTime && !IsCompleted()))
{
// Check for stun/sleep/hysteria/etc at the moment of skill completion - Cleanup handles the interrupt
if (m_PEntity->StatusEffectContainer->HasPreventActionEffect() || m_PEntity->StatusEffectContainer->HasStatusEffect(xi::StatusEffect::Hysteria))

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Dont want to open a can of worms but shouldn't Amnesia be there too?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Good question. I don't actually know other than for player wyverns

@Xaver-DaRed
Xaver-DaRed merged commit c2e2466 into LandSandBoat:base Jul 27, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants