- Added AbilityFactory_Bounce.

- Added Barrin, Master Wizard.
This commit is contained in:
jendave
2011-08-06 09:15:07 +00:00
parent cc614881b7
commit 2b2a79c804
3 changed files with 18 additions and 0 deletions

1
.gitattributes vendored
View File

@@ -349,6 +349,7 @@ res/cardsfolder/barrage_ogre.txt -text svneol=native#text/plain
res/cardsfolder/barren_glory.txt -text svneol=native#text/plain res/cardsfolder/barren_glory.txt -text svneol=native#text/plain
res/cardsfolder/barren_moor.txt -text svneol=native#text/plain res/cardsfolder/barren_moor.txt -text svneol=native#text/plain
res/cardsfolder/barrenton_cragtreads.txt -text svneol=native#text/plain res/cardsfolder/barrenton_cragtreads.txt -text svneol=native#text/plain
res/cardsfolder/barrin_master_wizard.txt -text svneol=native#text/plain
res/cardsfolder/bartel_runeaxe.txt -text svneol=native#text/plain res/cardsfolder/bartel_runeaxe.txt -text svneol=native#text/plain
res/cardsfolder/baru_fist_of_krosa.txt -text svneol=native#text/plain res/cardsfolder/baru_fist_of_krosa.txt -text svneol=native#text/plain
res/cardsfolder/basal_thrull.txt -text svneol=native#text/plain res/cardsfolder/basal_thrull.txt -text svneol=native#text/plain

View File

@@ -0,0 +1,9 @@
Name:Barrin, Master Wizard
ManaCost:1 U U
Types:Legendary Creature Human Wizard
Text:no text
PT:1/1
A:AB$Bounce|Cost$2 Sac<1/Permanent>|ValidTgts$Creature|TgtPrompt$Select target Creature|Destination$Hand|SpellDescription$Return target creature to its owner's hand.
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/barrin_master_wizard.jpg
End

View File

@@ -212,6 +212,14 @@ public class AbilityFactory {
} }
} }
if (API.equals("Bounce")){
if (isAb)
SA = AbilityFactory_Bounce.createAbilityBounce(this);
if (isSp){
SA = AbilityFactory_Bounce.createSpellBounce(this);
}
}
// ********************************************* // *********************************************
// set universal properties of the SpellAbility // set universal properties of the SpellAbility
if (hasSpDesc) if (hasSpDesc)