1.1
This commit is contained in:
parent
77dd7f4409
commit
982e1e2ee2
@ -6,7 +6,7 @@
|
|||||||
<groupId>xyz.geniuscartel</groupId>
|
<groupId>xyz.geniuscartel</groupId>
|
||||||
<artifactId>ConstructTheArena</artifactId>
|
<artifactId>ConstructTheArena</artifactId>
|
||||||
<name>Construct The Arena</name>
|
<name>Construct The Arena</name>
|
||||||
<version>0.0.1</version>
|
<version>1.0</version>
|
||||||
<description>A default base to start your own mod from.</description>
|
<description>A default base to start your own mod from.</description>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
|
|||||||
@ -27,10 +27,11 @@ public class CArenaPatch {
|
|||||||
public static void Insert(CustomModeScreen __instance, CustomTrial trial, ArrayList<String> modIds, String modId) {
|
public static void Insert(CustomModeScreen __instance, CustomTrial trial, ArrayList<String> modIds, String modId) {
|
||||||
if (modId.equals("constructTheArena:constructTheArena")) {
|
if (modId.equals("constructTheArena:constructTheArena")) {
|
||||||
//do nothing for now
|
//do nothing for now
|
||||||
enabled = true;
|
if (ModHelper.isModEnabled("constructTheArena:constructTheArena")) {
|
||||||
ArrayList<String> mods = ModHelper.getEnabledModIDs();
|
enabled = true;
|
||||||
mods.add("SealedDeck");
|
} else {
|
||||||
ModHelper.setMods(mods);
|
enabled = false;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -19,6 +19,8 @@ public class CArenaSkipMasterDeckPatch {
|
|||||||
public static void Insert(AbstractPlayer __instance, @ByRef boolean[] addBaseCards) {
|
public static void Insert(AbstractPlayer __instance, @ByRef boolean[] addBaseCards) {
|
||||||
if (CArenaPatch.isEnabled()) {
|
if (CArenaPatch.isEnabled()) {
|
||||||
addBaseCards[0] = false;
|
addBaseCards[0] = false;
|
||||||
|
}else{
|
||||||
|
addBaseCards[0] = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"constructTheArena:constructTheArena": {
|
"constructTheArena:constructTheArena": {
|
||||||
"NAME": "Construct the Arena",
|
"NAME": "Construct the Spire",
|
||||||
"DESCRIPTION": "Constructed Deck Mode"
|
"DESCRIPTION": "Constructed Deck Mode"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Loading…
Reference in New Issue
Block a user