Nico invvades more

master
Joshua Sigona 3 years ago
parent 82fb4704fb
commit 934c9cc101
  1. 2
      src/TestPanel.js

@ -178,7 +178,7 @@ function ConvertCoordinate(x,y) {
}
function SkillBox(p) {
return <div style={{ gridArea: ConvertCoordinate(Number(p.skill[0]),Number(p.skill[1])) }}><img className="skillIcon" alt="" src={process.env.PUBLIC_URL+p.GetData("class_skill",p.skill[2],"icon",true)} /><span className="skillAllocated">0/10</span><em className="skillName">{typeof p.GetData("class_skill",p.skill[2],"name",true)==="string"&&p.GetData("class_skill",p.skill[2],"name",true)}</em><div className="skillButtons"><LeftButton /><RightButton /></div></div>
return <div style={{ gridArea: ConvertCoordinate(Number(p.skill[0]),Number(p.skill[1])) }}><img className="skillIcon" alt="" src={DisplayIcon(p.GetData("class_skill",p.skill[2],"icon",true))} /><span className="skillAllocated">0/10</span><em className="skillName">{typeof p.GetData("class_skill",p.skill[2],"name",true)==="string"&&p.GetData("class_skill",p.skill[2],"name",true)}</em><div className="skillButtons"><LeftButton /><RightButton /></div></div>
}
function SkillTreeBoxes(p) {

Loading…
Cancel
Save