Skip to content

Lua: Automatically kill a portion of excess units above max stack limit before attacks #7

@XHawk87

Description

@XHawk87

Discussion on Discord

  • The maximum stack limit before the mass kill penalty is 10.
  • The Palace grants +20 to the maximum stack limit.
  • The number of killed units is sqrt(# units on tile - max stack limit) rounded down.
  • Units to be killed are selected at random from all units on the tile.
  • A notification message is sent out to the owner and attacker when this occurs showing how many excess units died.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions