Module combat

Source
Expand description

Combat behaviors: ability/projectile casts, fight start, and effect ticks.

Modules§

cast_ability
Native ports for the cast_ability category — ability scripts (the CastAbility event handler, run via run_event in logic::fighting::handle_cast_ability, returning Vec<OverlordEvent>).
cast_projectile
Native ports for the cast_projectile category — projectile scripts (the CastProjectile event handler, run via run_event in logic::fighting::handle_cast_projectile, returning Vec<OverlordEvent>).
effects
Native ports for the event category — effect scripts (run via run_event, returning Vec<OverlordEvent>).
fight_start
Native ports for the fight_start category — a fight template’s start_behavior (run via run_event, returning Vec<OverlordEvent>).
start_cast
Native ports for the start_cast_ability category — ability start_behavior (run via run_start_cast_ability, returns Vec<StartCastAbilityResult>).