diff --git a/public/icons/class/br.png b/public/icons/class/br.png new file mode 100644 index 0000000..1c51c2b Binary files /dev/null and b/public/icons/class/br.png differ diff --git a/src/TestPanel.js b/src/TestPanel.js index 87a404c..2398f34 100644 --- a/src/TestPanel.js +++ b/src/TestPanel.js @@ -104,18 +104,7 @@ function ClassSelector(p){ } -function ClassSelectorWindow(p) { - return { - var dat1 = p.GetData("class") - return Object.keys(dat1) - } - } - displayFunction={(key) => { - return
  • { if (p.editClass===0){p.setClassName(key)}else{p.setSubClassName(key)}; p.setModalOpen(false) }}> {p.GetData("class", key, "name")}
  • - }} -/> -} + function EditableClass(p){ return <>
    {p.setClassNameSetter(p.editClass);p.setClassSelectWindowOpen(true)}}> @@ -286,7 +275,7 @@ useEffect(()=>{ - Class + {setClassSelectWindowOpen(true)}}>Class @@ -548,7 +537,26 @@ AUGMENT
    - +{setClassSelectWindowOpen(false)}} shouldFocusAfterRender={true} shouldCloseOnOverlayClick={true} shouldCloseOnEsc={true} className="modal" overlayClassName="modalOverlay"> +
    +
    +

    Select Main Class

    +
    { setClassSkillTreeWindowOpen(false) }}>
    +
    +
    +
      +
    • Hunter
    • +
    • Fighter
    • +
    • Ranger
    • +
    • Gunner
    • +
    • Force
    • +
    • Techter
    • +
    • Braver
    • +
    +
    +
    +
    + {setClassSkillTreeWindowOpen(false)}} shouldFocusAfterRender={true} shouldCloseOnOverlayClick={true} shouldCloseOnEsc={true} className="modalSkillTree" overlayClassName="modalOverlaySkillTree">