Events, Items & Account

President skills

Look up the skills of the President of a state. The development skills are global perks: each gives a speed bonus to every Chief in the state for a time. The other skills give the President gems or act on one Chief.

Use it to show what each skill does, what it costs in Authority, and how often it can be used. The positions the skills belong to are in Castle appointments.


Type

PresidentSkill

FieldTypeDescription
idstringStable identifier
namestringDisplay name
imgstring?Path to the skill icon, relative to images/
effectstringWhat the skill does, in the wording of the game
targetPresidentSkillTarget'state' (every Chief in the state), 'president', or 'chief' (one Chief)
authorityCostnumber?Authority the skill costs
maxUsesnumber?The number of uses that the game shows, for example "Uses left: 2/2"
cooldownSecondsnumber?Cooldown in seconds. Set on the four development skills
bonusPresidentSkillBonus?The speed bonus, on the four development skills
supremePresidentOnlyboolean?true for Supreme President's Will

PresidentSkillBonus

FieldTypeDescription
statstringStat name
statKeystringStable key, the same as in research() and castleAppointments()
valuestringDisplay string, such as 30%
amountnumberParsed amount
unit'percent' | 'flat'Whether amount is a percent or a flat value
durationSecondsnumberHow long the perk lasts, in seconds

Factory

import { presidentSkills } from 'whiteout-survival-data'

presidentSkills() // all 9 skills
presidentSkills(source) // wrap a pre-filtered array

Filters

MethodSignatureDescription
byTargetbyTarget(target: PresidentSkillTarget)Filter to skills with one target: state, president, or chief.

Terminal methods

MethodReturnsDescription
.get()PresidentSkill[]All results
.first()PresidentSkill | undefinedFirst result
.find(id)PresidentSkill | undefinedFind by id
.findByName(name)PresidentSkill | undefinedCase-insensitive exact name match
.search(query)PresidentSkill[]Case-insensitive partial name match
.count()numberNumber of results

Data

SkillTargetAuthorityUsesEffect
Receive Tributepresident27,000327,000 Authority for 300, 400, 500 Gems
Medical Advancementstate45,000n/sHealing speed +50%, 24 hours
Mercantilismstate45,0002Construction speed +10%, 24 hours
Research Advancementstate45,0002Research speed +10%, 24 hours
Mobilizestate45,0002Training speed +30%, 24 hours
Ceasefirechief27,00014No attacks by the Chief for 1 hour
Forced Exilechief27,00014Teleports the city, 10 hour Shield
State Searchchief18,00056Locates the city of a Chief of the state
Supreme President's Willstaten/sn/sSupreme President only

n/s means that the value is not stated.

The four development skills have a bonus and a cooldownSeconds of 7 days. The skills that act on a Chief have no bonus, because their effect is in the effect text. Supreme President's Will has supremePresidentOnly set to true, and it has no authorityCost, maxUses, or bonus.


Examples

import { presidentSkills } from 'whiteout-survival-data'

presidentSkills().count() // 9

const mobilize = presidentSkills().find('mobilize')!
mobilize.bonus?.value // '30%'
mobilize.bonus?.statKey // 'training-speed'
mobilize.bonus!.durationSeconds / 3600 // 24
mobilize.cooldownSeconds! / 86400 // 7
mobilize.authorityCost // 45000

// The global perks: the skills that act on the whole state
presidentSkills()
  .byTarget('state')
  .get()
  .map((skill) => skill.name)
// ['Medical Advancement', 'Mercantilism', 'Research Advancement', 'Mobilize', "Supreme President's Will"]

Known gaps

Assumptions

Medical Advancement shows a cooldown timer instead of the uses, so it has no maxUses. It has the same Authority cost as the other three development skills. The package gives the four development skills a cooldown of seven days.

The package states maxUses only. It does not say when the uses renew.

Receive Tribute lists three gem amounts, 300, 400, and 500, and does not say whether they are the amounts of the three uses. The effect keeps the wording of the game.

Authority is earned by the President. The game says: "Whenever Chiefs within the State claim Daily Mission Chests or gather resources, the President gains [Authority]. President Skills expend [Authority]." The amount a Chief earns is not stated.

The skill icons are small, about 60 by 60 pixels, and the Ceasefire, Forced Exile, and State Search icons are about 98 by 98. Supreme President's Will has no img.


Next steps

Previous
Castle appointments