Skip to content
Draft
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lib/magic/cards/righteous_valkyrie.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ module Cards
toughness 4
keywords :flying

class PowerAndToughnessModification < Abilities::Static::PowerAndToughnessModification
class RighteousValkyriePowerAndToughnessModification < Abilities::Static::PowerAndToughnessModification
# As long as you have at least 7 life more than your starting life total...
conditions do
t = controller.life >= controller.starting_life + 7
Expand All @@ -18,7 +18,7 @@ class PowerAndToughnessModification < Abilities::Static::PowerAndToughnessModifi
modify power: 2, toughness: 2
end

def static_abilities = [PowerAndToughnessModification]
def static_abilities = [RighteousValkyriePowerAndToughnessModification]

class AngelOrClericEnters < TriggeredAbility::EnterTheBattlefield
def should_perform?
Expand Down
4 changes: 2 additions & 2 deletions lib/magic/cards/rousing_read.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ class KeywordGrantFlying < Abilities::Static::KeywordGrant
applies_to_target
end

class PowerAndToughnessModification < Abilities::Static::PowerAndToughnessModification
class RousingReadPowerAndToughnessModification < Abilities::Static::PowerAndToughnessModification
modify power: 1, toughness: 1
applies_to_target
end

def static_abilities
[KeywordGrantFlying, PowerAndToughnessModification]
[KeywordGrantFlying, RousingReadPowerAndToughnessModification]
end
end
end
Expand Down