manabrew_engine/ability/effects/replace_counter_effect.rs
1//! ReplaceCounter effect — replace counter placement with another effect.
2//!
3//! Ported from Java's `ReplaceCounterEffect.java`.
4
5use super::EffectContext;
6
7/// Struct form of this effect so it can participate in the
8/// `SpellAbilityEffect` trait hierarchy — mirrors Java's
9/// `ReplaceCounterEffect` class extending `SpellAbilityEffect`.
10#[manabrew_engine_macros::spell_effect(ReplaceCounterEffect)]
11fn resolve(_ctx: &mut EffectContext, _sa: &crate::spellability::SpellAbility) {
12 // Counter replacement is handled by the replacement handler system.
13}