From ec4252d5c9555e3ed46ab19fc4774daaf5bef86d Mon Sep 17 00:00:00 2001 From: ntr Date: Fri, 5 Jul 2019 18:54:55 +1000 Subject: [PATCH] worklog --- WORKLOG.md | 34 ++++------------------------ client/src/components/animations.jsx | 2 +- 2 files changed, 6 insertions(+), 30 deletions(-) diff --git a/WORKLOG.md b/WORKLOG.md index f123d083..75d3a926 100644 --- a/WORKLOG.md +++ b/WORKLOG.md @@ -29,40 +29,16 @@ *$$$* +* rerolls cost 1cr +* rename costs 1cr +* invader set +* start with 3 constructs w/ random names +* storing construct costs 5cr -* balances table (ingame currency) - id - account - balance - -* accounting - id - reference / hash etc - currency - credit - debit - -* conversions - id - tx ref accounting - conversion rate - converted value - -* txs - -* mtx table - id - item_name - -* define $cost for ingame bits - * pay for rerolls * eth adapter -* dollar processor - - *CLIENT* diff --git a/client/src/components/animations.jsx b/client/src/components/animations.jsx index c437041b..86f93010 100644 --- a/client/src/components/animations.jsx +++ b/client/src/components/animations.jsx @@ -61,7 +61,7 @@ function animations(props) { const { game, account, resolution, player, construct } = props; if (!resolution) return false; const [, event] = resolution.event; - if (!event.skill) return false; + if (!event || !event.skill) return false; if (!resolution.target) return false; // source animation