mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
- Added Barbarian Guides
This commit is contained in:
1
.gitattributes
vendored
1
.gitattributes
vendored
@@ -2250,6 +2250,7 @@ forge-gui/res/cardsfolder/b/bant_sureblade.txt svneol=native#text/plain
|
||||
forge-gui/res/cardsfolder/b/bar_the_door.txt -text
|
||||
forge-gui/res/cardsfolder/b/barbarian_bully.txt -text
|
||||
forge-gui/res/cardsfolder/b/barbarian_general.txt svneol=native#text/plain
|
||||
forge-gui/res/cardsfolder/b/barbarian_guides.txt -text
|
||||
forge-gui/res/cardsfolder/b/barbarian_horde.txt svneol=native#text/plain
|
||||
forge-gui/res/cardsfolder/b/barbarian_lunatic.txt svneol=native#text/plain
|
||||
forge-gui/res/cardsfolder/b/barbarian_outcast.txt svneol=native#text/plain
|
||||
|
||||
@@ -548,7 +548,9 @@ public class CombatUtil {
|
||||
walkTypes.add("Land.Snow");
|
||||
} else if (keyword.endsWith("walk")) {
|
||||
final String landtype = keyword.replace("walk", "");
|
||||
if (CardType.isALandType(landtype)) {
|
||||
if (landtype.startsWith("Snow ")) {
|
||||
walkTypes.add(landtype.substring(5) + ".Snow");
|
||||
} else if (CardType.isALandType(landtype)) {
|
||||
if (!walkTypes.contains(landtype)) {
|
||||
walkTypes.add(landtype);
|
||||
}
|
||||
|
||||
12
forge-gui/res/cardsfolder/b/barbarian_guides.txt
Normal file
12
forge-gui/res/cardsfolder/b/barbarian_guides.txt
Normal file
@@ -0,0 +1,12 @@
|
||||
Name:Barbarian Guides
|
||||
ManaCost:2 R
|
||||
Types:Creature Human Barbarian
|
||||
PT:1/2
|
||||
A:AB$ ChooseType | Cost$ 2 R T | Defined$ You | Type$ Land | SubAbility$ DBPump | StackDescription$ SpellDescription | SpellDescription$ Choose a land type. Target creature you control gains snow landwalk of the chosen type until end of turn. Return that creature to its owner's hand at the beginning of the next end step.
|
||||
SVar:DBPump:DB$ Pump | ValidTgts$ Creature.YouCtrl | TgtPrompt$ Select target creature you control | KW$ Snow ChosenTypewalk | DefinedKW$ ChosenType | StackDescription$ None | SubAbility$ DBDelTrig
|
||||
SVar:DBDelTrig:DB$ DelayedTrigger | Mode$ Phase | Phase$ End of Turn | RememberObjects$ ParentTarget | Execute$ TrigReturn | SpellDescription$ Return that creature to its owner's hand at the beginning of the next end step.
|
||||
SVar:TrigReturn:AB$ ChangeZone | Cost$ 0 | Defined$ DelayTriggerRemembered | Origin$ Battlefield | Destination$ Hand
|
||||
SVar:RemAIDeck:True
|
||||
SVar:RemRandomDeck:True
|
||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/barbarian_guides.jpg
|
||||
Oracle:{2}{R}, {T}: Choose a land type. Target creature you control gains snow landwalk of the chosen type until end of turn. Return that creature to its owner's hand at the beginning of the next end step.
|
||||
Reference in New Issue
Block a user