-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
69 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
package ALWAYS.patches; | ||
|
||
import com.evacipated.cardcrawl.modthespire.lib.SpireInsertPatch; | ||
import com.evacipated.cardcrawl.modthespire.lib.SpirePatch; | ||
import com.evacipated.cardcrawl.modthespire.lib.SpirePostfixPatch; | ||
import com.megacrit.cardcrawl.core.Settings; | ||
import com.megacrit.cardcrawl.dungeons.AbstractDungeon; | ||
import com.megacrit.cardcrawl.neow.NeowEvent; | ||
import com.megacrit.cardcrawl.random.Random; | ||
|
||
@SpirePatch( | ||
clz = NeowEvent.class, | ||
method = "blessing" | ||
) | ||
public class FUCKUCASEYANDORANTHONY { | ||
@SpireInsertPatch( | ||
rloc = 2 | ||
) | ||
public static void FUCK(NeowEvent __instance) { | ||
NeowEvent.rng = new Random(Settings.seed + AbstractDungeon.floorNum); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
package ALWAYS.patches; | ||
|
||
import com.evacipated.cardcrawl.modthespire.lib.SpirePatch; | ||
import com.evacipated.cardcrawl.modthespire.lib.SpireReturn; | ||
import com.megacrit.cardcrawl.dungeons.AbstractDungeon; | ||
import com.megacrit.cardcrawl.relics.AbstractRelic; | ||
import com.megacrit.cardcrawl.relics.NeowsLament; | ||
|
||
import java.util.ArrayList; | ||
|
||
@SpirePatch( | ||
clz = NeowsLament.class, | ||
method = "atBattleStart" | ||
) | ||
public class fuckyoukio { | ||
private static ArrayList<AbstractRelic> laments = new ArrayList<>(); | ||
private static AbstractRelic fuckukio = null; | ||
public static SpireReturn Prefix(NeowsLament __instance) { | ||
for (AbstractRelic r : AbstractDungeon.player.relics) { | ||
if (r.relicId.equals(NeowsLament.ID)) { | ||
laments.add(r); | ||
} | ||
} | ||
for (AbstractRelic r : laments) { | ||
if (fuckukio == null) { | ||
fuckukio = r; | ||
} | ||
if (fuckukio.counter < 0 && r.counter > 0) { | ||
fuckukio = r; | ||
} | ||
if (r.counter < fuckukio.counter && r.counter > 0) { | ||
fuckukio = r; | ||
} | ||
} | ||
if (__instance == fuckukio) { | ||
return SpireReturn.Continue(); | ||
} else { | ||
return SpireReturn.Return(null); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters