diff --git a/forge-gui-mobile-dev/src/forge/app/Main.java b/forge-gui-mobile-dev/src/forge/app/Main.java index 78d4cfa4b9b..79d3816a2fa 100644 --- a/forge-gui-mobile-dev/src/forge/app/Main.java +++ b/forge-gui-mobile-dev/src/forge/app/Main.java @@ -19,12 +19,12 @@ import java.io.IOException; public class Main { public static void main(String[] args) { // Set this to "true" to make the mobile game port run as a full-screen desktop application - boolean desktopMode = false; + boolean desktopMode = true; // Set this to the location where you want the mobile game port to look for assets when working as a full-screen desktop application // (uncomment the bottom version and comment the top one to load the res folder from the current folder the .jar is in if you would // like to make the game load from a desktop game folder configuration). - String desktopModeAssetsDir = "../forge-gui/"; - //String desktopModeAssetsDir = "./"; + //String desktopModeAssetsDir = "../forge-gui/"; + String desktopModeAssetsDir = "./"; // Assets directory used when the game fully emulates smartphone/tablet mode (desktopMode = false), useful when debugging from IDE String assetsDir = AssetsDownloader.SHARE_DESKTOP_ASSETS ? "../forge-gui/" : "testAssets/"; diff --git a/forge-gui/res/cardsfolder/a/artisan_of_forms.txt b/forge-gui/res/cardsfolder/a/artisan_of_forms.txt index c42a6cb2e13..c099542b200 100644 --- a/forge-gui/res/cardsfolder/a/artisan_of_forms.txt +++ b/forge-gui/res/cardsfolder/a/artisan_of_forms.txt @@ -3,7 +3,7 @@ ManaCost:1 U Types:Creature Human Wizard PT:1/1 T:Mode$ SpellCast | ValidActivatingPlayer$ You | TargetsValid$ Card.Self | TriggerZones$ Battlefield | Execute$ TrigArtisanCopy | TriggerDescription$ Heroic — Whenever you cast a spell that targets CARDNAME, you may have CARDNAME become a copy of target creature and gain this ability. -SVar:TrigArtisanCopy:AB$ Clone | Cost$ 0 | ValidTgts$ Creature | TgtPrompt$ Select target creature to copy | Optional$ True | AddTriggers$ ArtisanHeroicTrig | AddSVars$ TrigArtisanCopy,ArtisanHeroicTrig +SVar:TrigArtisanCopy:DB$ Clone | ValidTgts$ Creature | TgtPrompt$ Select target creature to copy | Optional$ True | AddTriggers$ ArtisanHeroicTrig | AddSVars$ TrigArtisanCopy,ArtisanHeroicTrig SVar:ArtisanHeroicTrig:Mode$ SpellCast | ValidActivatingPlayer$ You | TargetsValid$ Card.Self | TriggerZones$ Battlefield | Execute$ TrigArtisanCopy | TriggerDescription$ Heroic — Whenever you cast a spell that targets CARDNAME, you may have CARDNAME become a copy of target creature and gain this ability. SVar:RemAIDeck:True SVar:Picture:http://www.wizards.com/global/images/magic/general/artisan_of_forms.jpg diff --git a/forge-gui/res/cardsfolder/a/ashenmoor_liege.txt b/forge-gui/res/cardsfolder/a/ashenmoor_liege.txt index 13e498aeefb..894e41c4f55 100644 --- a/forge-gui/res/cardsfolder/a/ashenmoor_liege.txt +++ b/forge-gui/res/cardsfolder/a/ashenmoor_liege.txt @@ -5,7 +5,7 @@ PT:4/1 S:Mode$ Continuous | Affected$ Creature.Red+Other+YouCtrl | AddPower$ 1 | AddToughness$ 1 | Description$ Other red creatures you control get +1/+1. S:Mode$ Continuous | Affected$ Creature.Black+Other+YouCtrl | AddPower$ 1 | AddToughness$ 1 | Description$ Other black creatures you control get +1/+1. T:Mode$ BecomesTarget | ValidTarget$ Card.Self | ValidSource$ Card.OppCtrl | TriggerZones$ Battlefield | Execute$ TrigLoseLife | TriggerDescription$ Whenever CARDNAME becomes the target of a spell or ability an opponent controls, that player loses 4 life. -SVar:TrigLoseLife:AB$ LoseLife | Cost$ 0 | Defined$ TriggeredSourceController | LifeAmount$ 4 +SVar:TrigLoseLife:DB$ LoseLife | Defined$ TriggeredSourceController | LifeAmount$ 4 SVar:PlayMain1:TRUE SVar:Picture:http://www.wizards.com/global/images/magic/general/ashenmoor_liege.jpg Oracle:Other black creatures you control get +1/+1.\nOther red creatures you control get +1/+1.\nWhenever Ashenmoor Liege becomes the target of a spell or ability an opponent controls, that player loses 4 life. diff --git a/forge-gui/res/cardsfolder/d/distant_melody.txt b/forge-gui/res/cardsfolder/d/distant_melody.txt index a443dc3c9a1..614cc2bfad9 100644 --- a/forge-gui/res/cardsfolder/d/distant_melody.txt +++ b/forge-gui/res/cardsfolder/d/distant_melody.txt @@ -2,7 +2,7 @@ Name:Distant Melody ManaCost:3 U Types:Sorcery A:SP$ ChooseType | Cost$ 3 U | Defined$ You | Type$ Creature | SubAbility$ DBDraw | AILogic$ MostProminentComputerControls | SpellDescription$ Choose a creature type. Draw a card for each permanent you control of that type. -SVar:DBDraw:DB$ Draw | Cost$ 0 | NumCards$ X | References$ X +SVar:DBDraw:DB$ Draw | NumCards$ X | References$ X SVar:X:Count$Valid Permanent.ChosenType+YouCtrl SVar:RemAIDeck:True SVar:NeedsToPlay:Creature diff --git a/forge-gui/res/cardsfolder/t/tuktuk_scrapper.txt b/forge-gui/res/cardsfolder/t/tuktuk_scrapper.txt index dab035dbec7..5dd80c07159 100644 --- a/forge-gui/res/cardsfolder/t/tuktuk_scrapper.txt +++ b/forge-gui/res/cardsfolder/t/tuktuk_scrapper.txt @@ -2,9 +2,9 @@ Name:Tuktuk Scrapper ManaCost:3 R Types:Creature Goblin Artificer Ally PT:2/2 -T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TuktukDestroy | OptionalDecider$ You | TriggerDescription$ Whenever Tuktuk Scrapper or another Ally enters the battlefield under your control, you may destroy target artifact. If that artifact is put into a graveyard this way, Tuktuk Scrapper deals damage to that artifact's controller equal to the number of Allies you control. -T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Ally.Other+YouCtrl | TriggerZones$ Battlefield | Execute$ TuktukDestroy | Secondary$ True | OptionalDecider$ You | TriggerDescription$ Whenever Tuktuk Scrapper or another Ally enters the battlefield under your control, you may destroy target artifact. If that artifact is put into a graveyard this way, Tuktuk Scrapper deals damage to that artifact's controller equal to the number of Allies you control. -SVar:TuktukDestroy:AB$ Destroy | Cost$ 0 | ValidTgts$ Artifact | TgtPrompt$ Select target artifact | RememberDestroyed$ True | SubAbility$ TuktukDamage | SpellDescription$ If that artifact is put into a graveyard this way, +T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TuktukDestroy | OptionalDecider$ You | TriggerDescription$ Whenever CARDNAME or another Ally enters the battlefield under your control, you may destroy target artifact. If that artifact is put into a graveyard this way, Tuktuk Scrapper deals damage to that artifact's controller equal to the number of Allies you control. +T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Ally.Other+YouCtrl | TriggerZones$ Battlefield | Execute$ TuktukDestroy | Secondary$ True | OptionalDecider$ You | TriggerDescription$ Whenever CARDNAME or another Ally enters the battlefield under your control, you may destroy target artifact. If that artifact is put into a graveyard this way, Tuktuk Scrapper deals damage to that artifact's controller equal to the number of Allies you control. +SVar:TuktukDestroy:DB$ Destroy | ValidTgts$ Artifact | TgtPrompt$ Select target artifact | RememberDestroyed$ True | SubAbility$ TuktukDamage | SpellDescription$ If that artifact is put into a graveyard this way, SVar:TuktukDamage:DB$ DealDamage | Defined$ TargetedController | NumDmg$ X | References$ X,Y | ConditionCheckSVar$ Y | ConditionSVarCompare$ GE1 | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Count$TypeYouCtrl.Ally diff --git a/forge-gui/res/cardsfolder/upcoming/bloodline_necromancer.txt b/forge-gui/res/cardsfolder/upcoming/bloodline_necromancer.txt index cc633e26d49..07435cba15c 100644 --- a/forge-gui/res/cardsfolder/upcoming/bloodline_necromancer.txt +++ b/forge-gui/res/cardsfolder/upcoming/bloodline_necromancer.txt @@ -5,5 +5,6 @@ PT:3/2 K:Lifelink T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigChangeZone | OptionalDecider$ You | TriggerDescription$ When CARDNAME enters the battlefield, you may return target Vampire or Wizard creature card from your graveyard to the battlefield. SVar:TrigChangeZone:DB$ChangeZone | Origin$ Graveyard | Destination$ Battlefield | ValidTgts$ Creature.Vampire+YouCtrl,Creature.Wizard+YouCtrl | TgtPrompt$ Select target Vampire or Wizard creature card in your graveyard +DeckHints:Type$Vampire|Wizard SVar:Picture:http://www.wizards.com/global/images/magic/general/bloodline_necromancer.jpg -Oracle:Lifelink\nWhen Bloodline Necromancer enters the battlefield, you may return target Vampire or Wizard creature card from your graveyard to the battlefield. \ No newline at end of file +Oracle:Lifelink\nWhen Bloodline Necromancer enters the battlefield, you may return target Vampire or Wizard creature card from your graveyard to the battlefield. diff --git a/forge-gui/res/cardsfolder/upcoming/hungry_lynx.txt b/forge-gui/res/cardsfolder/upcoming/hungry_lynx.txt index ec7c18fae0f..67eeffda0f6 100644 --- a/forge-gui/res/cardsfolder/upcoming/hungry_lynx.txt +++ b/forge-gui/res/cardsfolder/upcoming/hungry_lynx.txt @@ -8,5 +8,6 @@ SVar:TrigToken:DB$ Token | ValidTgts$ Opponent | TokenAmount$ 1 | TokenName$ Rat T:Mode$ ChangesZone | ValidCard$ Rat | Origin$ Battlefield | Destination$ Graveyard | TriggerZones$ Battlefield | Execute$ TrigPutCounters | TriggerDescription$ Whenever a Rat dies, put a +1/+1 counter on each Cat you control. SVar:TrigPutCounters:DB$ PutCounterAll | ValidCards$ Cat.YouCtrl | CounterType$ P1P1 | CounterNum$ 1 SVar:PlayMain1:TRUE +DeckHints:Type$Cat SVar:Picture:http://www.wizards.com/global/images/magic/general/hungry_lynx.jpg -Oracle:Cats you control have protection from Rats. (They can't be blocked, targeted or dealt damage by Rats.)\nAt the beginning of your end step, target opponent creates a 1/1 black Rat creature token with deathtouch.\nWhenever a Rat dies, put a +1/+1 counter on each Cat you control. \ No newline at end of file +Oracle:Cats you control have protection from Rats. (They can't be blocked, targeted or dealt damage by Rats.)\nAt the beginning of your end step, target opponent creates a 1/1 black Rat creature token with deathtouch.\nWhenever a Rat dies, put a +1/+1 counter on each Cat you control.