Kenan2000/BL9

mon_spell.json:10:31: missing mandatory member "shape"

snipercup opened this issue · 2 comments

When trying to load my game:


DEBUG    : Error: Json error: data/mods//BL9-100-monster-resilience-version//Monsters/mon_spell.json:10:31: missing mandatory member "shape"

    "flags": [ "SILENT", "IGNORE_WALLS" ],
    "valid_targets": [ "self", "ally", "hostile", "ground" ],
    "effect": "target_attack",
                              ^
    "min_aoe": 29,
    "max_aoe": 29,
    "field_id": "fd_fire",


 FUNCTION : bool main_menu::load_character_tab(bool)
 FILE     : src/main_menu.cpp
 LINE     : 1146

image

This is preventing me from loading my game. I downloaded the latest version of BL9 off github but I still get the error. I also get this warning:


 DEBUG    : ERROR: spell blazingtest has invalid effect target_attack

 FUNCTION : void spell_type::load(const JsonObject&, const string&)
 FILE     : src/magic.cpp
 LINE     : 243

The solution to the first error is to define the missing property 'shape'

I've just updated it and fixed this issue, check out the latest version :-)

It works now thanks