Poisonous use :

This commit is contained in:
Hanmac
2018-08-17 15:31:33 +02:00
parent 22766f9942
commit 226754d80f
4 changed files with 6 additions and 5 deletions

View File

@@ -1607,6 +1607,7 @@ public class Card extends GameEntity implements Comparable<Card> {
|| keyword.startsWith("Fabricate") || keyword.startsWith("Soulshift") || keyword.startsWith("Bushido")
|| keyword.startsWith("Crew") || keyword.startsWith("Tribute") || keyword.startsWith("Absorb")
|| keyword.startsWith("Graft") || keyword.startsWith("Fading") || keyword.startsWith("Vanishing")
|| keyword.startsWith ("Poisonous")
|| keyword.startsWith("Renown") || keyword.startsWith("Annihilator") || keyword.startsWith("Devour")) {
final String[] k = keyword.split(":");
sbLong.append(k[0] + " " + k[1] + " (" + inst.getReminderText() + ")");
@@ -1626,7 +1627,7 @@ public class Card extends GameEntity implements Comparable<Card> {
|| keyword.equals("Horsemanship") || keyword.equals("Infect")|| keyword.equals("Persist")
|| keyword.equals("Phasing") || keyword.equals("Shadow")|| keyword.equals("Skulk")
|| keyword.equals("Undying") || keyword.equals("Wither")
|| keyword.startsWith ("Afflict") || keyword.startsWith ("Poisonous")
|| keyword.startsWith ("Afflict")
|| keyword.startsWith ("Rampage") || keyword.startsWith("Cascade")) {
if (sb.length() != 0) {
sb.append("\r\n");

View File

@@ -2768,10 +2768,10 @@ public class CardFactoryUtil {
trigger.setOverridingAbility(AbilityFactory.getAbility(effect, card));
inst.addTrigger(trigger);
} else if (keyword.startsWith("Poisonous")) {
final String[] k = keyword.split(" ");
final String[] k = keyword.split(":");
final String n = k[1];
final String trigStr = "Mode$ DamageDone | ValidSource$ Card.Self | ValidTarget$ Player | CombatDamage$ True | Secondary$ True"
+ " | TriggerZones$ Battlefield | TriggerDescription$ " + keyword + " (" + inst.getReminderText() + ")";
+ " | TriggerZones$ Battlefield | TriggerDescription$ Poisonous " + n + " (" + inst.getReminderText() + ")";
final Trigger parsedTrigger = TriggerHandler.parseTrigger(trigStr.toString(), card, intrinsic);

View File

@@ -3,6 +3,6 @@ ManaCost:3 B
Types:Enchantment Aura
K:Enchant creature
A:SP$ Attach | Cost$ 3 B | ValidTgts$ Creature | AITgts$ Card.powerGE1 | AILogic$ Pump
S:Mode$ Continuous | Affected$ Creature.EnchantedBy | AddKeyword$ Poisonous 3 | Description$ Enchanted creature has poisonous 3. (Whenever it deals combat damage to a player, that player gets three poison counters. A player with ten or more poison counters loses the game.)
S:Mode$ Continuous | Affected$ Creature.EnchantedBy | AddKeyword$ Poisonous:3 | Description$ Enchanted creature has poisonous 3. (Whenever it deals combat damage to a player, that player gets three poison counters. A player with ten or more poison counters loses the game.)
SVar:Picture:http://www.wizards.com/global/images/magic/general/snake_cult_initiation.jpg
Oracle:Enchant creature\nEnchanted creature has poisonous 3. (Whenever it deals combat damage to a player, that player gets three poison counters. A player with ten or more poison counters loses the game.)

View File

@@ -2,7 +2,7 @@ Name:Virulent Sliver
ManaCost:G
Types:Creature Sliver
PT:1/1
S:Mode$ Continuous | Affected$ Creature.Sliver | AddKeyword$ Poisonous 1 | Description$ All Sliver creatures have poisonous 1. (Whenever a Sliver deals combat damage to a player, that player gets a poison counter. A player with ten or more poison counters loses the game.)
S:Mode$ Continuous | Affected$ Creature.Sliver | AddKeyword$ Poisonous:1 | Description$ All Sliver creatures have poisonous 1. (Whenever a Sliver deals combat damage to a player, that player gets a poison counter. A player with ten or more poison counters loses the game.)
SVar:PlayMain1:TRUE
SVar:Picture:http://www.wizards.com/global/images/magic/general/virulent_sliver.jpg
Oracle:All Sliver creatures have poisonous 1. (Whenever a Sliver deals combat damage to a player, that player gets a poison counter. A player with ten or more poison counters loses the game.)