mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 10:48:00 +00:00
- Fix the SpellApiToAi assignment for ImmediateTrigger
This commit is contained in:
@@ -91,7 +91,7 @@ public enum SpellApiToAi {
|
|||||||
.put(ApiType.GenericChoice, ChooseGenericEffectAi.class)
|
.put(ApiType.GenericChoice, ChooseGenericEffectAi.class)
|
||||||
.put(ApiType.Goad, GoadAi.class)
|
.put(ApiType.Goad, GoadAi.class)
|
||||||
.put(ApiType.Haunt, HauntAi.class)
|
.put(ApiType.Haunt, HauntAi.class)
|
||||||
.put(ApiType.ImmediateTrigger, DelayedTriggerAi.class)
|
.put(ApiType.ImmediateTrigger, ImmediateTriggerAi.class)
|
||||||
.put(ApiType.Investigate, InvestigateAi.class)
|
.put(ApiType.Investigate, InvestigateAi.class)
|
||||||
.put(ApiType.LoseLife, LifeLoseAi.class)
|
.put(ApiType.LoseLife, LifeLoseAi.class)
|
||||||
.put(ApiType.LosesGame, GameLossAi.class)
|
.put(ApiType.LosesGame, GameLossAi.class)
|
||||||
|
|||||||
@@ -43,12 +43,12 @@ public class Main {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Set this to "true" to make the mobile game port run as a full-screen desktop application
|
// Set this to "true" to make the mobile game port run as a full-screen desktop application
|
||||||
boolean desktopMode = cmd.hasOption("fullscreen");
|
boolean desktopMode = true; // cmd.hasOption("fullscreen");
|
||||||
// Set this to the location where you want the mobile game port to look for assets when working as a full-screen desktop application
|
// 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
|
// (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).
|
// like to make the game load from a desktop game folder configuration).
|
||||||
String desktopModeAssetsDir = "../forge-gui/";
|
//String desktopModeAssetsDir = "../forge-gui/";
|
||||||
//String desktopModeAssetsDir = "./";
|
String desktopModeAssetsDir = "./";
|
||||||
|
|
||||||
// Assets directory used when the game fully emulates smartphone/tablet mode (desktopMode = false), useful when debugging from IDE
|
// 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/";
|
String assetsDir = AssetsDownloader.SHARE_DESKTOP_ASSETS ? "../forge-gui/" : "testAssets/";
|
||||||
|
|||||||
Reference in New Issue
Block a user