Feature #621 ยป 0004-Pass-target-unit-to-Heal_Unit_Pct-effects-as-other_c.patch
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)
|