Skip to content

Commit 3a89924

Browse files
committed
1.0.0k compatiblity, bugfixes
1 parent fcdc8f0 commit 3a89924

15 files changed

+94
-49
lines changed

filters/double_legendary.cl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// Searches for a first shop buffoon pack with the four jokers that give increased mult to suits.
2-
#include "lib/immolate.cl"
2+
#include "./lib/immolate.cl"
33
long filter(instance* inst) {
44
int score = 0;
55
for (int i = 1; i <= 2; i++) {
@@ -12,5 +12,5 @@ long filter(instance* inst) {
1212
}
1313
};
1414
}
15-
return score;
15+
return score/2;
1616
}

filters/emperor_fool.cl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
// Emperor-Fool Chains
2-
#include "lib/immolate.cl"
2+
#include "./lib/immolate.cl"
33
long filter(instance* inst) {
44
int bestAnte = 0;
55
long bestScore = 0;
66
// Because of ante-based RNG, we check every ante and store the best ante as the result
77
for (int ante = 1; ante <= 6; ante++) {
88
long score = 0;
99
while (true) {
10-
item tarot1 = next_tarot(inst, S_Emperor, ante);
11-
item tarot2 = next_tarot(inst, S_Emperor, ante);
10+
item tarot1 = next_tarot(inst, S_Emperor, ante, false);
11+
item tarot2 = next_tarot(inst, S_Emperor, ante, false);
1212
if (tarot1 == The_Fool || tarot2 == The_Fool) score++;
1313
else break;
1414
}

filters/four_deadly_jokers.cl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// Searches for a first shop buffoon pack with the four jokers that give increased mult to suits.
2-
#include "lib/immolate.cl"
2+
#include "./lib/immolate.cl"
33
long filter(instance* inst) {
44
// Buffoon Pack of Size 4
55
bool suitablePack = false;
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// Searches for a seed with a good setup for high score world record runs
2-
#include "lib/immolate.cl"
2+
#include "./lib/immolate.cl"
33
long filter(instance* inst) {
44
int passedFilters = 0;
55

@@ -30,7 +30,7 @@ long filter(instance* inst) {
3030
bool hasRedPoly = 0;
3131
for (int c = 1; c <= standardCards; c++) {
3232
item edi = standard_edition(inst, 1);
33-
item seal = standard_seal(inst);
33+
item seal = standard_seal(inst, 1);
3434
item _rank = rank(standard_base(inst, 1));
3535
if (edi == Polychrome && seal == Red_Seal && _rank <= _5) {
3636
hasRedPoly = true;
@@ -46,7 +46,7 @@ long filter(instance* inst) {
4646
bool hasEcto = false;
4747
bool extraFilterPassed = false;
4848
for (int i = 0; i < spectralCards; i++) {
49-
item spectral = next_spectral(inst, S_Spectral, 1);
49+
item spectral = next_spectral(inst, S_Spectral, 1, true);
5050
if (spectral == Ankh) hasAnkh = true;
5151
if (spectral == Ectoplasm) hasEcto = true;
5252
}

filters/low_percent.cl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// Searches for a seed that can be beaten with 6 hands and 0 discards
2-
#include "lib/immolate.cl"
2+
#include "./lib/immolate.cl"
33
long filter(instance* inst) {
44
init_locks(inst, 1, false, true);
55
int passedFilters = 0;

filters/max_cash_ante_1.cl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// Maximum cash out possible in Ante 1
2-
#include "lib/immolate.cl"
2+
#include "./lib/immolate.cl"
33
long filter(instance* inst) {
44
long passedFilters = 0;
55

@@ -20,8 +20,8 @@ long filter(instance* inst) {
2020
}
2121
if (hasHermit + hasEmperor != 2) return passedFilters;
2222
passedFilters++;
23-
item empTarot1 = next_tarot(inst, S_Emperor, 1);
24-
item empTarot2 = next_tarot(inst, S_Emperor, 1);
23+
item empTarot1 = next_tarot(inst, S_Emperor, 1, false);
24+
item empTarot2 = next_tarot(inst, S_Emperor, 1, false);
2525
if (empTarot1 != The_Hermit && empTarot2 != The_Hermit) return passedFilters;
2626
passedFilters++;
2727
bool bonusPoints = false;

filters/purchaseless.cl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// Purchaseless runs
2-
#include "lib/immolate.cl"
2+
#include "./lib/immolate.cl"
33
long filter(instance* inst) {
44
long passedFilters = 0;
55
init_locks(inst, 2, false, true);

filters/red_poly_glass.cl

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// Red Poly Glass Hack-Compatible Cards
2-
#include "lib/immolate.cl"
1+
// Red Poly Glass Cards
2+
#include "./lib/immolate.cl"
33
long filter(instance* inst) {
44
int numCards = 0;
55
// Check if either pack is a Standard Pack - and which has the most cards
@@ -17,7 +17,6 @@ long filter(instance* inst) {
1717
if (_card.enhancement != Glass_Card) found = false;
1818
if (_card.edition != Polychrome) found = false;
1919
if (_card.seal != Red_Seal) found = false;
20-
if (rank(_card.base) > _5) found = false;
2120
if (found) return 1;
2221
}
2322
return 0;

filters/speedrun.cl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// Speedrunning seeds for Set Seed Skips
2-
#include "lib/immolate.cl"
2+
#include "./lib/immolate.cl"
33
long filter(instance* inst) {
44
long passedFilters = 0;
55

filters/speedrun_skipless.cl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// Speedrunning seeds for Set Seed Skips
2-
#include "lib/immolate.cl"
2+
#include "./lib/immolate.cl"
33
long filter(instance* inst) {
44
long passedFilters = 0;
55
/*

0 commit comments

Comments
 (0)