PlayerHitModifiers
Defined in: server/api.d.ts:1294
Scales a playerHit handler puts on the server’s price of a melee blow, each 1 until a handler changes it. The server works the blow out again with them, step by step as the game does: a heavier attack has to get through the same armour and the same block, so doubling attack does not simply double the damage. Never negative.
Properties
Section titled “Properties”attack
Section titled “attack”attack:
number
Defined in: server/api.d.ts:1298
Scales the attacker’s attack in every pass, after their weapon, strength, skill and the swing itself.
block:
number
Defined in: server/api.d.ts:1308
Scales what the victim’s block put up. Nothing for a blow that was not blocked.
defense
Section titled “defense”defense:
number
Defined in: server/api.d.ts:1303
Scales the victim’s armour where the blow landed.
health
Section titled “health”health:
number
Defined in: server/api.d.ts:1313
Scales the health the blow takes, once everything else is worked out. The game’s own cap of 200 a blow is applied before it, so this can go past it.