ViewAbilityLooks beta
Interface of @v12-engine/client
ts
export interface ViewAbilityLooksWhat the abilities and buffs look like, as the game's view says it (GameView.fx.abilities): their colours by id, the look decided in code each time, and the styles they are drawn in
Members
for
ts
for?: (ability: string, context: {
caster?: EntityView;
level?: number;
}) => AbilityLook | undefined;How an ability looks this time, decided in code from who casts it and at what level: a hero's own colours, a fireball that grows with its level. What looks says when it gives nothing
looks
ts
looks?: AbilityLooks;Colours of abilities and buffs, by id
styles
ts
styles?: Record<string, SpellStyleFactory>;Styles of the game's own for what abilities look like, by name (AbilityLook.style), beside the client's eleven (ring, burst, missile...): one of a client's name takes its place. Made from the render kit (SpellContext)