oakbrad / dungeonchurch

D&D group infrastructure & homebrew setting.
https://www.dungeon.church
44 stars 5 forks source link

Dwarf Race overwrites #14

Closed oakbrad closed 2 months ago

oakbrad commented 2 months ago
oakbrad commented 2 months ago

Ok found an actual working example:

    "subrace": [
        {
            "source": "ToB3",
            "name": "Iorvensiav",
            "page": 117,
            "raceName": "Tiefling",
            "raceSource": "PHB",
            "resist": [
                "cold"
            ],
            "additionalSpells": [
                {
                    "innate": {
                        "3": {
                            "daily": {
                                "1": [
                                    "hellish rebuke#2"
                                ]
                            }
                        },
                        "5": {
                            "daily": {
                                "1": [
                                    "alter self"
                                ]
                            }
                        }
                    },
                    "ability": "cha",
                    "known": {
                        "1": [
                            "message#c"
                        ]
                    }
                }
            ],
            "entries": [
                {
                    "type": "entries",
                    "name": "Frozen Resistance",
                    "entries": [
                        "You have resistance to cold damage."
                    ],
                    "data": {
                        "overwrite": "Hellish Resistance"
                    }
                },
                {
                    "type": "entries",
                    "name": "Iorvensiav's Legacy",
                    "entries": [
                        "You know the {@spell message} cantrip. When you reach 3rd level, you can cast the {@spell hellish rebuke} spell, dealing cold damage in place of fire damage, as a 2nd‑level spell once with this trait and regain the ability to do so when you finish a long rest. When you reach 5th level, you can cast the {@spell alter self} spell once with this trait and regain the ability to do so when you finish a long rest. Charisma is your spellcasting ability for these spells."
                    ],
                    "data": {
                        "overwrite": "Infernal Legacy"
                    }
                }
            ],
            "fluff": {
                "_raceFluff": {
                    "name": "Iorvensiav",
                    "source": "ToB3"
                }
            }
        }
    ],
    "raceFluff": [
        {
            "source": "ToB3",
            "name": "Iorvensiav",
            "_copy": {
                "name": "Tiefling",
                "source": "PHB",
                "_mod": {
                    "entries": {
                        "mode": "prependArr",
                        "items": {
                            "type": "section",
                            "entries": [
                                "Throughout history, {@creature iorvensiav, lady of the unforgiving cold|ToB3|Iorvensiav} has spread her influence amongst mortals. Those gifted with her power or bloodline produce descendants with fiendish traits. The skin of these tieflings is bluish-white like ice or blackish-purple like frostbite, and their horns are always crystalline, as if they were sculpted from ice. The tieflings may have patches of scales or be scaled from head to toe."
                            ]
                        }
                    }
                }
            }
        }
    ],