vbox demo generate random skill combos, disable part of broken curse anim

This commit is contained in:
Mashy
2019-10-29 16:11:00 +10:00
parent 0c3cd46ce2
commit 188ae0de6a
2 changed files with 21 additions and 18 deletions
+3 -3
View File
@@ -43,7 +43,7 @@ function Demo(args) {
if (!demo || !itemInfo.items.length || account) return false;
const { combiner, items, equipping, equipped, players } = demo;
const { combiner, items, equipping, equipped, players, combo } = demo;
const vboxDemo = () => {
function inventoryBtn(i, j) {
@@ -90,7 +90,7 @@ function Demo(args) {
VBOX PHASE {shapes.Red()} {shapes.Green()} {shapes.Blue()}
</h2>
<p>
Combine the colour base items with skills and specialisations to build an array of powerful variants.
Combine colours with base skills and specialisations to build an array of powerful variants.
</p>
</div>
<div>&nbsp;</div>
@@ -122,7 +122,7 @@ function Demo(args) {
<ConstructAvatar construct={c} />
<div class="skills">
{equipped
? <button>Strike</button>
? <button>{combo}</button>
: <button disabled={!equipping} class={btnClass}>SKILL</button>
}
<button disabled={!equipping} class={btnClass}>SKILL</button>