Skip to content

Class Tab ​

The Class tab defines in-game classes (jobs / troops). Each entry corresponds to one class, and for each class, you set the EXP table required for leveling up, parameter growth formulas on level up, items (skills, magic) learned on level up, and attaches (passives) learned on level up.

What Is a Class

In this tool, by assigning a class to a character or enemy (e.g., "this character is a warrior", "this enemy is a magician"), you centrally manage how that character/enemy grows on level up.

  • The initial parameters of characters and enemies are defined in the Character tab / Enemy tab
  • How much they grow and what they learn on level up is defined in the Class tab

Multiple characters assigned the same class follow the same growth curve (only their initial values differ).

Overview ​

Purpose of the Screen ​

  • Set basic class information (ID, name)
  • Define the cumulative EXP table required for leveling up
  • Define parameter growth formulas on level up
  • Define items (skills / magic / basic actions) learned on level up
  • Define attaches (passives) learned on level up
  • Leave dev memo

Save Location ​

  • Saved to data/settings/class.json with the class ID as the key

Where It Is Referenced ​

  • Character tab: Each character's class property references the class ID
  • Enemy tab: Each enemy's class property references the class ID
  • Runtime: When a character/enemy's EXP exceeds the level-up threshold, applies the class's growth formula and learned list

Reserved IDs ​

Classes have no reserved IDs. All class IDs can be newly created, ID-changed, copied, and deleted.

Initial Classes ​

As sample classes at new project creation, 4 types are auto-generated: WARRIOR / MAGICIAN / PRIEST / MONK (only when class.json does not exist). If unneeded, delete them; duplicate as needed to create derived classes.

Screen Layout ​

The Class tab has a left/right split layout, with the right pane in a 3-column layout.

Left Pane (Class List) ​

ElementPurpose
ListDisplays all class IDs in a vertical column
New buttonAdd a new class by specifying its ID
Change ID buttonChange the ID of the selected class
Copy buttonDuplicate the selected class (ID is auto-numbered; all data duplicated)
Delete button (red)Delete the selected class (with confirmation dialog)
Save buttonWrite edits to class.json

Right Pane (Property Editing, 3 Columns) ​

ColumnContent
Column 1Basic info (ID / name) + required EXP for level up + parameter growth formulas
Column 2Learned items (skills / magic / basic actions)
Column 3Learned attaches (passives) + dev memo

Left Pane Operations ​

Create New ​

Pressing the New button opens the ID input dialog. The entered ID is used to add a new class.

Input Rules:

  • Allowed characters: _ a-z A-Z 0-9 only (regex ^[_a-zA-Z0-9]+$)
  • Empty text not allowed
  • Duplicates with existing IDs are automatically appended with _2, _3, etc.

The initial values immediately after creation are: empty name, auto-generated initial values for required EXP table, empty growth formulas and learned lists, and empty dev memo.

Change ID ​

Pressing the Change ID button opens the ID change dialog. Input rules are the same as Create New.

Copy ​

Pressing the Copy button creates a new class duplicating all data (name / EXP table / growth formulas / learned lists / dev memo) of the selected class. The ID is auto-numbered (original ID + _2, _3, etc.).

Deep Copy

The new class created by copy has data completely independent from the original. Editing one does not affect the other.

Delete ​

Pressing the Delete button opens a confirmation dialog; OK deletes the selected class. After deletion, selection moves automatically to the top of the list.

Caution on Deletion

Deleting a class ID in use by the Character tab or Enemy tab leaves the corresponding entries' class property pointing to nothing. Confirm usage locations before deletion.

Save ​

Pressing the Save button writes all class data being edited to data/settings/class.json. Changes up to pressing Save are retained in memory only, and a (*) mark appears on the tab title.

Timing of Unsaved Marker

Simply changing an input field (name, EXP, growth formula value, etc.) alone may not add (*). EXP tables, growth formulas, and learned lists have changes committed at the moment the Update button is pressed. If you switch tabs mid-input, changes without pressing Update may be discarded.

Right Pane: Basic Info (Column 1 Top) ​

ItemInput FormDescription
IDRead-onlyID of the selected class. Change via the Change ID button in the left pane
Class Display NameTextClass name shown in-game. Multilingual support set in the Translation tab

Name Translation

The class display name can be internationalized by setting a translation key in the Translation tab. If no translation key is set, the string entered here is displayed directly.

Right Pane: Required EXP for Level Up (Column 1 Middle) ​

The area defining the EXP required for each level reached by characters of this class.

Table Structure ​

ElementPurpose
Level inputTarget level (integer 2 or greater)
Required EXP inputEXP required to reach that level (integer 1 or greater, non-cumulative value)
Update buttonAdd the two entered values to the table, or overwrite
Table listCurrent table (shown as level : required EXP)
Remove 1 Row buttonRemove the highest level of the table by 1
Generate EXP Table buttonOpen a dialog to bulk-generate EXP tables with a formula (described below)
Growth Preview buttonOpen a dialog showing cumulative growth from Lv1 to the max Lv (described below)

Meaning of Required EXP ​

Required EXP is a non-cumulative value (= value unique to each level, the difference needed to reach that level from the level below).

Example: Setting Lv2=10, Lv3=20, Lv4=30 means a Lv1 character levels up to Lv2 after gathering 10 EXP, to Lv3 after another 20, and to Lv4 after another 30 (cumulative: Lv2=10, Lv3=30, Lv4=60).

Lv1 Table Entry Does Not Exist ​

Lv1 is the initial level, so it is not included in the EXP table. Specifying Lv1 in the input is not added (only a NOTICE is output).

Input Validation ​

ItemCorrection
Level inputIntegerized, minimum 2. Blank or non-numeric is ignored with NOTICE
Required EXP inputIntegerized, minimum 1. 0 or less is internally corrected to 1

Table Editing Procedure ​

  1. Add / Overwrite: Enter level and required EXP → Update button → Added to the table list (overwrite if level exists)
  2. Verify / Fix: Click a row in the table list → Values populate the level and required EXP input → Fix → Update to overwrite
  3. Delete Tail: Remove 1 Row button deletes the row at the current highest level (deleting an intermediate level alone is not possible)

To Delete an Intermediate Level

Intermediate levels (e.g., deleting only Lv5) cannot be deleted via the Remove 1 Row button. You need to delete all levels above the target level, then delete that level. To redo everything from scratch, we recommend using the Generate EXP Table button.

About Numeric Display ​

Required EXP display automatically omits decimals (e.g., even if internally saved as 10.0, the list shows 10). However, intentional decimal values (e.g., 10.5) are shown with decimals.

Right Pane: Generate EXP Table Dialog ​

Pressing the Generate EXP Table button opens a dialog to bulk-generate the EXP table with a formula. It saves the effort of entering and Updating each level by hand.

Overwrites Existing Table

The EXP table generated by this dialog completely overwrites the existing table. A warning label is displayed, so if needed, back up with the Copy button before generating.

Dialog UI ​

ElementPurpose
Template selectionChoose from 5 types of formula templates (described below)
Base EXPBase value common to templates (approximate EXP needed to reach Lv2)
Multiplier / Exponent / Constant / IncrementOnly the inputs needed for the selected template are shown
Max LevelMax Lv to generate (table generated up to this Lv)
GraphVisualizes the current table (blue) and preview (red) as a line graph
Generate buttonFully overwrites the existing table and closes the dialog
Cancel buttonCloses the dialog (no generation)

5 Formula Templates ​

TemplateFormulaRequired Additional InputPurpose
MultiplierBase EXP × Multiplier ^ (Lv - 2)MultiplierGeometric series (accelerates by multiplier), typical in general JRPGs
PolynomialBase EXP × Lv ^ Exponent + ConstantExponent, ConstantPolynomial curve (quadratic at Exponent 2)
LinearBase EXP + Increment × (Lv - 2)IncrementArithmetic series (linear increase)
Square RootBase EXP × √(Lv - 1) × (Lv - 1)NoneSquare root formula (gently accelerates)
LogarithmicBase EXP × (Lv - 1) × log(Lv)NoneLogarithmic formula (very gently accelerates, natural log)

Switching templates displays only the needed input rows and automatically hides others.

How to Read the Graph ​

ColorMeaning
BlueCurrent EXP table (saved req_exp)
RedPreview (result calculated from values currently entered in the dialog)

The graph is re-drawn immediately as inputs change. You can verify the curve shape in the preview (red) before pressing Generate. X-axis is level, Y-axis is required EXP (non-cumulative).

Example Usage ​

Example 1: Gentle multiplier curve for Lv1-30

  1. Template: Multiplier
  2. Base EXP: 10
  3. Multiplier: 1.15
  4. Max Level: 30
  5. Confirm the red line on the graph (Lv2=10, Lv10 ≈ 35, Lv30 ≈ 568)
  6. Press Generate to confirm

Example 2: Linear curve for Lv1-50

  1. Template: Linear
  2. Base EXP: 10
  3. Increment: 5
  4. Max Level: 50
  5. Confirm the straight line on the graph (Lv2=10, Lv10=50, Lv50=250)
  6. Press Generate to confirm

Manual Adjustment After Generation

After bulk-generating in the Generate EXP Table dialog, individual levels' required EXP can be manually overwritten. After generation, in the EXP table list, select the target row → change required EXP → Update to overwrite.

Right Pane: Growth Preview Dialog ​

Pressing the Growth Preview button opens a dialog showing a simulated cumulative growth table from Lv1 to the max Lv of the EXP table. It helps you verify "what this class learns at Lv10" and "how much parameters grow by Lv20" in advance.

Columns Displayed ​

ColumnContent
LvEach level from 1 to max Lv
Each parameter columnOne column per parameter set in parameter growth formulas. Lv1 is 0, Lv2 onwards shows cumulative values
Learned ItemsItems (skills, magic) learned at that level, shown comma-separated by name
Learned AttachesAttaches (passives) learned at that level, shown comma-separated by name

Calculation Method ​

  • Evaluates the parameter growth formula and accumulates the addition value at each Lv
  • Addition values are rounded away from zero as integers (e.g., calculation result 2.3 → 3, -1.4 → -2). This is the same rounding as the runtime's actual level-up processing
  • Random formulas are replaced with average values for preview (described below)

Random Formula Average Replacement ​

If the growth formula contains randomness, the preview replaces it with the average as follows:

Random FormulaPreview Replacement
randi_range(a, b)(a + b) / 2 (arithmetic mean)
randf_range(a, b)(a + b) / 2 (arithmetic mean)
randi() % N(N - 1) / 2 (arithmetic mean of 0 to N-1)

Example: A parameter growth formula of randi_range(3, 5) is always treated as 4 in the preview. The actual runtime randomizes to 3-5 each time.

Preview May Be Off for Growth Formulas Containing Character References

Growth preview uses simplified evaluation, so only USER.LEVEL.MAX / SELF.LEVEL.MAX are replaced with Lv. Growth formulas containing other character references like USER.STR.MAX are not resolved in the preview and cannot be evaluated correctly (the actual runtime fully resolves character references).

Treat the preview of growth formulas containing character references as a rough guide; verify finally by actually starting the game and leveling up.

Right Pane: Parameter Growth Formulas (Column 1 Bottom) ​

The area defining which parameters change by how much when a character of this class levels up.

Input Items ​

ItemInput FormDescription
ParameterSelectSelect from parameters defined in the Parameter tab (HP / MP / STR / AGI / DEF / INT / MAG / Durability, etc.)
Increase/Decrease ValueNumber or FormulaAddition value on level up (Formula supported)
Update button—Add input to the list or overwrite
Delete button—Delete the parameter selected in the list

List ​

The list shows added parameters in parameter : increase/decrease value format. Clicking a row populates the input with the values; change the increase/decrease value and press Update to overwrite.

If the referenced parameter is deleted, an error icon is shown on the row.

Using Formula ​

The increase/decrease value supports Formula as well as fixed values. The following notations can be used in Formula:

NotationMeaning
3Fixed value 3 (adds 3 on level up)
USER.LEVEL.MAX / 5 + 2Function of level (3 at Lv5, 4 at Lv10, 5 at Lv15...)
randi_range(2, 4)Random 2-4 (each level up is random)
USER.STR.MAX / 10Function of other parameters (increases more as STR is higher)

See Formula Reference for detailed notation.

Rounding of Increase/Decrease Value ​

The calculation result is rounded away from zero as an integer (e.g., 2.3 → 3, -1.4 → -2). Even if intermediate decimal values are set, actual addition is in integer units.

Lv1 Initial Values Set in Character / Enemy Tab ​

Parameter growth formulas are only addition values on level up. Lv1 initial values are set in the Character tab (initial values for characters) or Enemy tab (initial values for enemies). The class only decides "how it grows".

Formulas Are Evaluated at Runtime ​

Even if Formula has syntax errors or undefined references, no warnings appear in the editor. Evaluation happens at runtime on level up, and errors are treated as 0 (fallback). If unsure of syntax, start the game and verify level-up works correctly.

Right Pane: Learned Items (Column 2) ​

The area defining items (skills / magic / basic actions) that characters of this class learn automatically on level up.

Input Items ​

ItemInput FormDescription
ItemSelectSelect from skills / magic / basic actions defined in the Item tab (consumables not selectable)
Learn LevelInteger (0 or more)Level at which this item is learned (0 = initial learn at Lv1)
Update button—Add input to the list or overwrite
Delete button—Delete the item selected in the list

List ​

The list shows added learned items in item ID : learn level format, sorted by learn level ascending (same levels in insertion order). If the referenced item is deleted, an error icon is shown on the row.

Restrictions on Selectable Items ​

The Learned Items selection is restricted to items defined in the Item tab that meet the following conditions:

  • Type is not consumable (skills / magic / basic actions only)
  • BA_ESCAPE (basic action: escape) is excluded (as it's enemy-only, there's no meaning to characters learning it on level up)

Consumables (Potions, etc.) Not in Learned List

Consumables (potions, elixirs, etc.) are "used to produce an effect" and don't fit the concept of "learning". If the user wants to "obtain consumables on level up", design them to be obtained via events or drops.

Meaning of Learn Level = 0 ​

Learn Level 0 means "initial learn at Lv1". It is automatically treated as already learned at character creation (at Lv1).

Input Validation ​

  • The learn level field is integerized, minimum 0. Blank or non-numeric is corrected to 0

Example Usage ​

  • MA_FIRE : 3 → Learn magic "Fire" upon reaching Lv3
  • SK_SLASH : 5 → Learn skill "Slash" upon reaching Lv5
  • BA_ATTACK : 0 → Initial learn basic action "Attack" at Lv1

Right Pane: Learned Attaches (Column 3 Top) ​

The area defining attaches (passives) that characters of this class learn automatically on level up.

Input Items ​

ItemInput FormDescription
AttachSelectSelect from passive type attaches defined in the Attach tab (equipment types like weapons / armor are not selectable)
Learn LevelInteger (0 or more)Level at which this attach is learned (0 = initial learn at Lv1)
Update button—Add input to the list or overwrite
Delete button—Delete the attach selected in the list

List ​

The list shows added learned attaches in attach ID : learn level format, sorted by learn level ascending (same levels in insertion order). If the referenced attach is deleted, an error icon is shown on the row.

Restrictions on Selectable Attaches ​

The Learned Attaches selection is restricted to attaches defined in the Attach tab whose Type is Passive only. Weapons / shields / helmets / armor / accessories do not appear in the choices.

To Learn Equipment Type (Weapons, Armor, etc.) via Level Up

To give equipment-type attaches to a character, use the following methods:

  • Give as initial equipment: Specify in the Character tab's initial attaches
  • Obtain via drop / event: Obtain via drop table or event "Add Item"

Auto-equipping weapons via level up is unnatural (it would be strange for a Dragon Slayer to auto-equip after defeating one), so this tab restricts to passives only.

Auto-Equipped After Learning ​

Learned passives are automatically added to the character's equipment slots. Since passives are not shown in equipment slots, nothing changes visually, but constant effects are active.

Input Validation ​

  • The learn level field is integerized, minimum 0

Example Usage ​

  • PA_MAGICKNOWLEDGE : 3 → Learn passive "Magic Knowledge" upon reaching Lv3
  • PA_DEFENDER : 10 → Learn passive "Defender" upon reaching Lv10

Right Pane: Dev Memo (Column 3 Bottom) ​

A memo field freely writable by the user for working notes.

Input Items ​

ItemInput FormDescription
Dev MemoMulti-line textUser's working memo. Supports line breaks

Purpose ​

  • Record class design intent (e.g., "Physical attacker, all passives acquired by Lv10")
  • Record unfinished TODOs (e.g., "Plan to adjust Lv15+ growth formula")
  • Record relationships to other tabs (e.g., "Used by character IDs: KNIGHT_A, KNIGHT_B")

Not Referenced at Runtime ​

Dev memo has zero impact on the game. The field is purely intended as a user working aid.

Typical Usage Flows ​

Flow 1: Create a New Class ​

  1. Press the left pane's New button
  2. Enter ID (e.g., KNIGHT) and OK
  3. The right pane shows the new class
  4. Enter "Knight" for Class Display Name
  5. Bulk-generate the table with the Generate EXP Table button (e.g., Multiplier template, Base EXP 10, Multiplier 1.2, Max Level 30)
  6. Add Parameter Growth Formulas:
    • HP: 3 (Update)
    • STR: 2 (Update)
    • AGI: 1 (Update)
  7. Add Learned Items:
    • BA_ATTACK : 0 (initial learn of basic attack at Lv1)
  8. Add Learned Attaches:
    • PA_MAGICKNOWLEDGE : 3 (learn passive at Lv3)
  9. Confirm cumulative growth for Lv1-30 with the Growth Preview button
  10. Write to class.json with the Save button

Flow 2: Create a Derived Class from an Existing Class ​

  1. Select KNIGHT in the left pane
  2. Press Copy button; KNIGHT_2 is auto-generated (all data duplicated)
  3. Rename to PALADIN with the Change ID button
  4. Change Class Display Name to "Paladin"
  5. Adjust Parameter Growth Formulas (e.g., STR 2 → 1, INT 0 → 1)
  6. Add MA_HEAL : 5 to Learned Items
  7. Press Save button

Flow 3: Fine-Tune the EXP Table ​

  1. Select the target class in the left pane
  2. Click the row to modify in the EXP table list
  3. Values populate the Required EXP input
  4. Modify the value (e.g., 20 → 25)
  5. Overwrite with Update button
  6. Press Save button

Flow 4: Trim High-Level Rows of the Table ​

  1. Suppose the EXP table has been created up to Lv30
  2. To shrink to Lv25, press the Remove 1 Row button 5 times
  3. Reduces Lv30 → Lv29 → Lv28 → Lv27 → Lv26 → Lv25
TabRelated Content
Parameter tabDefinition of parameters referenced in growth formulas (HP / MP / STR / AGI / DEF / INT / MAG / Durability, etc.)
Item tabSource of learned item choices (non-consumables, excluding BA_ESCAPE)
Attach tabSource of learned attach choices (passive only)
Character tabReferences class ID via the class property, defines character's Lv1 initial parameters
Enemy tabReferences class ID via the class property, defines enemy's Lv1 initial parameters
Formula ReferenceNotation for growth formulas (USER.LEVEL.MAX / randi_range, etc.)

Notes ​

Mid-Input Tab Switch May Discard Unsaved Changes ​

EXP tables, growth formulas, and learned lists have changes committed at the moment the Update button is pressed. Switching tabs after entering values without pressing Update may discard changes. Always press Update after input.

Formula Errors Are Not Detected in the Editor ​

Parameter growth formula syntax errors or undefined references cause no warnings in the editor. At runtime on level up, they are treated as 0 (fallback). If unsure of syntax, verify via the Growth Preview dialog or actually starting the game.

Generating EXP Table Fully Overwrites Existing ​

Generating via the Generate EXP Table dialog completely discards the existing table. To preserve manually adjusted values, back up the class via Copy button before generating, or manually overwrite individually after generation.

No Mechanism to Learn Equipment Type (Weapons, Armor) via Level Up ​

Learned attaches are restricted to "passives only". To obtain equipment types (weapons / shields / helmets / armor / accessories) via level up, use drop tables or event "Add Item".

No Reference Integrity Check on Class Deletion ​

When deleting a class, characters and enemies referencing it are not automatically fixed. Characters/enemies with a dangling class ID may exhibit unexpected behavior at runtime (cannot level up, defaults applied, etc.). Confirm usage locations in the Character / Enemy tabs before deletion.