From fb7a517f7b3164f5d824fefcb412ac0efbce0a50 Mon Sep 17 00:00:00 2001 From: Jeroen Schweitzer Date: Sat, 7 Feb 2026 17:58:56 +0100 Subject: [PATCH] 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 --- lords_of_ash/common/on_action/mistborn_on_actions.txt | 2 +- lords_of_ash/events/lord_ruler_events.txt | 2 +- lords_of_ash/events/mistborn_misc_events.txt | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lords_of_ash/common/on_action/mistborn_on_actions.txt b/lords_of_ash/common/on_action/mistborn_on_actions.txt index 6097119..9b92e64 100644 --- a/lords_of_ash/common/on_action/mistborn_on_actions.txt +++ b/lords_of_ash/common/on_action/mistborn_on_actions.txt @@ -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 = { diff --git a/lords_of_ash/events/lord_ruler_events.txt b/lords_of_ash/events/lord_ruler_events.txt index 656529e..0c62f07 100644 --- a/lords_of_ash/events/lord_ruler_events.txt +++ b/lords_of_ash/events/lord_ruler_events.txt @@ -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 diff --git a/lords_of_ash/events/mistborn_misc_events.txt b/lords_of_ash/events/mistborn_misc_events.txt index c89a02d..693c50c 100644 --- a/lords_of_ash/events/mistborn_misc_events.txt +++ b/lords_of_ash/events/mistborn_misc_events.txt @@ -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