Project

General

Profile

Bug #392 ยป 0056-rscompat-Add-Gain-Veterancy-action-enabler.patch

Marko Lindqvist, 04/13/2024 11:30 PM

View differences:

server/ruleset/rscompat.c
}
} unit_type_iterate_end;
enabler = action_enabler_new();
enabler->action = ACTION_GAIN_VETERANCY;
e_req = req_from_str("UnitFlag", "Local", FALSE, FALSE, FALSE,
"NoVeteran");
requirement_vector_append(&enabler->actor_reqs, e_req);
action_enabler_add(enabler);
enabler = action_enabler_new();
enabler->action = ACTION_ESCAPE;
e_req = req_from_str("UnitFlag", "Local", FALSE, TRUE, FALSE,
    (1-1/1)