Short summary of your issue Berserker 'head ripped off' event has bad code causing it to be up to 33x more likely than intended
Game Version 1.2.1
What OS are you playing on?
Windows
What platform are you using?
Windows Store
Do you have mods enabled? No
Have you tried verifying your game files (Steam only)?
No
How much "pain" is this causing you?
6
Please explain the issue you experienced in the most condensed way possible
Berserkers have a bugged event that makes them wipe out whole sides in a combat
Please explain how to reproduce the issue
Play the game and fight with Berserkers with the Stalwart Leader perk
Is there anything else you think could help us identify/replicate the issue?
See code below
Looks like someone copied and pasted some of the wrong stuff from the code that applied the Stalwart Leader perk 30 or so lines up:
I have attached a save game
No
Game Version 1.2.1
What OS are you playing on?
Windows
What platform are you using?
Windows Store
Do you have mods enabled? No
Have you tried verifying your game files (Steam only)?
No
How much "pain" is this causing you?
6
Please explain the issue you experienced in the most condensed way possible
Berserkers have a bugged event that makes them wipe out whole sides in a combat
Please explain how to reproduce the issue
Play the game and fight with Berserkers with the Stalwart Leader perk
Is there anything else you think could help us identify/replicate the issue?
See code below
Code:
30 = { # Berserkers rip people's heads off
trigger = {
has_trait = berserker
scope:combat_side.enemy_side = {
any_side_knight = {
is_alive = yes
this.prowess <= { value = root.prowess multiply = 0.8 }
}
}
}
# BEGIN BAD CODE
# WHAT!!?!? Instead of a chance of 30 it becomes 1030 (for player) or 330 (for AI) as a base before multipliers if the Berserker has the Stalwart Leader perk!?!?!
modifier = {
add = 1000
has_perk = stalwart_leader_perk
is_ai = no
}
modifier = {
add = 300
has_perk = stalwart_leader_perk
is_ai = yes
}
# END BAD CODE
modifier = {
factor = 2
has_trait = wrathful
}
modifier = {
factor = 10
has_trait = giant
}
modifier = {
factor = 1.25
has_trait_rank = {
trait = wounded
rank = 1
}
}
modifier = {
factor = 1.25
has_trait_rank = {
trait = wounded
rank = 2
}
}
modifier = {
factor = 1.25
has_trait_rank = {
trait = wounded
rank = 3
}
}
modifier = {
factor = 0.25
OR = {
has_trait = one_legged
has_trait = disfigured
has_trait = one_eyed
has_trait = maimed
}
}
...
Looks like someone copied and pasted some of the wrong stuff from the code that applied the Stalwart Leader perk 30 or so lines up:
Code:
2000 = { # Nothing happens
modifier = {
add = 1000
has_perk = stalwart_leader_perk
is_ai = no
}
modifier = {
add = 300
has_perk = stalwart_leader_perk
is_ai = yes
}
I have attached a save game
No
- 6