five-on-it / packages/sim/src/gear / armourShare
Function: armourShare()
armourShare(
weapon):number
Defined in: packages/sim/src/gear.ts:81
The share of a hit by weapon that armour takes: all of a bullet's, a pellet's or a blow's, half of a blast's (a rocket, a grenade, a charge, a car blowing up), none of anything else (a fall, a crash, water, lava, a fire, gas: the reserved ids, none of them a weapon of the table).
Parameters
weapon
number
Returns
number