待辦事項 #48261

Requirement to check ZOC

啟用日期: 2023-06-20 20:51 最後更新: 2023-06-20 20:51

回報者:
負責人:
(無)
類型:
狀態:
開啟
元件:
(無)
里程碑:
(無)
優先權:
5 - 中
嚴重程度:
5 - 中
處理結果:
檔案:

細節

I wish that the presence of a ZOC can be used as a requirement condition for effects or action enablers. Something like:

"UnitState", "InEnemyZOC" (adjacent enemy unit)
"UnitState", "InFriendlyZOC" (adjacent friendly unit)

My other related wish is an option to get that any unit that moves to an enemy zone of control is forced to end the movement (it loses all remaining mp, even units with Ignore ZOC, and even when moving to a tile with friendly units).

I think my 2nd wish could be implemented with the 1st:

action="Unit Move"
actor_reqs={"type","name","range","present"
"MinMoveFrags","1","Local",TRUE
"UnitState","Transported","Local",FALSE
"UnitState","InEnemyZOC","Local",FALSE
}

action="Unit Move"
actor_reqs={"type","name","range","present"
"MinMoveFrags","1","Local",TRUE
"UnitState","InEnemyZOC","Local",TRUE
"UnitState","MovedThisTurn","Local",FALSE
}

My 3th related wish is that units can get a defensive bonus when they are in a friendly ZOC (adjacent to friendly military units), or a penalty when attacking such units. I think it would be possible together with #47862

Btw, thank you for the modding capabilities of 3.1, specially the new action enablers.

Ticket History (1/1 Histories)

2023-06-20 20:51 Updated by: bard
  • New Ticket "Requirement to check ZOC" created

Attachment File List

No attachments

編輯

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » 登入