defaultHeroSpells beta
Function of @v12-engine/engine
ts
export declare function defaultHeroSpells(): AbilityDef[];The engine's hero spells: Flash, Barrier, Second Wind, Brand, Wither, Phantom Stride, Purify, Waystone and Reap, with their buffs in defaultHeroSpellBuffs. A hero has two of them (HeroDef.spells). A new list each time it is asked, to change as a game likes: defaultHeroSpells().filter((spell) => spell.id !== 'waystone')