Skip to content
This repository was archived by the owner on Jun 17, 2022. It is now read-only.
This repository was archived by the owner on Jun 17, 2022. It is now read-only.

Monster Actions #52

@RubenJ01

Description

@RubenJ01

Each monster has its own actions and those are saved like so:

"actions": [{
		"name": "Club",
		"desc": "Melee Weapon Attack: +2 to hit, reach 5 ft., one target. Hit: 2 (1d4) 
                 bludgeoning damage.",
     		"attack_bonus": 2,
		"damage_dice": "1d4"
	}]

It saves the atk bonus and dmg dice seperately, meaning we can make a command out of it, this is the actions block of an Acolyte.
The command syntax could be something like:
;action acolyte club
First it searches is the Acolyte has the action Club, If that is the case it uses the diceroller made by Refisio to roll a 1d4 + 2 and then it generates a nice output.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions