Module ability_stones

Source
Expand description

Resolution of ability-stone modifiers: which stones are ACTIVE on an ability right now, and what numbers they change.

Only the sockets whose side matches the currently active WorldSide count, so a flip changes the effective stone set without touching the ability itself. Sockets above the ability’s level are closed and contribute nothing even if a stone sits in them.

Structs§

AbilityStoneResolver
Everything needed to resolve a caster’s ability-stone modifiers at cast time. Combatants without an owner character state (mobs, arena filler bots) use AbilityStoneResolver::none and always get identity modifiers.

Functions§

resolver_for_caster
Resolver for one caster in an active fight.