mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 19:28:01 +00:00
- Added Grifter's Blade
This commit is contained in:
1
.gitattributes
vendored
1
.gitattributes
vendored
@@ -4519,6 +4519,7 @@ res/cardsfolder/g/griffin_guide.txt svneol=native#text/plain
|
||||
res/cardsfolder/g/griffin_protector.txt -text
|
||||
res/cardsfolder/g/griffin_rider.txt svneol=native#text/plain
|
||||
res/cardsfolder/g/griffin_sentinel.txt svneol=native#text/plain
|
||||
res/cardsfolder/g/grifters_blade.txt -text
|
||||
res/cardsfolder/g/grim_affliction.txt svneol=native#text/plain
|
||||
res/cardsfolder/g/grim_backwoods.txt -text
|
||||
res/cardsfolder/g/grim_discovery.txt -text
|
||||
|
||||
12
res/cardsfolder/g/grifters_blade.txt
Normal file
12
res/cardsfolder/g/grifters_blade.txt
Normal file
@@ -0,0 +1,12 @@
|
||||
Name:Grifter's Blade
|
||||
ManaCost:3
|
||||
Types:Artifact Equipment
|
||||
K:Equip 1
|
||||
K:Flash
|
||||
K:ETBReplacement:Other:ChooseC
|
||||
SVar:ChooseC:DB$ ChooseCard | Defined$ You | Choices$ Creature.YouCtrl+CanBeEquippedBy | Amount$ 1 | Mandatory$ True | SubAbility$ DBAttach | SpellDescription$ As CARDNAME enters the battlefield, choose a creature you control it could be attached to. If you do, it enters the battlefield attached to that creature.
|
||||
SVar:DBAttach:DB$ Attach | Object$ Self | Defined$ ChosenCard
|
||||
S:Mode$ Continuous | Affected$ Creature.EquippedBy | AddPower$ 1 | AddToughness$ 1 | Description$ Equipped creature gets +1/+1.
|
||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/grifters_blade.jpg
|
||||
Oracle:Flash\nAs Grifter's Blade enters the battlefield, choose a creature you control it could be attached to. If you do, it enters the battlefield attached to that creature.\nEquipped creature gets +1/+1.\nEquip {1}
|
||||
SetInfo:RAV Uncommon
|
||||
@@ -6445,6 +6445,10 @@ public class Card extends GameEntity implements Comparable<Card> {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
} else if (property.startsWith("CanBeEquippedBy")) {
|
||||
if (!this.canBeEquippedBy(source)) {
|
||||
return false;
|
||||
}
|
||||
} else if (property.startsWith("Equipped")) {
|
||||
if (!this.equipping.contains(source)) {
|
||||
return false;
|
||||
@@ -6542,9 +6546,8 @@ public class Card extends GameEntity implements Comparable<Card> {
|
||||
}
|
||||
}
|
||||
} else if (restriction.equals("Equipped")) {
|
||||
if (!source.isEquipment() || !source.isEquipping()) {
|
||||
return false;
|
||||
} else if (!this.sharesColorWith(source.getEquippingCard())) {
|
||||
if (!source.isEquipment() || !source.isEquipping()
|
||||
|| !this.sharesColorWith(source.getEquippingCard())) {
|
||||
return false;
|
||||
}
|
||||
} else if (restriction.equals("MostProminentColor")) {
|
||||
|
||||
Reference in New Issue
Block a user