mirror of
https://github.com/doublespeakgames/adarkroom.git
synced 2026-05-28 08:11:54 +08:00
091929cf90c5c573c3b9fefe9902d6bce805305a
Events.damage method now groups all common lines for Events.animateRanged and Events.animateMelee.
Balance between success and failure is now determined by Events.lost. It is set to "true" when the player is killed and prevents Events.winFight() altogether.
Events.endFight() groups the 2 consistent actions in winFight and loseFight, i.e., pause unsetting and stopping the enemy.
Completely renewed trap method: instead of relying on a separate counter, enemy.data('stunned') now returns the number of remaining seconds of stunning. Enemy's timed attack decreases this value by the attack delay time (the enemy fights for its freedom).
A Dark Room
"awake. head throbbing. vision blurry. come light the fire."
a minimalist text adventure game for your browser
or play the latest on GitHub
Description
Languages
JavaScript
92.3%
CSS
5.5%
HTML
1.9%
Python
0.3%
