Mod API Reference:PlayerIncome

From Warzone Wiki
Revision as of 17:36, 2 June 2017 by Fizzer (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

PlayerIncome: Represents the income of a player (i.e. how many armies they're receiving per turn.) You can access the Total property to see the player's income as an integer. In a Local deployment game, you can access FreeArmies and BonusRestrictions to see where the income can be deployed.

  • ArmyCapInEffect boolean: True if the player's income was reduced due to the army cap, otherwise false.
  • BonusRestrictions Table<BonusID,integer>: In a Local deployment game, this is the number of armies that can be deployed on each specific bonus.
  • FreeArmies integer: In a Local deployment game, this is the number of armies that can be deployed anywhere.
  • Total integer:
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox