mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 12:18:00 +00:00
- Improved the script pf Quietus Spike.
This commit is contained in:
@@ -5,7 +5,7 @@ K:Equip 3
|
|||||||
S:Mode$ Continuous | Affected$ Creature.EquippedBy | AddKeyword$ Deathtouch | Description$ Equipped creature has deathtouch. Whenever equipped creature deals combat damage to a player, that player loses half his or her life, rounded up.
|
S:Mode$ Continuous | Affected$ Creature.EquippedBy | AddKeyword$ Deathtouch | Description$ Equipped creature has deathtouch. Whenever equipped creature deals combat damage to a player, that player loses half his or her life, rounded up.
|
||||||
T:Mode$ DamageDone | ValidSource$ Creature.EquippedBy | ValidTarget$ Player | CombatDamage$ True | Execute$ TrigLoseLifeOpp | TriggerDescription$ Whenever equipped creature deals combat damage to a player, that player loses half his or her life, rounded up.
|
T:Mode$ DamageDone | ValidSource$ Creature.EquippedBy | ValidTarget$ Player | CombatDamage$ True | Execute$ TrigLoseLifeOpp | TriggerDescription$ Whenever equipped creature deals combat damage to a player, that player loses half his or her life, rounded up.
|
||||||
SVar:TrigLoseLifeOpp:AB$ LoseLife | Cost$ 0 | Defined$ TriggeredTarget | LifeAmount$ QuietusX | References$ QuietusX
|
SVar:TrigLoseLifeOpp:AB$ LoseLife | Cost$ 0 | Defined$ TriggeredTarget | LifeAmount$ QuietusX | References$ QuietusX
|
||||||
SVar:QuietusX:Count$DefenderLifeTotal/HalfUp
|
SVar:QuietusX:TriggeredTarget$LifeTotal/HalfUp
|
||||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/quietus_spike.jpg
|
SVar:Picture:http://www.wizards.com/global/images/magic/general/quietus_spike.jpg
|
||||||
Oracle:Equipped creature has deathtouch.\nWhenever equipped creature deals combat damage to a player, that player loses half his or her life, rounded up.\nEquip {3}
|
Oracle:Equipped creature has deathtouch.\nWhenever equipped creature deals combat damage to a player, that player loses half his or her life, rounded up.\nEquip {3}
|
||||||
SetInfo:PC2 Rare
|
SetInfo:PC2 Rare
|
||||||
|
|||||||
@@ -1568,12 +1568,6 @@ public class CardFactoryUtil {
|
|||||||
return CardFactoryUtil.doXMath(oppController.getLife(), m, c);
|
return CardFactoryUtil.doXMath(oppController.getLife(), m, c);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Count$DefenderLifeTotal
|
|
||||||
if (sq[0].contains("DefenderLifeTotal")) {
|
|
||||||
Player defender = Singletons.getModel().getGame().getCombat().getDefendingPlayerRelatedTo(c);
|
|
||||||
return CardFactoryUtil.doXMath(defender.getLife(), m, c);
|
|
||||||
}
|
|
||||||
|
|
||||||
// Count$TargetedLifeTotal (targeted player's life total)
|
// Count$TargetedLifeTotal (targeted player's life total)
|
||||||
if (sq[0].contains("TargetedLifeTotal")) {
|
if (sq[0].contains("TargetedLifeTotal")) {
|
||||||
for (final SpellAbility sa : c.getCharacteristics().getSpellAbility()) {
|
for (final SpellAbility sa : c.getCharacteristics().getSpellAbility()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user