Monday, February 19, 2024

Proposal: Untitled Battle Algorithm Proposal

Popular, 3-0 with 1 DEF. Enacted by JonathanDark.

Adminned at 21 Feb 2024 14:03:13 UTC

In the rule “Herald”, replace “Set those Enemies to be the new Building Wave” with:

Put those Enemies in a random order and set them to be the new Building Wave


In the rule “Structures”, replace “Structures, which is a list” or “Structures, which is a publicly-tracked list”, whichever is present, with:

Structures, which is a publicly-tracked ordered list

In the rule “Structures”, to the end of the paragraph that begins “Each Vassal has Structures”, add:

The last entry in a Vassal’s Structures is said to be its outermost Structure, and the first is said to be its innermost Structure.

If all Effective Vote Comments on this proposal contain the string “REVERSE”, swap the words “outermost” and “innermost” in the rule “Structures”.


In the rule “Waves”, after “When a Wave is Charged, the Enemies who are participating in that Wave attack the castle of each Vassal”, add:

The result of the attack is resolved separately for each Vassal using the following atomic action:
*for each Structure from outermost to innermost in the Vassal’s Structures, do the following:
**for each Theatre in the orded Air, Land, Sea, with the Structure’s respective Defensive Value as Defense, do the following:
***for each Enemy that has the Theatre, from first to last, do the following:
****if the Enemy’s Strength is less than Defense, subtract the Enemy’s Strength from Defense and set the Enemy’s Strength to zero
****otherwise, subtract Defense from the Enemy’s Strength and set Defense to zero
*add the sum of the Strengths of all Enemies in the Wave to the Vassal’s Damage
*set all Structure’s Defensive Values and Enemies’ Strengths back to the values they had before performing this action

Throughout the dynastic ruleset, replace “Attack Strength” with “Strength”

If the proposal “Bigger Walls” was not enacted, the rest of this proposal has no effect.

In the rule “Structures”, replace “a new entry to their Structures” with:

a new entry to any position in their Structures

In the rule “Waves”, replace “for each Enemy that has the Theatre” with:

for each Enemy that has the Theatre and whose Size is at most the Structure’s Size

Summary:
-Structures work against Enemies with at least one matching Theatre
-The maximum amount of Defense a Structure can provide is the total of its Defensive Values
-Stopping bigger Enemies requires bigger buildings
-Structures aren’t damaged permanently
-Structures and Waves are ordered to reduce ambiguity, which can also affect the outcome of a battle

Comments

Josh: he/they

20-02-2024 09:17:28 UTC

imperial

JonathanDark: he/him

20-02-2024 13:54:20 UTC

*add the sum of the Strengths of all Enemies in the Wave to the Vassal’s Damage

I know it’s too late to change this Proposal, but there seems to be a missing variable called “Damage”. What was the intention of this variable: to track damage over time by successive waves, or just damage in a single wave? What are the intended consequences?

JonathanDark: he/him

20-02-2024 21:02:30 UTC

Also, I realized Size of Structures isn’t publicly tracked either.

JonathanDark: he/him

20-02-2024 21:07:19 UTC

Oh wait, I see the problem. It is publicly tracked, but the format is overriding the tracking. I’ll fix that myself.

JonathanDark: he/him

21-02-2024 01:29:27 UTC

for

As before, let’s get something in and then tweak it to our liking.

naught:

21-02-2024 12:10:02 UTC

for