Weapon
Weapon(
props):Element
Arms every player in the world with a weapon, which the room holds each of
the player’s shots to; a character whose HeldWeaponsTrait leaves it out
fires none. On a page, a click that does not turn the camera fires it from
the middle of the character’s body toward what is under the pointer, and
through the crosshair a held button fires it at its rate while
automatic. On a touch screen it draws a fire button, and fires on its
own while its auto-fire holds; a click, the button and auto-fire share
one rate. The tracer, and a hit marker where the shooter’s picture shows
a hit, draw at once, a critical one where it strikes a zone, and the
room’s word arrives as the target’s health. A refusal from the room takes
the marker back, and the room’s verdict on the zone sets whether it stays
critical. Where the page judges the weapon, the shot claims the hits the
shooter’s picture shows. In a game played alone the shot is a command,
and the next step deals the damage.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
props |
WeaponProps |
Returns
Section titled “Returns”Element