CK3 DatabaseCrusader Kings III · 1.20.1.2 “Crozier” · unofficial
Silk & Silverout Tue, Nov 17What's free, what needs the DLC, price →

Scripted effect

petition_head_of_faith_repentance_canon_law_duel_effect

petition_head_of_faith_repentance_canon_law_duel_effect = yes

game/common/scripted_effects/11_petition_head_of_faith_effects.txt, line 679 (50 lines). No parameters.

petition_head_of_faith_repentance_canon_law_duel_effect is a scripted effect in Crusader Kings III, written at line 679 of its file. It takes no parameters: petition_head_of_faith_repentance_canon_law_duel_effect = yes. The game's script calls it in 2 places, among them The Confession (event petition_head_of_faith.5000) and The Confession (event petition_head_of_faith.7000). Patch 1.20.1.2, from game/common/scripted_effects/11_petition_head_of_faith_effects.txt.

The comment above it in the file

canon_law argument. Learning duel about whether the excommunication was valid.

What it does

Every line of it is script with no tooltip text: the script is below.

The script as written (50 lines of game script)
petition_head_of_faith_repentance_canon_law_duel_effect = {
	add_character_flag = petition_head_of_faith_argument_canon_law
	duel = {
		skill = learning
		target = var:petition_head_of_faith_recipient
		# 14/10 base weight.
		14 = {
			desc = petition_head_of_faith_repentance_duel_success
			compare_modifier = {
				value = scope:duel_value
				multiplier = 1
			}
			# Learning education bonus by level.
			modifier = {
				has_trait = education_learning_5
				add = 8
			}
			modifier = {
				has_trait = education_learning_4
				add = 6
			}
			modifier = {
				has_trait = education_learning_3
				add = 3
			}
			modifier = {
				petition_head_of_faith_disposition_favorable_trigger = yes
				add = 5
			}
			modifier = {
				petition_head_of_faith_disposition_skeptical_trigger = yes
				add = -3
			}
			modifier = {
				petition_head_of_faith_disposition_hostile_trigger = yes
				add = -8
			}
			min = 1
			petition_head_of_faith_repentance_canon_law_success_effect = yes
		}
		10 = {
			desc = petition_head_of_faith_repentance_duel_failure
			compare_modifier = {
				value = scope:duel_value
				multiplier = -1
			}
			petition_head_of_faith_repentance_canon_law_failure_effect = yes
		}
	}
}

As written in game/common/scripted_effects/11_petition_head_of_faith_effects.txt.

Where it is used

Every place in common/, events/ and history/ that calls petition_head_of_faith_repentance_canon_law_duel_effect.

Events (2)

Source: game/common/scripted_effects/11_petition_head_of_faith_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.

Spotted a mistake on this page?