I made this event to get claims in an specific province once it is adquired, adding "persistent = yes" so that it works any time a different country gets the province:
The problem is that once it runs I get multiple times (like 20 or so), I assume this is because of the new qualifier.
Since this event simply gives me a claim this problem it is only an annoyance, but in a different situation it could be a serious trouble, so I need to know how to fix this, any ideas?
Code:
#Core in Tangiers
event = {
id = 99999999
trigger = {
NOT = {
OR = {
core_national = { province = 732 data = -1 }
core_claim = { province = 732 data = -1 }
}
}
ownerchange = { province = 732 days = 1 }
}
province = 732 #Tangiers
name = "Core in Tangiers"
desc = "Core in Tangiers"
persistent = yes
date = { day = 1 month = january year = 1418 }
offset = 30
deathdate = { year = 1820 }
action_a = {
name = "Get core"
command = { type = addcore_claim which = 732 }
}
}
The problem is that once it runs I get multiple times (like 20 or so), I assume this is because of the new qualifier.
Since this event simply gives me a claim this problem it is only an annoyance, but in a different situation it could be a serious trouble, so I need to know how to fix this, any ideas?