From a099bc0fb1cbeba43d6e72bdec024a2313ca7492 Mon Sep 17 00:00:00 2001 From: The Stranjer <791672+TheStranjer@users.noreply.github.com> Date: Thu, 4 Jul 2019 09:24:54 -0400 Subject: [PATCH] Include a PDF field for spells --- spell.rb | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/spell.rb b/spell.rb index 4247183..2092559 100644 --- a/spell.rb +++ b/spell.rb @@ -13,7 +13,8 @@ class Spell :reaches, :adds, :rules_text, - :cost + :cost, + :pdf attr_accessor :authors @@ -37,7 +38,8 @@ class Spell rules_text:, authors:, adds: [], - cost: nil) + cost: nil, + pdf:) @death = death @fate = fate @@ -59,6 +61,7 @@ class Spell @authors = authors @adds = adds @cost = cost + @pdf = pdf end def primary_arcanum