arpgKit.package
README.md
ArpgHero
The player's hero. Goes on the PlayerPrototype's body beside the CharacterController (Arpg.place puts it there), so every joining player gets one; only the body's owner runs it. Click the ground to walk a real path there (hold to keep following the cursor), click a monster to walk up and attack it, push WASD or a stick to run camera-relative, tap on a phone. Attacks and four skills are the class's abilitiesKit abilities, aimed at the cursor with a mouse and at the nearest monster otherwise. Applies the class (stats, loadout, speed), gives starting gear, binds gearStatsKit so equipped gear changes the stats, tracks gold and XP, and walks into the open exit. Fields: heroClass, level, xp, gold (synced), assist, clickMarker.