Skip to content

DDR cf_preparesbattle #203

Oct 29, 2023 · 2 comments · 3 replies
Discussion options

You must be logged in to vote

Ok, checked this over in the original code and you are correct but it's much more straightforward than this. The code that prints the "prepares to do battle" text used in CheckPlace - checks the number of enemies at the location. So from the moment a lord moves in to battle via Attack or Approach, they will see this message. And they will see it for as long as the lord is in a location with an enemy.

I've obviously tried to simplify it to a flag so the GetInfo didn't need to be called, probably when merging LoM and DDR. I will alter this flag for mine. It affects this call from the UI.

It needs to be set as part of CMD_Attack / _Approach, and be set/reset at the end of the characters batt…

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@IcemarkUK
Comment options

Answer selected by IcemarkUK
@FrozenEmpire
Comment options

@IcemarkUK
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants