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:
@@ -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 = {
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user