Kenan2000 / BL9

A huge content mod for Cataclysm Dark Days Ahead greatly inspired by Resident Evil series by Capcom along with Half Life series as well - more than 175 new overmaps, new guns, unique melee weapons, dangerous monsters to fight, elaborate biomes and structures to explore, roaming patrols to fight and a quite interesting lore with NPCs
36 stars 12 forks source link

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

Closed snipercup closed 4 years ago

snipercup commented 4 years ago

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'

Kenan2000 commented 4 years ago

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

snipercup commented 4 years ago

It works now thanks