bySlot beta
Function of @v12-engine/engine
ts
export declare function bySlot(_world: World, _attacker: Entity, _target: Entity, modifiers: readonly AttackModifier[]): readonly AttackModifier[];The engine's rule of attack modifiers (RuleSettings.combat.attackModifiers): of those that share a slot, only the one of the highest priority (the first among equals: abilities, then items, then buffs); those of different slots, and those of none, all of them. In the order they came