Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Process Spells List #2

Open
BTMorton opened this issue Mar 5, 2017 · 0 comments
Open

Process Spells List #2

BTMorton opened this issue Mar 5, 2017 · 0 comments

Comments

@BTMorton
Copy link
Owner

BTMorton commented Mar 5, 2017

It should be possible to process the spells list to create more usable JSON objects from them. Possibly following this interface?

interface Spell {
    name: string;
    level: number;
    components: string;
    duration: string;
    classes: Array<string>;
    text: Array<string>;
    school: string;
    ritual: boolean;
    time: string; // Casting time
    roll?: string; // Dice roll for this spell
    range: string;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant