hatred fix

This commit is contained in:
ntr
2019-04-13 14:56:08 +10:00
parent 2e7e9d465d
commit ef84e620fe
5 changed files with 17 additions and 11 deletions
+1 -5
View File
@@ -148,12 +148,8 @@ function GamePanel(props) {
);
}
function resolutionEl(r) {
return <div>{JSON.stringify(resolution)}</div>;
}
const selectedSkills = resolution
? resolutionEl(resolution)
? <div>&nbsp;</div>
: playerTeam.cryps.map((c, i) => stackElement(c, i));
// const mobileSkills = activeCryp
+4 -1
View File
@@ -188,7 +188,10 @@ function getCombatText(cryp, resolution) {
if (type === 'Damage') {
const { skill, amount, mitigation, colour } = event;
return amount;
const mitigationText = mitigation
? `(${mitigation})`
: '';
return `${amount} ${mitigationText}`;
}
if (type === 'Healing') {