Method: PathfinderDeckBuilder::SkillCard#variable_content

Defined in:
lib/skill_card.rb

#variable_content(path) ⇒ Object



27
28
29
30
31
32
33
34
35
36
37
38
39
# File 'lib/skill_card.rb', line 27

def variable_content(path)
  {
    "contents": [
      "subtitle | #{path["name"]}",
      "rule",
      "property | Value | #{path["value"]}",
      "property | Ranks | #{path["ranks"]}",
      "property | #{path["attrname"]} Bonus: | #{path["attrname"]} #{path["attrbonus"]}",
      "section | Description",
      "text | #{path["description"]}"[0..500]
    ]
  }
end