fix(events): use has_character_modifier and add_character_modifier

CK3 1.18 requires the full has_character_modifier and
add_character_modifier forms. The shorthand has_modifier and
add_modifier are not valid in character scope.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-07 17:58:56 +01:00
co-authored by Claude Opus 4.6
parent fd0e1181d7
commit fb7a517f7b
3 changed files with 4 additions and 4 deletions
@@ -80,7 +80,7 @@ on_yearly_pulse = {
has_trait = trait_misting_augur
has_trait = trait_misting_oracle
}
NOT = { has_modifier = compounder_modifier }
NOT = { has_character_modifier = compounder_modifier }
NOT = { has_character_flag = compounding_check_done }
}
trigger_event = {
+1 -1
View File
@@ -560,7 +560,7 @@ mistborn_lord_ruler.0040 = {
# Being a Compounder
if = {
limit = {
has_modifier = compounder_modifier
has_character_modifier = compounder_modifier
}
change_variable = {
name = lord_ruler_attention
+2 -2
View File
@@ -162,7 +162,7 @@ mistborn_misc.0010 = {
has_trait = trait_misting_oracle
}
has_trait = trait_feruchemist
NOT = { has_modifier = compounder_modifier }
NOT = { has_character_modifier = compounder_modifier }
NOT = { has_character_flag = compounding_check_done }
}
@@ -176,7 +176,7 @@ mistborn_misc.0010 = {
# Option A: Embrace the power
option = {
name = mistborn_misc.0010.a
add_modifier = {
add_character_modifier = {
modifier = compounder_modifier
}
add_prestige = 200