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_excommunication_scholastic_debate_effect

petition_head_of_faith_excommunication_scholastic_debate_effect = yes

game/common/scripted_effects/11_petition_head_of_faith_effects.txt, line 287 (60 lines). No parameters.

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

The comment above it in the file

scholastic_debate argument (last resort). Learning duel vs Head of Faith. Reserved piety forfeited on failure (refunded on withdraw only). Petitioner scope.

What it does

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

The script as written (60 lines of game script)
petition_head_of_faith_excommunication_scholastic_debate_effect = {
	add_character_flag = petition_head_of_faith_argument_learning
	duel = {
		skill = learning
		target = var:petition_head_of_faith_recipient
		# Base 10/10 = 50% at equal skill, neutral disposition
		10 = {
			desc = petition_head_of_faith_duel_success
			compare_modifier = {
				value = scope:duel_value
				multiplier = 1
			}
			modifier = {
				top_participant_group:the_christian_church ?= {
					has_participant_group_parameter = the_christian_church_more_likely_to_accept_request_excommunications
				}
				add = 5
			}
			# Virtuous/sinful traits modify duel chance.
			modifier = {
				num_virtuous_traits >= 1
				add = 4
			}
			modifier = {
				num_virtuous_traits >= 2
				add = 4
			}
			modifier = {
				num_sinful_traits >= 1
				add = -4
			}
			modifier = {
				num_sinful_traits >= 2
				add = -4
			}
			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_excommunication_scholastic_debate_success_effect = yes
		}
		10 = {
			desc = petition_head_of_faith_argument_dismissed
			compare_modifier = {
				value = scope:duel_value
				multiplier = -1
			}
			petition_head_of_faith_excommunication_affront_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_excommunication_scholastic_debate_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?