//! StaticAbilityApiBased — static abilities backed by an API type.
//!
//! Mirrors Java's `StaticAbilityApiBased.java`.
//! A static ability whose resolution is dispatched through the effect
//! system based on its `ApiType`.
use crateSpellAbility;
/// Marker trait for API-based static abilities.
///
/// In Java, `StaticAbilityApiBased extends AbilityStatic` and holds a
/// reference to `SpellAbilityEffect`. In Rust the dispatch is centralized
/// in `effect_dispatch!`, so this provides structural parity.
/// Resolve an API-based static ability.
/// Mirrors Java's `StaticAbilityApiBased.resolve()` which delegates to its effect.
///
/// In the Rust engine, resolution is centralized in `effects::resolve_effect`.