Spell damage modding

When modding power of spells (lightning bolt, fireball, etc.) via spells.json, the in-game description shows the desired damage amount, but the actual damage dealt is unaffected. Example extract of modded spells.json is below - am I missing something?

"fireball" : {
    "index" : 21,
    "targetType": "LOCATION",
    "power" : 20,
    
    "animation":{
        "hit":"C13SPF"] //C13SPF0 ???
    },      
    "sounds": {
        "cast": "SPONTCOMB"
    },
    "levels" : {
        "base":{
            "range" : "0,1",
            "targetModifier":{"smart":false}
        },
       "none" : { "power" : 20 },
        "basic" : { "power" : 20 },
        "advanced" : { "power" : 100 },
        "expert" : { "power" : 200 },
    },
    "flags" : {
        "damage": true,
        "offensive": true,
        "negative": true
    },
    "immunity" : {
        "DIRECT_DAMAGE_IMMUNITY": true
    }
},

The only new lines are those with the word “power” in them.

" “expert” : { “power” : 200 }," - remove comma on the end of line

While technically that does cause an invalid json format, the parser seems well able to handle it, and the displayed power does update. So not really the issue here.

Just remove that comma and test once more.

Wow, I stand corrected - that did fix it. Thanks for that. Feel like a moron now for making assumptions without testing them.