#!/usr/bin/env lua5.1 local d = require 'draw' local stats = { name = 'Azer', alignment = "lawful neutral", size = "medium", type = "elemental", ac = '17 (natural armor, shield)', hp = '39 (6d8 + 12)', speed = '30 ft.', str = 17, dex = 12, con = 15, int = 12, wis = 13, cha = 10, saving_throws = 'Con +4', immunities = 'fire, poison', condition_immunities = 'poisoned', senses = 'passive Perception 11', languages = 'Ignan', cr = '2 (450 XP)', traits = { { name='Heated Body', value="A creature that touches the azer or hits it with a melee attack while within 5 feet of it takes 5 (1d10) fire damage." }, { name="Heated Weapons", value="When the azer hits with a metal melee weapon, it deals and extra 3 (1d6) fire damage (included in the attack)." }, { name="Illumination", value="The azer sheds bright light in a 10=foot radius and dim light for an additional 10 feet." }, }, actions = { { name='Warhammer', value="*Melee Weapon Attack:* +5 to hit, reach 5 ft., one target. *Hit:* 7 (1d8 + 3) bludgeoning damage or 8 (1d10 + 3) bludgeoning damage if used with two hands to make a melee attack, plus 3 (1d6) fire damage." }, }, } print(d.draw(stats))