暂无描述
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

example_data.ts 6.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166
  1. module RpgCardsUI {
  2. export var card_data_example = [
  3. {
  4. "count": 1,
  5. "color": "maroon",
  6. "title": "Burning Hands",
  7. "icon": "book-cover",
  8. "icon_back": "robe",
  9. "contents": [
  10. "subtitle | 1st level evocation",
  11. "rule",
  12. "property | Casting time | 1 action",
  13. "property | Range | Self (15ft cone)",
  14. "property | Components | V,S",
  15. "rule",
  16. "fill | 2",
  17. "text | Each creature in a 15-foot cone must make a Dexterity saving throw. A creature takes <b>3d6 fire damage</b> on a failed save, or half as much damage on a successful one.",
  18. "text | The fire ignites any flammable objects in the area that aren't being worn or carried.",
  19. "fill | 3",
  20. "section | At higher levels",
  21. "text | +1d6 damage for each slot above 1st"
  22. ],
  23. "tags": ["spell", "mage"]
  24. },
  25. {
  26. "count": 1,
  27. "color": "indigo",
  28. "title": "Cunning Action",
  29. "icon": "white-book",
  30. "icon_back": "cloak-dagger",
  31. "contents": [
  32. "subtitle | Rogue feature",
  33. "rule",
  34. "fill | 2",
  35. "text | You can take a <b>bonus action on each of your turns</b> in combat. This action can be used only to take the <b>Dash, Disengage, or Hide</b> action.",
  36. "fill | 2",
  37. "section | Fast hands (Thief 3rd)",
  38. "text | You can also use the bonus action to make a Dexterity (<b>Sleight of Hand</b>) check, use your thieves' tools to <b>disarm a trap</b> or <b>open a lock</b>, or take the <b>Use an Object</b> action."
  39. ],
  40. "tags": ["feature", "rogue"]
  41. },
  42. {
  43. "count": 1,
  44. "color": "dimgray",
  45. "title": "Full Plate",
  46. "icon": "breastplate",
  47. "contents": [
  48. "subtitle | Heavy armor (1500gp)",
  49. "rule",
  50. "property | AC | 18",
  51. "property | Strength required | 15",
  52. "property | Stealth | Disadvantage",
  53. "rule",
  54. "fill | 2",
  55. "description | Heavy | Unless you have the required strength, your speed is reduced by 10 feet.",
  56. "description | Stealth | You have disadvantage on Dexterity (Stealth) checks.",
  57. "fill | 3"
  58. ],
  59. "tags": ["item", "armor"]
  60. },
  61. {
  62. "count": 1,
  63. "color": "dimgray",
  64. "title": "Dagger",
  65. "icon": "mixed-swords",
  66. "contents": [
  67. "subtitle | Simple melee weapon (2gp)",
  68. "rule",
  69. "property | Damage | 1d4 piercing",
  70. "property | Modifier | Strength or Dexterity",
  71. "property | Properties | Light, Finesse, Thrown (20/60)",
  72. "rule",
  73. "fill | 2",
  74. "description | Finesse | Use your choice of Strength or Dexterity modifier for attack and damage.",
  75. "description | Light | When you attack while dual wielding light weapons, you may use a bonus action to attack with your off hand.",
  76. "description | Thrown | You can throw the weapon to make a ranged attack with the given range.",
  77. "fill | 3"
  78. ],
  79. "tags": ["item", "weapon"]
  80. },
  81. {
  82. "count": 1,
  83. "color": "dimgray",
  84. "title": "Shortsword of Very Long Names",
  85. "title_size": "10",
  86. "icon": "crossed-swords",
  87. "contents": [
  88. "subtitle | Simple melee weapon (10gp)",
  89. "rule",
  90. "property | Damage | 1d6 piercing",
  91. "property | Modifier | Strength or Dexterity",
  92. "property | Properties | Light, Finesse",
  93. "rule",
  94. "fill | 2",
  95. "description | Finesse | Use your choice of Strength or Dexterity modifier for attack and damage.",
  96. "description | Light | When you attack while dual wielding light weapons, you may use a bonus action to attack with your off hand.",
  97. "fill | 3"
  98. ],
  99. "tags": ["item", "weapon", "magic"]
  100. },
  101. {
  102. "count": 1,
  103. "color": "dimgray",
  104. "title": "Wand of Magic Missiles",
  105. "icon": "crystal-wand",
  106. "contents": [
  107. "subtitle | Wondrous item",
  108. "rule",
  109. "property | Maximum charges | 7",
  110. "property | Recharge | 1d6+1 each day",
  111. "property | Depletion | If you expend the last charge, roll a d20. On a 1, the item is destroyed.",
  112. "rule",
  113. "fill | 2",
  114. "description | Spells | You can use your action to cast the following spells:",
  115. "bullet | magic missile, 1st level (1 charge)",
  116. "bullet | magic missile, 2nd level (2 charges)",
  117. "bullet | magic missile, 3rd level (3 charges)",
  118. "fill | 3",
  119. "boxes | 7 | 2.5"
  120. ],
  121. "tags": ["item", "wondrous-item", "magic"]
  122. },
  123. {
  124. "count": 2,
  125. "color": "dimgray",
  126. "title": "Potion of Healing",
  127. "icon": "drink-me",
  128. "contents": [
  129. "subtitle | Potion (50gp)",
  130. "rule",
  131. "property | Use time | 1 action",
  132. "property | Hit points restored | 2d4+2",
  133. "rule",
  134. "fill | 2",
  135. "text | When you drink this potion, you regain 2d4+2 hitpoints.",
  136. "text | Drinking or administering a potion takes 1 action.",
  137. "fill | 3"
  138. ],
  139. "tags": ["item", "consumable"]
  140. },
  141. {
  142. "count": 1,
  143. "color": "black",
  144. "title": "Goblin",
  145. "icon": "imp-laugh",
  146. "contents": [
  147. "subtitle | Small humanoid (goblinoid)",
  148. "rule",
  149. "property | Armor class | 15 (leather armor, shield)",
  150. "property | Hit points | 7 (2d6)",
  151. "rule",
  152. "dndstats | 8 | 14 | 10 | 10 | 8 | 8",
  153. "rule",
  154. "property | Skills | Stealth +6",
  155. "property | Challenge | 1/4 (50 XP)",
  156. "rule",
  157. "description | Nimble escape | Disengage or Hide as bonus action",
  158. "fill | 2",
  159. "section | Actions",
  160. "description | Scimitar | Melee Weapon Attack: +4 to hit, reach 5 ft., one target. Hit: 5 (1d6 + 2) slashing damage"
  161. ],
  162. "tags": ["creature", "humanoid"]
  163. }
  164. ];
  165. }