-
Notifications
You must be signed in to change notification settings - Fork 24
Adding mobs
DarkTl edited this page Jun 9, 2019
·
7 revisions
You can find mobs data in game\content\db\mobs.json. Mob is a simplified creature used only as an enemy withing battle engine.
- name: name of the mob, must be unique.
- desc: description, can be any not too long text.
- front_row: if 1, mob will use front line in battle engine. If 0, it will prefer back row.
- battle_sprite: path to sprite used in battle. Must look at right.
- portrait: path to portrait image used mostly in menus. Preferably should look at right.
- race: can be any text, does not have any logic behind it. Used in menus.
- min_lvl: used for sorting mobs in bestiary. The lower, the higher.
- basetraits: classes used by the mob. Can be one or two.
- stats: additional bonuses to stats after the game builds the mob. For instance, attack: 50 will give the mob +50% of its max possible attack.
- skills: can be used to improve mob skills, but not used atm.
- traits: list of traits the mob has. Must be known traits (ie registered in traits jsons).
- attack_skills: non magic skills this mob can use.
- magic_skills: spells this mob can use.
- Mobs still need mp, vitality and health to cast spells and attacks, spells are not free for them.
- Ingame mobs can be built with different levels depending on location where you've met them. That can vary their power sometimes.
- Images for mobs should be in png or webp format, with no backgrounds.