Project

Profile

Help

HostedRedmine.com has moved to the Planio platform. All logins and passwords remained the same. All users will be able to login and use Redmine just as before. *Read more...*

Feature #877545 ยป 0003-get_fortified_defense_power-by-action-result.patch

Sveinung Kvilhaugsvik, 2020-06-14 11:27 AM

View differences:

common/combat.c
real_act = defender->activity;
utype = unit_type_get(defender);
if (uclass_has_flag(utype_class(utype), UCF_CAN_FORTIFY)
&& !utype_has_flag(utype, UTYF_CANT_FORTIFY)) {
if (utype_can_do_action_result(utype, ACTRES_FORTIFY)) {
defender->activity = ACTIVITY_FORTIFIED;
}
    (1-1/1)