Hi. So I've made a new ability. It shows up on the action bar just fine, it executes fine too.
It is configured to do the following (targetFilter assigned to Planet, scanned by ApplyBuffToLocalOrbitBody):
numEntityModifiers 4
entityModifier
buffEntityModifierType "PlanetResourceOutput"
value
Level:0 0.133333
Level:1 0.000000
Level:2 0.000000
Level:3 0.000000
entityModifier
buffEntityModifierType "PlanetTaxRate"
value
Level:0 0.133333
Level:1 0.000000
Level:2 0.000000
Level:3 0.000000
entityModifier
buffEntityModifierType "RefineryIncome"
value
Level:0 2.133333
Level:1 0.000000
Level:2 0.000000
Level:3 0.000000
entityModifier
buffEntityModifierType "TradeIncome"
value
Level:0 0.133333
Level:1 0.000000
Level:2 0.000000
Level:3 0.000000
numEntityBoolModifiers 0
numFinishConditions 1
finishCondition
finishConditionType "TimeElapsed"
time
Level:0 10.000000
Level:1 0.000000
Level:2 0.000000
Level:3 0.000000
I changed the 'RefineryIncome' to over 200% because it is not having any effect. And I would like to understand why it is not working. It looks like only PlanetTaxRate and PlanetResourceOutput are working.
Despite the planet hud information popup stating that the Planets Refinery Income is over 200%, it does not actually change the income of the refineries. Why?
I have tried changing the targetFilter as follows and applying only RefineryIncome, with no effect (it's like the modifier does nothing at all):
targetFilter
numOwnerships 1
ownership "Player"
numObjects 1
object "PlanetModule"
numSpaces 1
space "Normal"
numConstraints 1
constraint "IsResourceExtractor"