Impact of the target's intrigue on scheme exposure/discovery

  • We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

amigueloferreira

Private
43 Badges
Apr 19, 2022
20
83
  • Europa Universalis IV: Dharma
  • Crusader Kings II: Conclave
  • Europa Universalis IV: Mare Nostrum
  • Stellaris
  • Hearts of Iron IV: Cadet
  • Europa Universalis IV: Rights of Man
  • Stellaris - Path to Destruction bundle
  • Europa Universalis IV: Mandate of Heaven
  • Europa Universalis IV: Third Rome
  • BATTLETECH
  • Crusader Kings II: Jade Dragon
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Holy Fury
  • Europa Universalis IV: Golden Century
  • Age of Wonders: Planetfall
  • Age of Wonders: Planetfall Deluxe edition
  • Age of Wonders: Planetfall Premium edition
  • Age of Wonders: Planetfall Season pass
  • Age of Wonders: Planetfall - Revelations
  • Crusader Kings III
  • Crusader Kings III: Royal Edition
  • Europa Universalis 4: Emperor
  • Europa Universalis IV: Conquest of Paradise
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Crusader Kings II
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
  • Magicka
  • Europa Universalis IV: Res Publica
  • Europa Universalis IV: El Dorado
  • Crusader Kings II: Way of Life
  • Magicka 2
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
I'm trying to understand if the intrigue of the scheme's target actually has any impact on the chance of it being exposed.

From what I can gather from the code, the scheme can be exposed (i.e. discovered before being ready to be executed) by:

- the target's spymaster
- random events
- torturing an agent of the scheme
- Find secrets on the court of the scheme owner


Each hostile scheme has a
Code:
on_monthly
check where
Code:
hostile_scheme_discovery_chance_effect
is executed. Within this effect, the scheme can be exposed based on the target's spymaster intrigue skill and tasks (disrupt schemes increases the chance of exposing schemes)

I couldn't find anything in the code that hints at the fact that the target's intrigue has any impact on this.

Yet the in-game tooltip says so

1674573179177.png


In reality, from what I understand, it would only increase the scheme discovery chance if you are your liege's spymaster and only against schemes against him/her.


So, my question is:
1 - Is the scheme discovery/exposure logic being handled exclusively in jomini or is part of it done in the native code?
2 - If not, does the Scheme Discovery chance of the target even matter?