Skip to content

EffectTimer getters, Delay::trigger_immediately, and assorted cleanup. - #5

Merged
AlephCubed merged 7 commits into
mainfrom
cleanup
Jan 26, 2026
Merged

EffectTimer getters, Delay::trigger_immediately, and assorted cleanup.#5
AlephCubed merged 7 commits into
mainfrom
cleanup

Conversation

@AlephCubed

Copy link
Copy Markdown
Owner
  • Added get_timer, get_mode, and mutable equivelents to EffectTimer trait.
  • Added default implementation for EffectTimer::merge.
  • Fixed warning message referencing old StatusEffectPlugin instead of AlchemyPlugin.
  • Added Delay::trigger_immediately builder method.
    • This is now used in both poison examples.
  • Removed register_timer_merge_functions in favor of merge_effect_timer.
// Before:
register_timer_merge_functions(&mut registry);
// After:
registry
    .register::<Lifetime>(merge_effect_timer::<Lifetime>)
    .register::<Delay>(merge_effect_timer::<Delay>);
  • Made merge_effect_stacks public.
  • Implemented Add<Self>, AddAssign<Self>, From<u8>, and Into<u8> for EffectStacks.
  • Various documentation and examples cleanup.

@AlephCubed
AlephCubed merged commit 7a0d076 into main Jan 26, 2026
0 of 3 checks passed
@AlephCubed
AlephCubed deleted the cleanup branch January 26, 2026 22:02
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.

1 participant