Wrestler.component
README.md
Wrestler
One monk in the ring: health, stamina, hype, state and every move. Sits on the Bicep/Flex roots; driven by PlayerControls or FriarAI through the same methods. Numbers come from game.rules. Owned by the wrestling slice.
- Verbs:
moveInput(x, z),punch(),kick(),grapple(),finisher(),setBlock(on),taunt(),pin(),mash(),breakPin(),celebrate(),defeat(),resetForMatch(),kickoutNeeded(),canAct(). - Strikes resolve once at the end of
startupagainstreach + 0.3 m(centre to centre). A blocked strike doesBLOCK_DAMAGE_SCALEdamage and earns the attacker 35% hype. A landed one stuns the victim (hit) for the move'sstun. - Grapple connects on a standing target in reach, giving attacker
slammingand victimthrown. The victim's root rises onto the attacker's shoulders (+1.95 m), holds, and is slammed down 1.15 m in front, landing at 78% ofslam. Impact emitsslamandknockdown; the victim is thendownforKNOCKDOWN_TIME,getupfor 0.7 s, thenidle. - THE HOLY ROLLER (full hype, grab range) does the same with a two-turn spin and a head-first drop, followed by
FINISHER_DOWN_TIMEdown. It empties hype. - Stamina drains with each attack and while blocking, then regenerates after
STAMINA_REGEN_DELAY. At 0 the wrestler istireduntil he recovers to 25: slow, unable to attack or block, and grapples on him deal the tired bonus. - Pin:
pin()beside a downed opponent setspinning/pinnedand emitspinStart.mash()addsKICKOUT_PER_MASH, and the bar decays 0.12/s. While the MatchDirector counts (phasepin), it seeskickout >= kickoutNeeded(), emitskickoutand callsbreakPin(). With nobody counting, the wrestler kicks out himself. - Root transform: owned here, including the throw arc. The pose under
Bodybelongs to the monks slice.