﻿# Returns the skill level of the chief ambassador on a scale from
# 0 (min skill) to 1 (most skill). In terms of diplomacy level
# this translates to (10, 50).
# scope:councillor = councillor_chief_ambassador
chief_ambassador_skill_factor = {
	scope:councillor = {
		value = diplomacy
		subtract = 10
		divide = 40
		min = 0
		max = 1
	}
}

# The increase in attraction_opinion granted by
# task_spread_propaganda.
# Range: [5, 25]
task_spread_propaganda_attraction_opinion = {
	value = 5
	add = {
		value = 20
		multiply = chief_ambassador_skill_factor
	}
}

# The increase in legitimacy_gain_mult granted by
# task_spread_propaganda.
# Range: [0.05, 0.25]
task_spread_propaganda_legitimacy_gain_mult = {
	value = 0.05
	add = {
		value = 0.2
		multiply = chief_ambassador_skill_factor
	}
}

# The decrease in fascinare scheme power granted by
# task_spread_propaganda.
# Range: [0, 20]
task_spread_propaganda_fascinare_power_add = {
	value = 0
	add = {
		value = 20
		multiply = chief_ambassador_skill_factor
	}
}
