Function damage_first_entity_5

Source
pub fn damage_first_entity_5(
    ctx: &FightStartCtx<'_>,
) -> Result<Vec<OverlordEvent>>
Expand description

Port of the test fight start_behavior Result.push(OverlordEventDamage(Fight.entities[0].id, unsigned(5), CustomEventData())) — damages the first fight entity by 5. RNG-free; used by test_fighting::test_start_fight_script.