diff options
| -rw-r--r-- | cards/card.rb | 47 | ||||
| -rw-r--r-- | cards/spells.rb | 2 | ||||
| -rw-r--r-- | src/Spellcasting.md | 4 |
3 files changed, 42 insertions, 11 deletions
diff --git a/cards/card.rb b/cards/card.rb index 1521e77..db2e354 100644 --- a/cards/card.rb +++ b/cards/card.rb @@ -227,6 +227,28 @@ class Card rule '.hearts_icon' do color :orangered end + rule '.odd_icon' do + background color: :black + padding '12px 0px 0px 12px' + font size: 30.px + height 48.px + width 48.px + end + rule '.even_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' + #font size: 30.px + #height 48.px + #width 48.px + padding '6px 3px 2px 5px' + end rule '.icon' do display 'inline-block' padding '8px 4px 0px 4px' @@ -236,16 +258,6 @@ class Card height 52.px width 52.px end - rule '.face_icon' do - color :white - display 'inline-block' - padding 4.px - height 62.px - min width: 62.px - font size: 55.px - border radius: 15.px - background color: :black - end rule '.card_type' do background color: :antiquewhite text align: :center @@ -357,6 +369,21 @@ class Card "🩸" end end + if action.symbol.include? :odd + _.span.icon.odd_icon do + "🔻" + end + end + if action.symbol.include? :even + _.span.icon.even_icon do + "⬜" + end + end + if action.symbol.include? :face + _.span.icon.face_icon do + "ðŸŽ" + end + end end _.div.action_detail do _.markdown <<-MD diff --git a/cards/spells.rb b/cards/spells.rb index 693f6c6..796b62a 100644 --- a/cards/spells.rb +++ b/cards/spells.rb @@ -68,7 +68,7 @@ beginner_spells[:summon_alchemicals] = Card.new( actions: [ Card::Action.new( content: '(**odd**) Summon a random amount of a random alchemical depending on various hidden factors.', - symbol: [:diamonds, :blood] + symbol: [:diamonds, :blood, :odd, :even, :face] ), ], color: 'firebrick', diff --git a/src/Spellcasting.md b/src/Spellcasting.md index 8f979b1..6825fef 100644 --- a/src/Spellcasting.md +++ b/src/Spellcasting.md @@ -2,6 +2,10 @@ The world map is divided into regions. Each region will have a randomly assigned Each plane wil consist of a variety of "elemental" zones which shift around relative to our own plane. +Spells exist in 4 different "axis"(e.g strength, range, aoe, etc). Each card symbol will affect the spell in those various ways. + +We probably want few spells, but each spell individually gives a lot of variety. + Fire x2 - Magma - Fel Ash Sea x2 - Ice - Frostwind |
