Project

General

Profile

Feature #621 ยป 0004-Pass-target-unit-to-Heal_Unit_Pct-effects-as-other_c.patch

main - Alina Lenk, 05/15/2024 07:42 PM

View differences:

server/unithand.c
},
&(const struct req_context) {
.player = unit_owner(tgt_unit),
.city = tile_city(unit_tile(tgt_unit)),
.tile = unit_tile(tgt_unit),
.unit = tgt_unit,
.unittype = unit_type_get(tgt_unit),
},
EFT_HEAL_UNIT_PCT
) + 100)
    (1-1/1)