From 7f4b1d5bbe5d5b26bdcc73a6c59808ee4e3b8ce6 Mon Sep 17 00:00:00 2001 From: Mazik_kun <84410981+sumankun@users.noreply.github.com> Date: Sat, 23 Dec 2023 23:46:57 +0300 Subject: [PATCH] fixed undead children --- common/scripted_effects/wc_race_effects.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/common/scripted_effects/wc_race_effects.txt b/common/scripted_effects/wc_race_effects.txt index 5a07a062dc..d724eaa5ce 100644 --- a/common/scripted_effects/wc_race_effects.txt +++ b/common/scripted_effects/wc_race_effects.txt @@ -489,7 +489,10 @@ set_race_effect = { OR = { is_being_gene_trigger = { BEING = being_undead } has_trait_with_flag = undead_class - culture = { has_cultural_pillar = heritage_undead } + AND = { + culture = { has_cultural_pillar = heritage_undead } + age >= 16 + } } } become_undead_no_notification_event_effect = yes