From af2bce38940693aafbe7964f35969b14e775a5a2 Mon Sep 17 00:00:00 2001 From: Sveinung Kvilhaugsvik Date: Wed, 10 Feb 2021 12:31:07 +0100 Subject: [PATCH 1/3] Clarify that granularity can't autoattack. No action in granularity's attack_actions is enabled. Comment it and the now unused if_attacker out like it is in stub. See osdn #41541 --- data/granularity/game.ruleset | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/data/granularity/game.ruleset b/data/granularity/game.ruleset index 64e3014783..349a110503 100644 --- a/data/granularity/game.ruleset +++ b/data/granularity/game.ruleset @@ -235,13 +235,13 @@ nuke_defender_survival_chance_pct = 0 ; if_attacker - this requirement vector must be true before a unit even ; considers to auto attack. -attack_actions= "Capture Units", "Bombard", "Attack", "Suicide Attack" +;attack_actions = "Capture Units", "Bombard", "Attack", "Suicide Attack" -if_attacker = - { "type", "name", "range", "present" - "DiplRel", "War", "Local", TRUE - "MinMoveFrags", "1", "Local", TRUE - } +;if_attacker = +; { "type", "name", "range", "present" +; "DiplRel", "War", "Local", TRUE +; "MinMoveFrags", "1", "Local", TRUE +; } [actions] ; Forbid regular unit move if one of the actions below is legal. -- 2.20.1