Function init_fight

Source
pub fn init_fight(
    sink: &mut dyn FightSink,
    lookups: &ContentLookups,
    fight: &ActiveFight,
    state: &OverlordState,
    fight_template_id: Uuid,
) -> Result<(), Error>
Expand description

Native: emit the per-entity init events for a fight (regen effect, low-chapter effect, party power adjustment, dungeon/boss talent attack mods). No RNG, no effect callbacks. fight supplies player/party ids + the entity roster + party_adjusted_power; reads talent levels / chapter from state.