From 4c5719c568f43f50872356c9b9a99fc047d749d9 Mon Sep 17 00:00:00 2001 From: ntr Date: Wed, 10 Apr 2019 18:36:31 +1000 Subject: [PATCH] friendly effects --- client/src/components/game.component.jsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/client/src/components/game.component.jsx b/client/src/components/game.component.jsx index ebe7c82d..93714885 100644 --- a/client/src/components/game.component.jsx +++ b/client/src/components/game.component.jsx @@ -81,10 +81,13 @@ function GamePanel(props) { if (!skills.length) skills = (
 
); + const effects = c.effects.map((e, j) =>
{e.effect} - {e.duration}T
); + return (
+ {effects} {skills}
);