fix halfup logic when used on negation

halfup is computation is correct but when used in negation, you must use
the halfdown, example if you have 5 life and you pay half your life
rounded up, you must have 3 life, so life:-halfdownlifetotal. if you use
halfup you will lose 3 life...
This commit is contained in:
Anthony Calosa
2016-08-27 16:23:42 +08:00
parent de6619b383
commit 8c4c80731c

View File

@@ -11661,7 +11661,7 @@ type=Sorcery
[card]
name=Blood Tribute
text=Kicker - Tap an untapped Vampire you control. (You may tap a Vampire you control in addition to any other costs as you cast this spell.) -- Target opponent loses half his or her life, rounded up. If Blood Tribute was kicked, you gain life equal to the life lost this way.
auto=life:-halfupopponentlifetotal opponent
auto=life:-halfdownopponentlifetotal opponent
auto=life:opponentlifetotal controller
mana={4}{B}{B}
other={4}{b}{b}{t(vampire|mybattlefield)} name(Pay Kicker)
@@ -16667,7 +16667,7 @@ toughness=2
[card]
name=Catacomb Dragon
abilities=flying
auto=@combat(blocked) source(this) from(creature[-artifact;-black]):all(trigger[from]) -halfdownpower/0 ueot
auto=@combat(blocked) source(this) from(creature[-artifact;-black]):all(trigger[from]) -halfuppower/0 ueot
text=Flying -- Whenever Catacomb Dragon becomes blocked by a nonartifact, non-Dragon creature, that creature gets -X/-0 until end of turn, where X is half the creature's power, rounded down.
mana={4}{B}{B}
type=Creature
@@ -23064,7 +23064,7 @@ toughness=5
name=Cruel Bargain
text=Draw four cards. You lose half your life, rounded up.
auto=draw:4
auto=life:-halfuplifetotal
auto=life:-halfdownlifetotal
mana={B}{B}{B}
type=Sorcery
[/card]
@@ -32259,9 +32259,9 @@ type=Land
[/card]
[card]
name=Ebonblade Reaper
auto=@combat(attacking) source(this):life:-halfuplifetotal controller
auto=@combatdamagefoeof(player) from(this):life:-halfupopponentlifetotal opponent
auto=@combatdamageof(player) from(this):life:-halfuplifetotal controller
auto=@combat(attacking) source(this):life:-halfdownlifetotal controller
auto=@combatdamagefoeof(player) from(this):life:-halfdownopponentlifetotal opponent
auto=@combatdamageof(player) from(this):life:-halfdownlifetotal controller
facedown={3}
autofacedown={3}{b}{b}:morph
text=Whenever Ebonblade Reaper attacks, you lose half your life, rounded up. -- Whenever Ebonblade Reaper deals combat damage to a player, that player loses half his or her life, rounded up. -- Morph {3}{B}{B} (You may cast this face down as a 2/2 creature for {3}. Turn it face up any time for its morph cost.)
@@ -55288,7 +55288,7 @@ toughness=2
name=Infernal Contract
text=Draw four cards. You lose half your life, rounded up.
auto=draw:4
auto=life:-halfuplifetotal controller
auto=life:-halfdownlifetotal controller
mana={B}{B}{B}
type=Sorcery
[/card]
@@ -86214,7 +86214,7 @@ name=Quietus Spike
text=Equipped creature has deathtouch. -- Whenever equipped creature deals combat damage to a player, that player loses half his or her life, rounded up. -- Equip {3}
mana={3}
auto={3}:equip
auto=teach(creature) transforms((,newability[deathtouch],newability[@combatdamagefoeof(player) from(this):life:-halfupopponentlifetotal opponent],newability[@combatdamageof(player) from(this):life:-halfuplifetotal controller]))
auto=teach(creature) transforms((,newability[deathtouch],newability[@combatdamagefoeof(player) from(this):life:-halfdownopponentlifetotal opponent],newability[@combatdamageof(player) from(this):life:-halfdownlifetotal controller]))
type=Artifact
subtype=Equipment
[/card]