Events, Items & Account

Event buffs

See which buff sources apply in each of 14 game modes. Use it to check whether a buff, such as pet skills or the facility buff, counts in a mode like Bear Hunt or Canyon Clash.

The 14 modes are Bear Hunt, Crazy Joe, Alliance Championship, Foundry Battle, Canyon Clash, Fortress Battle, Facility, Castle Battle, Tundra Trade Route, Frostfire Mine, Frostdragon Tyrant, Tundra Arms League, Icefire Warhymn League, and Winter Siege. Some of them also exist as Events, which link here through eventBuffId.


Type

EventBuff

FieldTypeDescription
idstringStable identifier
namestringName of the game mode
cityBonusWarsBuffsBuffApplicabilityCity bonus and wars buffs
deploymentCapacityBuffApplicabilityDeployment capacity
petSkillsBuffApplicabilityPet skills
daybreakIslandBuffApplicabilityDaybreak Island buffs
presidentSkillsBuffApplicabilityPresident skills
ministerBuffBuffApplicabilityMinister buff
territoryBonusesBuffApplicabilityTerritory bonuses
facilityBuffBuffApplicabilityFacility buff
marchAcceleratorBuffApplicabilityMarch Accelerator
frostdragonTyrantTitlesBuffApplicabilityFrostdragon Tyrant titles
frostSphereDomainBonusBuffApplicabilityFrost Sphere domain bonus
petSkillsAutoAppliedbooleantrue where pet skills take effect without activation
notesstring?Footnote for the mode. Absent when there is no caveat

BuffApplicability is 'yes' | 'no' | 'partial'. The value 'partial' marks a buff that applies only in part, such as March Accelerator, which is not applicable for a rally.


Factory

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

eventBuff() // all 14 modes
eventBuff(source) // wrap a pre-filtered array

Filters

MethodSignatureDescription
appliesForappliesFor(buffSource: BuffSource, applicability?: BuffApplicability)Filter to modes where one buff source has the given applicability. applicability defaults to 'yes'.

buffSource is one of the 11 buff fields of an entry, from cityBonusWarsBuffs to frostSphereDomainBonus.

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

// Modes where facility buffs fully apply
eventBuff().appliesFor('facilityBuff').get()

// Modes where March Accelerator applies only in part
eventBuff().appliesFor('marchAccelerator', 'partial').get()
// Bear Hunt, Fortress Battle, Facility, Castle Battle

Terminal methods

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

Examples

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

// One mode, with its footnote
const bearHunt = eventBuff().findByName('Bear Hunt')
bearHunt?.petSkills // 'yes'
bearHunt?.notes
// 'Health and Defense buffs/debuffs has little impact on damage. March Accelerator is not applicable for rally.'

// Modes where pet skills take effect without activation
eventBuff()
  .get()
  .filter((mode) => mode.petSkillsAutoApplied)
  .map((mode) => mode.name)
// ['Alliance Championship', 'Icefire Warhymn League', 'Winter Siege']

Notes

Pet skills, Daybreak Island, and the facility buff are never marked 'no' in any mode. This includes the two PvP league modes, Icefire Warhymn League and Winter Siege, which deny almost every other source.

This module is not nested under the alliance pages, because most of the buff sources (pet skills, president skills, Frostdragon Tyrant, Frost Sphere) belong to other systems.


Next steps

Previous
Events
Next
Items