combat phase components
This commit is contained in:
parent
1737f6de6c
commit
4da209fdc1
@ -10,8 +10,6 @@
|
|||||||
|
|
||||||
* can't reset password without knowing password =\
|
* can't reset password without knowing password =\
|
||||||
|
|
||||||
* Display skill colours during combat
|
|
||||||
|
|
||||||
## SOON (Before or After PAX)
|
## SOON (Before or After PAX)
|
||||||
|
|
||||||
* bot game grind
|
* bot game grind
|
||||||
|
|||||||
@ -187,6 +187,11 @@
|
|||||||
align-self: center;
|
align-self: center;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
height: auto;
|
height: auto;
|
||||||
|
svg {
|
||||||
|
display: inline;
|
||||||
|
height: 1em;
|
||||||
|
margin-right: 0.1em
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* some stupid bug in chrome makes it fill the entire screen */
|
/* some stupid bug in chrome makes it fill the entire screen */
|
||||||
|
|||||||
@ -38,14 +38,14 @@ class TargetSvg extends Component {
|
|||||||
if (!animTarget) return false;
|
if (!animTarget) return false;
|
||||||
const itemSource = itemInfo.combos.filter(c => c.item === removeTier(animTarget.skill));
|
const itemSource = itemInfo.combos.filter(c => c.item === removeTier(animTarget.skill));
|
||||||
const itemSourceInfo = itemSource.length
|
const itemSourceInfo = itemSource.length
|
||||||
? `${itemSource[0].components[0]} ${itemSource[0].components[1]}`
|
? `${itemSource[0].components[0]} ${itemSource[0].components[1]} ${itemSource[0].components[2]}`
|
||||||
: false;
|
: false;
|
||||||
const itemRegEx = /(Red|Blue|Green)/;
|
const itemRegEx = /(Red|Blue|Green)/;
|
||||||
const itemSourceDescription = reactStringReplace(itemSourceInfo, itemRegEx, match => shapes[match]());
|
const itemSourceDescription = reactStringReplace(itemSourceInfo, itemRegEx, match => shapes[match]());
|
||||||
return (
|
return (
|
||||||
<div>
|
<div class="resolving-skill">
|
||||||
<h1 class="resolving-skill">{animTarget.skill}</h1>
|
<h1>{animTarget.skill}</h1>
|
||||||
<div class="resolving-skill"> {itemSourceDescription} </div>
|
<div> {itemSourceDescription} </div>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user