|
|
@@ -249,10 +249,18 @@ class ShardsOfPower |
|
|
|
g.text spell.rules_text, :inline_format => true |
|
|
|
|
|
|
|
spell.reaches.each do |reach| |
|
|
|
g.formatted_text [ |
|
|
|
{:text => "+#{reach[0]} Reach: ", :styles => [:bold], :font => "Goudy"}, |
|
|
|
{:text => reach[1], :font => "Goudy"}, |
|
|
|
] |
|
|
|
reach_cost = mana_cost = reach_rules = nil |
|
|
|
if reach.size == 3 |
|
|
|
g.formatted_text [ |
|
|
|
{:text => "+#{reach[0]} Reach, #{reach[1]} Mana: ", :styles => [:bold], :font => "Goudy"}, |
|
|
|
{:text => reach[2], :font => "Goudy"}, |
|
|
|
] |
|
|
|
else |
|
|
|
g.formatted_text [ |
|
|
|
{:text => "+#{reach[0]} Reach: ", :styles => [:bold], :font => "Goudy"}, |
|
|
|
{:text => reach[1], :font => "Goudy"}, |
|
|
|
] |
|
|
|
end |
|
|
|
end |
|
|
|
|
|
|
|
spell.adds.each do |add| |
|
|
|