Merge branch 'kitesail' into 'master'

CMR: kitesail_skirmisher.txt and support

See merge request core-developers/forge!3405
This commit is contained in:
Michael Kamensky
2020-11-16 18:42:56 +00:00
2 changed files with 17 additions and 0 deletions

View File

@@ -1458,6 +1458,12 @@ public class CardProperty {
if (property.equals("attacking")) return combat.isAttacking(card); if (property.equals("attacking")) return combat.isAttacking(card);
if (property.equals("attackingLKI")) return combat.isLKIAttacking(card); if (property.equals("attackingLKI")) return combat.isLKIAttacking(card);
if (property.equals("attackingYou")) return combat.isAttacking(card, sourceController); if (property.equals("attackingYou")) return combat.isAttacking(card, sourceController);
if (property.equals("attackingSame")) {
final GameEntity attacked = combat.getDefenderByAttacker(source);
if (!combat.isAttacking(card, attacked)) {
return false;
}
}
if (property.equals("attackingYouOrYourPW")) { if (property.equals("attackingYouOrYourPW")) {
Player defender = combat.getDefenderPlayerByAttacker(card); Player defender = combat.getDefenderPlayerByAttacker(card);
if (!sourceController.equals(defender)) { if (!sourceController.equals(defender)) {

View File

@@ -0,0 +1,11 @@
Name:Kitesail Skirmisher
ManaCost:3 U
Types:Creature Human Pirate
PT:3/1
K:Flying
T:Mode$ Attacks | ValidCard$ Card.Self | TriggerZones$ Battlefield | Execute$ TrigPump | TriggerDescription$ Whenever CARDNAME attacks, another target creature attacking the same player or planeswalker gains flying until end of turn.
SVar:TrigPump:DB$ Pump | ValidTgts$ Creature.Other+attackingSame | TgtPrompt$ Choose another target creature attacking the same player or planeswalker | KW$ Flying
K:Encore:4 U
SVar:HasAttackEffect:TRUE
DeckHas:Ability$Token
Oracle:Flying\nWhenever Kitesail Skirmisher attacks, another target creature attacking the same player or planeswalker gains flying until end of turn.\nEncore {4}{U} ({4}{U}, Exile this card from your graveyard: For each opponent, create a token copy that attacks that opponent this turn if able. They gain haste. Sacrifice them at the beginning of the next end step. Activate only as a sorcery.)