
Deed script for Dungeon Crawl Classics in Roll20. Calculates a Mighty Deed or Deed die style attack by rolling the deed die and adding to both attack and damage. Optionally does Smite for the Crawl! magazine paladin and a deed attack for the ranger or other custom class that uses a deed die without a Mighty Deed of Arms. Requires my Roll20 Library script. <a href="https://app.roll20.net/forum/post/569894/script-ut" rel="nofollow">https://app.roll20.net/forum/post/569894/script-ut</a>... To use, the character must have the attributes defined in the config portion of the script. - ActionDie: the die to roll for the spell check, as a d20 or d16 or whatever. - DeedDie: the die to roll for the deed, as a d4, d7 or whatever. - List of attributes to possibly affect the roll, expressed as bonuses such as +1 or -1 or 0. In my campaign we use 3 letter abbreviations for these like STR, AGI, PER, LCK, and INT. Change the array to match your campaign. - Threat: Expressed as the lowest number necessary to crit for the character. If a warrior crits on 18-20, this attribute should be 18. Defaults to 20 if it is not defined. Also optionally calculates success and failure of a Mighty Deed of Arms and a critical hit for warriors with increased threat die or characters wielding weapons with higher threat die. - Optional: Type of Deed defined in array. Mighty, Smite, Normal. If undefined, defaults to normal and will not determine success or failure of a Mighty Deed of Arms To call the script do this. !deed weapon damage|attack modifiers|damage modifiers|deed type|threat !deed: the command to call weapon damage: expressed as a die roll, 1d8, 2d4, etc attack modifiers: expressed as the name of the attributes containing the bonuses and any misc. bonuses to apply to attack damage modifiers: expressed as the name of the attributes containing the bonuses and any misc. bonuses to apply to damage deed type: Mighty, Smite, or Normal to determine Mighty Deed calculation for example: !deed 1d8|STR,LCK,+2|+2,STR|Mighty|18 Performs a Mighty Deed of Arms, will roll the character's Deed die, the die in the character's ActionDie attribute, add the STR bonus, LCK bonus, and +2 to attack along with the deed die result, then calculate damage as the weapon damage plus deed die result plus STR bonus, and +2. If the deed die is 3 or more, it gives a success result. If the Action Die was 18 or more natural roll, it sends a crit to chat. !deed 1d8|STR,AGI,-2|None Performs a normal attack with a deed die. will roll the character's Deed die, the die in the character's ActionDie attribute, add the STR bonus, AGI bonus, and -2 to attack along with the deed die result, then calculate damage as the weapon damage plus deed die result only. If the Action Die was natural 20, it sends a crit to chat. <a href="https://gist.github.com/sturtus/8353433" rel="nofollow">https://gist.github.com/sturtus/8353433</a>