Skip to content

4. Fight (PvP PvE)

Jason Ho edited this page Aug 4, 2022 · 2 revisions

You cannot fight without attacking

Use skill

JSON Structure

{
    "action": "attack",
    "skill": "xxx"
}

Output

Battle logs if successful
Error output if not

List skills

List the player's current list of learned skills

JSON structure

{
    "action": "list_skills"
}

Fight status

Check yours and your opponent's status

JSON structure

{
    "action": "fight_status"
}

Clone this wiki locally