summaryrefslogtreecommitdiffhomepage
path: root/cards
diff options
context:
space:
mode:
Diffstat (limited to 'cards')
-rw-r--r--cards/card.rb24
-rw-r--r--cards/spells.rb185
2 files changed, 202 insertions, 7 deletions
diff --git a/cards/card.rb b/cards/card.rb
index db2e354..3d76d22 100644
--- a/cards/card.rb
+++ b/cards/card.rb
@@ -241,6 +241,20 @@ class Card
height 48.px
width 48.px
end
+ rule '.greater_icon' do
+ background color: :black
+ padding '12px 0px 0px 12px'
+ font size: 30.px
+ height 48.px
+ width 48.px
+ end
+ rule '.lesser_icon' do
+ background color: :black
+ padding '12px 0px 0px 12px'
+ font size: 30.px
+ height 48.px
+ width 48.px
+ end
rule '.face_icon' do
background color: :black
#padding '12px 0px 0px 12px'
@@ -384,6 +398,16 @@ class Card
"🎭"
end
end
+ if action.symbol.include? :greater
+ _.span.icon.greater_icon do
+ "âž•"
+ end
+ end
+ if action.symbol.include? :lesser
+ _.span.icon.lesser_icon do
+ "âž–"
+ end
+ end
end
_.div.action_detail do
_.markdown <<-MD
diff --git a/cards/spells.rb b/cards/spells.rb
index 796b62a..39da46b 100644
--- a/cards/spells.rb
+++ b/cards/spells.rb
@@ -2,6 +2,11 @@ load 'card.rb'
beginner_spells = {}
+spell_color = 'firebrick'
+modifier_color = "#b24747"
+
+=begin
+
beginner_spells[:wispy_flame] = Card.new(
title: "Wispy Flame",
damage: 'd4',
@@ -9,8 +14,8 @@ beginner_spells[:wispy_flame] = Card.new(
#reposte: 'Prc',
actions: [
Card::Action.new(
- content: '(**even**) Engulf your hand in flames for short while. You need to maintain concentration.',
- symbol: [:clubs, :blood]
+ content: 'Engulf your hand in flames for one turn. You need to maintain concentration each turn.',
+ symbol: [:joker, :blood]
),
Card::Action.new(
seperator: true,
@@ -18,9 +23,35 @@ beginner_spells[:wispy_flame] = Card.new(
symbol: [:tap]
),
],
- color: 'firebrick',
+ color: spell_color,
flavour: '"Portable Candle"',
- type: 'Blood Magic (Igneous)'
+ type: 'Blood Magic(Igneous)'
+)
+
+beginner_spells[:concentrated_cast] = Card.new(
+ title: "Concentrated Cast",
+ actions: [
+ Card::Action.new(
+ content: 'Change the number of turns you need to check for concentration equal to the **card played** times your **Resolve**.',
+ symbol: [:even]
+ ),
+ ],
+ color: modifier_color,
+ #flavour: '"Portable Candle"',
+ type: 'Blood Magic(Modifier)'
+)
+
+beginner_spells[:powerful_cast] = Card.new(
+ title: "Powerful Cast",
+ actions: [
+ Card::Action.new(
+ content: 'Double the amount of dice rolled for this spell.',
+ symbol: [:face]
+ ),
+ ],
+ color: modifier_color,
+ #flavour: '"Portable Candle"',
+ type: 'Blood Magic(Modifier)'
)
@@ -39,7 +70,7 @@ beginner_spells[:summon_flesh] = Card.new(
seperator: true,
),
],
- color: 'firebrick',
+ color: spell_color,
flavour: '"Writhing flesh mass that assimilates"',
type: 'Blood Magic (Eldritch)'
)
@@ -67,8 +98,8 @@ beginner_spells[:summon_alchemicals] = Card.new(
#reposte: 'Prc',
actions: [
Card::Action.new(
- content: '(**odd**) Summon a random amount of a random alchemical depending on various hidden factors.',
- symbol: [:diamonds, :blood, :odd, :even, :face]
+ content: 'Summon a random amount of a random alchemical depending on various hidden factors.',
+ symbol: [:joker, :blood]
),
],
color: 'firebrick',
@@ -91,6 +122,146 @@ beginner_spells[:northern_wind] = Card.new( #TODO
flavour: '"Won\'t fail blowing out birthday candles"',
type: 'Blood Magic (Storm)'
)
+=end
+beginner_spells[:planes_of_igneous] = Card.new( #TODO
+ title: "Planes of Igneous",
+ blood: 1,
+ #reposte: 'Prc',
+ actions: [
+ Card::Action.new(
+ content: 'Attune to the planes of igneous.',
+ symbol: [:blood]
+ ),
+ ],
+ color: 'firebrick',
+ flavour: '"Sea of flames and ashes."',
+ type: 'Blood Spell Base'
+)
+# Ruby
+
+beginner_spells[:planes_of_storm] = Card.new( #TODO
+ title: "Planes of Storm",
+ blood: 1,
+ #reposte: 'Prc',
+ actions: [
+ Card::Action.new(
+ content: 'Attune to the planes of storm.',
+ symbol: [:blood]
+ ),
+ ],
+ color: 'firebrick',
+ flavour: '"Ice cold winds and storms."',
+ type: 'Blood Spell Base'
+)
+# Sapphire
+
+beginner_spells[:planes_of_eldritch] = Card.new( #TODO
+ title: "Planes of Eldritch",
+ blood: 1,
+ #reposte: 'Prc',
+ actions: [
+ Card::Action.new(
+ content: 'Attune to the planes of eldritch.',
+ symbol: [:blood]
+ ),
+ ],
+ color: 'firebrick',
+ flavour: '"Alchemicals and fleshy masses."',
+ type: 'Blood Spell Base'
+)
+# Ammolite
+
+beginner_spells[:planes_of_void] = Card.new( #TODO
+ title: "Planes of Void",
+ blood: 1,
+ #reposte: 'Prc',
+ actions: [
+ Card::Action.new(
+ content: 'Attune to the planes of void.',
+ symbol: [:blood]
+ ),
+ ],
+ color: 'firebrick',
+ flavour: '"Control Gravity"',
+ type: 'Blood Spell Base'
+)
+# Quartz
+
+beginner_spells[:planes_of_soul] = Card.new( #TODO
+ title: "Planes of Soul",
+ blood: 1,
+ #reposte: 'Prc',
+ actions: [
+ Card::Action.new(
+ content: 'Attune to the planes of soul.',
+ symbol: [:blood]
+ ),
+ ],
+ color: 'firebrick',
+ flavour: '"Dreams and Memories?"',
+ type: 'Blood Spell Base'
+)
+# Ilvaite
+
+beginner_spells[:touch] = Card.new( #TODO
+ title: "Touch of Magic",
+ blood: 1,
+ #reposte: 'Prc',
+ actions: [
+ Card::Action.new(
+ content: 'Summon magic around your hand.',
+ symbol: [:blood, :odd]
+ ),
+ ],
+ color: 'firebrick',
+ #flavour: '"Alchemicals and fleshy masses."',
+ type: 'Blood Spell Modified'
+)
+
+beginner_spells[:engulf] = Card.new( #TODO
+ title: "Elemental Engulf",
+ blood: 2,
+ #reposte: 'Prc',
+ actions: [
+ Card::Action.new(
+ content: 'Summon magic around your self.',
+ symbol: [:blood, :greater]
+ ),
+ ],
+ color: 'firebrick',
+ #flavour: '"Alchemicals and fleshy masses."',
+ type: 'Blood Spell Modified'
+)
+
+beginner_spells[:distance] = Card.new( #TODO
+ title: "Distance Casting",
+ blood: 2,
+ #reposte: 'Prc',
+ actions: [
+ Card::Action.new(
+ content: 'Summon magic at a distance.',
+ symbol: [:blood, :face]
+ ),
+ ],
+ color: 'firebrick',
+ #flavour: '"Alchemicals and fleshy masses."',
+ type: 'Blood Spell Modified'
+)
+
+beginner_spells[:endure] = Card.new( #TODO
+ title: "Enduring Arcana",
+ blood: 0,
+ #reposte: 'Prc',
+ actions: [
+ Card::Action.new(
+ content: 'Keep casting for a duration. Whenever distractions occurs to you while casting, such as an attack or a suprise, do a blood check with difficulty equal to the sum of the blood value of spell components used.',
+ symbol: [:blood, :even]
+ ),
+ ],
+ color: 'firebrick',
+ #flavour: '"Alchemicals and fleshy masses."',
+ type: 'Blood Spell Modified'
+)
File.write('beginner_spells.html', Card.build(beginner_spells.values))