diff --git a/src/TestPanel.js b/src/TestPanel.js index 4f213a9..65fdcaa 100644 --- a/src/TestPanel.js +++ b/src/TestPanel.js @@ -125,6 +125,19 @@ function SelectorWindow(p) { } +function ClassSelectorWindow(p) { + return { + var dat1 = p.GetData("class") + return Object.keys(dat1) + } + } + displayFunction={(key) => { + return
  • {if (p.editClass===0){p.setClassName(key);p.setSubClassName(p.subClass===key?p.class:p.subClass)}else{p.setSubClassName(key);p.setClassName(p.class===key?p.subClass:p.class)}; p.setModalOpen(false) }}> {p.GetData("class", key, "name")}
  • + }} +/> +} + 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):"" } @@ -501,25 +514,7 @@ 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
    • -
    -
    -
    -
    +