diff --git a/src/TestPanel.js b/src/TestPanel.js index 306a601..27ef200 100644 --- a/src/TestPanel.js +++ b/src/TestPanel.js @@ -164,6 +164,23 @@ function GetSpecialWeaponName(item) { return item[WEAPON_EXISTENCE_DATA]!==undefined?(item[WEAPON_EXISTENCE_DATA].special_name?.length>0)?item[WEAPON_EXISTENCE_DATA].special_name:(item[WEAPON_WEAPON].name+" "+item[WEAPON_WEAPONTYPE].name):"" } +function SkillTreeBoxes(p) { + return <> +
1/5Blight Rounds
+
 1/1Blight Rounds Reinforce
+
0/10Bad Condition Ward
+
0/1Spread Shot
+
 0/1Spread Shot Quick Getaway
+
0/10Bad Condition Reduction
+
0/1Rifle Grenadier
+
0/1Slide Shot Advance
+
0/1Sticky Bomb Quick Reload
+
0/1Launcher Charge Grouping
+
0/1Slow Landing Attack-Ranger
+
0/1Slow Landing Charge-Ranger
+ +} + function TestPanel(p) { const [bpGraphMax,setbpGraphMax] = useState(1000) const [hpGraphMax,sethpGraphMax] = useState(1000) @@ -555,18 +572,7 @@ AUGMENT skillLines={skillTreeData} halflineheight={halflineheight} />}
-
1/5Blight Rounds
-
 1/1Blight Rounds Reinforce
-
0/10Bad Condition Ward
-
0/1Spread Shot
-
 0/1Spread Shot Quick Getaway
-
0/10Bad Condition Reduction
-
0/1Rifle Grenadier
-
0/1Slide Shot Advance
-
0/1Sticky Bomb Quick Reload
-
0/1Launcher Charge Grouping
-
0/1Slow Landing Attack-Ranger
-
0/1Slow Landing Charge-Ranger
+
: <>} diff --git a/src/skilltree/skillTreeSelector.js b/src/skilltree/skillTreeSelector.js index 5e5a62d..9d6456e 100644 --- a/src/skilltree/skillTreeSelector.js +++ b/src/skilltree/skillTreeSelector.js @@ -9,12 +9,12 @@ function SkillTreeSelector(p) { },[p.cl]) return <> - {p.callback(f.currentTarget.value,Number(p.x),Number(p.y))}} style={{position:"absolute",left:p.ADJUSTMENT[0]+(p.x*p.gridSizeX+p.padX+p.gridSizeX/2),top:p.ADJUSTMENT[1]+((p.y/2)*p.gridSizeY+(p.y/2-1)*p.halflineheight+p.padY+(p.y===0?p.halflineheight:p.gridSizeY)/2)}} value={p.defaultValue}> {[' ','─','│','□','┌','└','┐','┘','┬','┴','├','┤','┼'].map((ch)=> ) } - {p.defaultValue==='□'&&{p.skillCallback(p.x,p.y,f.currentTarget.value)}} value={p.skill.split(",")[2]}> {["",...Object.keys((skillList)).filter((skill)=>skillList[skill].class_id===p.cl)].map((skill)=>)} }