itteerde / fvttconfig

Configuration for our Foundry VTT environments
2 stars 1 forks source link

Summon Construct Clay wrong AC #156

Closed itteerde closed 1 year ago

itteerde commented 1 year ago
itteerde commented 1 year ago

odd, it has

let updates = {
    token: {
        "displayName": CONST.TOKEN_DISPLAY_MODES.HOVER,
        "flags.Tablerules.spellLevel": level
    },
    actor: {
        'system.attributes.ac.flat': 13 + level,
        'system.attributes.hp': { value: 40 + 15 * (level - 4), max: 40 + 15 * (level - 4) },
        "system.details.cr": actor.system.attributes.prof,
        "system.attributes.prof": actor.system.attributes.prof,
        "flags.world.summoned.item": item.uuid,
        "flags.world.summoned.actor": actor.uuid
    },
    embedded: {
        Item: {
            "Multiattack": { name: `Multiattack (${Math.floor(level / 2)} attacks)` },
            "Slam": {
                'system.damage.parts': [[`1d8 + 4 + ${level}`, "bludgeoning"]],
                'system.attackBonus': `- @mod - @prof + ${summonerAttack}`,
            },
            "Stone Lethargy": {
                'system.save.dc': summonerDc
            }
        }
    }
}
itteerde commented 1 year ago

image was unarmored, change in compendium and Actor imported!

itteerde commented 1 year ago

tested in ToA, works.