vbox show costs, penalty for combo sale
This commit is contained in:
@@ -52,7 +52,7 @@ function InfoComponent(args) {
|
||||
const speed = <div> Speed {shapes.SpeedStat()} multiplier {calcSpeed}% </div>;
|
||||
return (
|
||||
<div class="info-skill">
|
||||
<h2>{fullInfo.item}</h2>
|
||||
<h2>{fullInfo.item} - {fullInfo.cost}b</h2>
|
||||
<h3>SKILL</h3>
|
||||
{itemSourceDescription}
|
||||
<div>{infoDescription}</div>
|
||||
@@ -133,7 +133,6 @@ function InfoComponent(args) {
|
||||
}
|
||||
return false;
|
||||
});
|
||||
console.log(info);
|
||||
const bonusObj = info.includes('Life')
|
||||
? <div class={`${reqClass} bonus`} > + {bonus.bonus}</div>
|
||||
: <div class={`${reqClass} bonus`} > + {bonus.bonus}%</div>;
|
||||
@@ -157,7 +156,7 @@ function InfoComponent(args) {
|
||||
|
||||
return (
|
||||
<div class="info-spec">
|
||||
<h2>{info}</h2>
|
||||
<h2>{info} - {fullInfo.cost}b</h2>
|
||||
<h3>SPEC</h3>
|
||||
{itemSourceDescription}
|
||||
<div>{infoDescription}</div>
|
||||
@@ -167,10 +166,10 @@ function InfoComponent(args) {
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
const cost = fullInfo.cost ? `- ${fullInfo.cost}b` : false;
|
||||
return (
|
||||
<div class="info-item">
|
||||
<h2>{fullInfo.item}</h2>
|
||||
<h2>{fullInfo.item} {cost}</h2>
|
||||
<div>{fullInfo.description}</div>
|
||||
</div>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user