• 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.

Nightcap

Colonel
42 Badges
Oct 6, 2003
850
472
  • BATTLETECH
  • Victoria 2
  • 500k Club
  • Europa Universalis IV: El Dorado
  • Crusader Kings II: Way of Life
  • Pillars of Eternity
  • Crusader Kings II: Horse Lords
  • Crusader Kings II: Conclave
  • Crusader Kings II: Reapers Due
  • Tyranny: Archon Edition
  • Crusader Kings II: Monks and Mystics
  • Europa Universalis IV: Res Publica
  • Tyranny - Bastards Wound
  • Age of Wonders III
  • Crusader Kings II: Jade Dragon
  • BATTLETECH - Digital Deluxe Edition
  • BATTLETECH: Flashpoint
  • Prison Architect
  • BATTLETECH: Season pass
  • BATTLETECH: Heavy Metal
  • Crusader Kings III
  • Europa Universalis III: Chronicles
  • 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
  • Diplomacy
  • Europa Universalis III
  • Crusader Kings II
  • Divine Wind
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
  • Heir to the Throne
  • Magicka
  • Naval War: Arctic Circle
Version: Vanilla 1.03b
Orignal thread where problem was identified: [thread=3216581][Here][/thread]

the command pop_militancy is broken. It does not check the where parameter.

The "Uprising in Canada" event has the following effect for option B. This should raise the militancy for all POPs in Quebec and Ontario by +2. However what it actually does is raise the MIL for all POPs in all states in the UK by +4 (+2 for each command event)

Code:
command = { type = pop_militancy which = 100 value = 2 where = 152 }
command = { type = pop_militancy which = 100 value = 2 where = 174 }

A test event like the one below demonstrates this problem by raising the militancy for any country if you manually fire it, even if you don't own the provinces in the where parameter.

Code:
event = {
  id = 90000
  random = no

  name = "MIL Test"
  desc = "MIL Test"
  style = 0

  action_a = {
    command = { type = pop_militancy which = 100 value = 2 where = 152 }
    command = { type = pop_militancy which = 100 value = 2 where = 174 } 
  }
}

Changing one of the commands to command = { type = pop_militancy which = capitalists value = 2 where = 174 } still ignores the where parameter and alters the MIL of all capitalists in the country.
 
Upvote 0