• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

AAEmu / AAEmu / 27290291215

10 Jun 2026 04:27PM UTC coverage: 4.859% (+0.02%) from 4.842%
27290291215

push

github

web-flow
feat(game): NPC crowd-control & forced-movement effects (Pull / Lift / Knockback / Dash / Leap / Fear) (#1439)

* Add SkillController/DisplacedUntil infrastructure for CC + forced-movement effects

Foundational plumbing the upcoming Pull/Lift/Knockback/Dash/Leap effects
rely on. Pure infrastructure — no observable behaviour change on its
own; the actual effects use these hooks in follow-up commits.

- Unit.DisplacedUntil (nullable DateTime). Set by knockback / impulse
  effects to a short future time; the Npc movement gate reads it and
  suppresses AI movement until it elapses so the displacement
  animation actually plays out client-side before the AI walks back.
- Npc.MoveTowards: two new early-return gates at the top of the
  method, BEFORE the speed multiplier — if an ActiveSkillController is
  in the Running state OR DisplacedUntil is in the future, AI
  movement is skipped this tick. Existing Stun/Sleep/Root/Knockdown/
  Fastened and Shackle/Snare guards remain untouched. The trailing
  redundant ActiveSkillController check from the original method is
  removed.
- BaseCombatBehavior.MoveInRange: matching DisplacedUntil early-return
  so the combat behaviour does not try to chase the target while the
  NPC is mid-knockback. CanUseSkill already had the Stun/Sleep/Silence
  and ActiveSkillController guards — no edit there.
- SkillController base: new SourceBuffId property. When a controller
  is created by a buff start hook, the buff id is propagated so the
  controller can ignore the very buff that started it during CC
  re-checks (a pull buff that also stuns should not cancel its own
  pull). Factory now wires Floating, Wandering, Leap, Dash instead of
  just Leap; default arguments on CreateSkillController keep the
  existing call site in Skill.cs working unchanged.

Co-Authored-By: Evenstone <evenstone@noreply.users.github.com>

* Implement KnockBack, ImpulseEffect, PhysicalExplosion, Blink for NPCs

Replaces the four upstream stubs with real s... (continued)

38 of 804 new or added lines in 18 files covered. (4.73%)

18 existing lines in 8 files now uncovered.

3286 of 67622 relevant lines covered (4.86%)

0.05 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/AAEmu.Game/Models/Game/Skills/SkillControllers/SkillController.cs


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc