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

Arsakes

Second Lieutenant
9 Badges
Mar 29, 2008
131
24
  • Crusader Kings II
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Stellaris
  • Stellaris - Path to Destruction bundle
  • Imperator: Rome
One line summary of your issue
`damage_unit` doesn't work properly

Game Version
2.8.3.2

What expansions do you have installed?

Monks & Mystics,
Horse Lords,
The Old Gods,
The Republic,
Legacy of Rome,
Sword of Islam

Do you have mods enabled?
No

Please explain your issue is in as much detail as possible.
Modding command :
Code:
damage_unit = {
    type = <unit_type>
     amount =  <value>
}
doesn't work properly, setting specific unit type doesn't change anything - every troop type is affected.

Steps to reproduce the issue.
Create an event that have following command in option:
Code:
any_controlled_unit = {
 damge_unit = { type = heavy_infantry amount = 100 } 
}
And trigger this event on a commander with light troops to see they are affected anyway.

Upload Attachment
 
Upvote 0