summaryrefslogtreecommitdiffhomepage
path: root/cards/spells.rb
blob: 2161458bf5228614c6dbe3df7daad06e484f7d8d (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
load 'card.rb'

cards = []

card = Card.new
card.title = "Wispy Flame"
card.color = 'firebrick'

card.attrib_top_right = '1'
card.attrib_top_right_icon = '🩸'

#card.attrib_top_right = '2'
#card.attrib_top_right_icon = '🛡️'

#card.attrib_bottom_right = '1'
#card.attrib_bottom_right_icon = '🎲'

#card.attrib_bottom_left = '1'
#card.attrib_bottom_left_icon = '⚔️'

card.actions.push Card::Action.new(
  content: '(**even**) Deal melee 🎲 **d4 damage**. If it is a small object set it on fire.',
  symbol: :spades,
)
card.flavour = '"Portable Candle"'
card.type = 'Blood Magic'

cards.push card

card = Card.new
card.title = "Summon Flesh"
card.color = 'firebrick'

card.attrib_top_right = '1'
card.attrib_top_right_icon = '🩸'

#card.attrib_top_right = '2'
#card.attrib_top_right_icon = '🛡️'

#card.attrib_bottom_right = '2'
#card.attrib_bottom_right_icon = '🎲'

#card.attrib_bottom_left = '1'
#card.attrib_bottom_left_icon = '⚔️'

card.actions.push Card::Action.new(
  content: '(**5 or less**) Heal a target within arms reach equal to the card played.',
  symbol: :hearts,
)
card.actions.push Card::Action.new(
  content: 'If this spell heals for more then half of the target\'s max health then they get flesh mass disease.',
  seperator: true,
)
card.flavour = '"Writhing flesh mass that assimilates"'
card.type = 'Blood Magic'

cards.push card

card = Card.new
card.title = "Slingshot"
card.color = 'rebeccapurple'

#card.attrib_top_left = '14'
#card.attrib_top_left_icon = '🩸'

#card.attrib_top_right = '2'
#card.attrib_top_right_icon = '🛡️'

#card.attrib_bottom_right = '2'
#card.attrib_bottom_right_icon = '🎲'

#card.attrib_bottom_left = '1'
#card.attrib_bottom_left_icon = '⚔️'

card.actions.push Card::Action.new(
  content: 'Attack with a 🎲 **d6** roll. On success deal ⚔️ **Prescision damage**.',
  symbol: :tap,
)
card.actions.push Card::Action.new(
  content: 'Ranged: This weapon avoids melee reposte attacks.',
  seperator: true,
)
card.flavour = '"Only a troublemaker would use this."'
card.type = 'Weapon'

cards.push card


File.write('card.html', Card.build(cards))