mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-08-04 04:59:40 +00:00
client and server, and if randomness is involved (eg, item drops, critical hits, losing gear/stats on death) - then it will be equivalent on both client and server, while still seeming "random". This is required for the new death mechanic. Kudos to @snicker for providing the predictableRandom() function. @paglias we can probably stop using _.tmp now, and simply flag on the client when user drops an item / streak bonus. @SabreCat this will be used for crits, I'll keep you posted |
||
|---|---|---|
| .. | ||
| content.coffee | ||
| index.coffee | ||