summaryrefslogtreecommitdiff
path: root/app/lib/rules/tables/data/ua_magic_items.yaml
blob: 3fa8e5b8b1d5a2c4f58bce4d9c2f34d78b9d65c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
ua_magic:
  formula: d100
  rows:
    - roll: 1-10
      steps:
        - table: magic_maps
    - roll: 11-100
      steps:
        - table: ua_magic_items

ua_magic_items:
  formula: d100
  rows:
    - roll: 1-20
      steps:
        - text: "Potion"
        - table: ua_potions
    - roll: 21-35
      steps:
        - text: "Scroll"
        - table: ua_scrolls
    - roll: 36-40
      steps:
        - text: "Ring"
        - table: ua_rings
    - roll: 41-45
      steps:
        - text: "Rod/Staff/Wand"
        - table: ua_rod_staff_wand
    - roll: 46-60
      steps:
        - text: "Misc. Magic"
        - table: ua_misc_magic
    - roll: 61-75
      steps:
        - text: "Armor/Shield"
        - table: ua_armor_shields
    - roll: 76-86
      steps:
        - text: "Sword"
        - table: ua_swords
    - roll: 87-100
      steps:
        - text: "Misc. Weapon"
        - table: ua_misc_weapons

ua_potions:
  formula: d100
  rows:
    - roll: 1-65
      steps:
        - text: "Table 1"
    - roll: 66-100
      steps:
        - text: "Table 2"

ua_scrolls:
  formula: d100
  rows:
    - roll: 1-85
      steps:
        - text: "Table 1"
    - roll: 86-100
      steps:
        - text: "Table 2"

ua_rings:
  formula: d100
  rows:
    - roll: 1-67
      steps:
        - text: "Table 1"
    - roll: 68-100
      steps:
        - text: "Table 2"

ua_rod_staff_wand:
  formula: d100
  rows:
    - roll: 1-40
      steps:
        - text: "Table 1"
    - roll: 41-100
      steps:
        - text: "Table 2"

ua_misc_magic:
  formula: d100
  rows:
    - roll: 1-14
      steps:
        - text: "Table 1"
    - roll: 15-28
      steps:
        - text: "Table 2"
    - roll: 29-42
      steps:
        - text: "Table 3"
    - roll: 43-56
      steps:
        - text: "Table 4"
    - roll: 57-70
      steps:
        - text: "Table 5"
    - roll: 71-85
      steps:
        - text: "Table 6"
    - roll: 86-100
      steps:
        - text: "Table 7"

ua_armor_shields:
  formula: d100
  rows:
    - roll: 1-50
      steps:
        - text: "Table 1"
    - roll: 51-100
      steps:
        - text: "Table 2"

ua_swords:
  formula: d100
  rows:
    - roll: 1-95
      steps:
        - text: "Table 1"
        - table: sword_type
        - table: sword_intelligence
    - roll: 96-100
      steps:
        - text: "Table 2"
        - table: sword_type
        - table: sword_intelligence

ua_misc_weapons:
  formula: d100
  rows:
    - roll: 1-50
      steps:
        - text: "Table 1"
    - roll: 51-100
      steps:
        - text: "Table 2"