mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 03:38:01 +00:00
Merge branch 'kitesail' into 'master'
CMR: kitesail_skirmisher.txt and support See merge request core-developers/forge!3405
This commit is contained in:
@@ -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)) {
|
||||||
|
|||||||
11
forge-gui/res/cardsfolder/upcoming/kitesail_skirmisher.txt
Normal file
11
forge-gui/res/cardsfolder/upcoming/kitesail_skirmisher.txt
Normal 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.)
|
||||||
Reference in New Issue
Block a user