Function
Modify
Modify_PlayerUpkeep
Modifies the upkeep for a player's resource. Possible math types are MUT_Multiplication, MUT_Addition.
On this page
Modify_PlayerUpkeep(playerId, resourceType, scalefactor, mathtype)Description
Modifies the upkeep for a player's resource. Possible math types are MUT_Multiplication, MUT_Addition.
Parameters
playerIdPlayerIDrequiredresourceTypeIntegerrequiredscalefactorRealrequiredmathtypeIntegeroptional
Returns
modidsmodids or nil if the modifier could not be appliedSource
Declared in the game's script sources at:
scar/modifiers.scar