Follow-up Comment #3, bug #24956 (project freeciv): > It didn't? if (tile_city(pdefender_tile)) { /* Reduce the chance of an attack by EFT_SPY_RESISTANT percent. */ chance -= chance * get_city_bonus(tile_city(pdefender_tile), EFT_SPY_RESISTANT) / 100; } else { /* Reduce the chance of an attack if BF_DIPLOMAT_DEFENSE is active. */ if (tile_has_base_flag_for_unit(pdefender_tile, unit_type_get(pdefender), BF_DIPLOMAT_DEFENSE)) { chance -= chance * 25 / 100; /* 25% penalty */ } }
_______________________________________________________ Reply to this item at: <http://gna.org/bugs/?24956> _______________________________________________ Message sent via/by Gna! http://gna.org/ _______________________________________________ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev