Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to punish defenders with inventory loss when they are losing by too many points. #920

Merged
merged 5 commits into from
Aug 7, 2024

Conversation

LlmDl
Copy link
Member

@LlmDl LlmDl commented Aug 3, 2024

Description:


New Nodes/Commands/ConfigOptions:

  - keep_inventory_on_siegezone_death.disable_for_defenders.enable
    - Default: false
    - This feature, when enabled, will cause defenders to not keep their inventory if the Siege point balance is too far positive.
    - ie: They defenders are losing by a great number.
  - keep_inventory_on_siegezone_death.disable_for_defenders.threshold
    - Default: 500
    - The threshold required to cause defenders to lose their inventory. If the Siege point balance is equal to or greater than this number
      and disable_for_defenders is enabled, defenders will not keep their inventories.

Relevant Issue ticket:

Closes #919


  • I have tested this pull request for defects on a server.

By making this pull request, I represent that I have the right to waive copyright and related rights to my contribution, and agree that all copyright and related rights in my contributions are waived, and I acknowledge that the TownyAdvanced organization has the copyright to use and modify my contribution under the SiegeWar License for perpetuity.

@LlmDl LlmDl added this to the 2.13.0 milestone Aug 3, 2024
LlmDl added 2 commits August 3, 2024 09:14
Add the ability to determine the future points balance while mid-battle
session.
@LlmDl LlmDl force-pushed the feat/defenders_can_lose_inventories branch from 901ba8a to 0cbcdb6 Compare August 6, 2024 21:23
@LlmDl LlmDl merged commit 8777353 into master Aug 7, 2024
@LlmDl LlmDl deleted the feat/defenders_can_lose_inventories branch August 7, 2024 14:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant