Battle
📍
File Locations
config/
└── CobbleBetterNPC/
├── NPC/ ← NPC JSON Files
└── Dialogues/ ← JSON dialog files🧱 Basic structure of a battle-type NPC
config/
└── CobbleBetterNPC/NPC/ash_npc_battle.json {
"id": "cobblebetternpc:ash",
"type": "battle",
"names": ["Ash Ketchum"],
"resourceIdentifier": "cobblemon:standard",
"minPokemon": 3,
"maxPokemon": 3,
"interaction": [
{
"name": "dialogue one",
"with": "1",
"permission": "cobblebetternpc.ash.finish",
"dialogue": "cobblebetternpc:ash_finish_battle"
}
],
"party": [
"venusaur uncatchable=true level=5 hp_iv=10 attack_iv=10 defence_iv=10 special_attack_iv=10 special_defence_iv=10 speed_iv=10",
"charizard uncatchable=true level=5 hp_iv=10 attack_iv=10 defence_iv=10 special_attack_iv=10 special_defence_iv=10 speed_iv=10",
"blastoise uncatchable=true level=5 hp_iv=10 attack_iv=10 defence_iv=10 special_attack_iv=10 special_defence_iv=10 speed_iv=10"
]
}
Field
Description
Example
💬 Dialog file (builder format)
✔️ Full Example Dialogue
✔️ Full Example NPC
Last updated