Skip to content

Commit 3c0568f

Browse files
Fix Revulan blessing check
1 parent 8c2ccba commit 3c0568f

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

ProdigalArchipelago/NpcPatcher.cs

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -634,6 +634,21 @@ static bool Prefix(ref bool __result)
634634
}
635635
}
636636

637+
[HarmonyPatch(typeof(Revulan))]
638+
[HarmonyPatch("BlessingCount")]
639+
class Revulan_BlessingCount_Patch
640+
{
641+
static bool Prefix(ref bool __result)
642+
{
643+
if (Archipelago.Enabled)
644+
{
645+
__result = Archipelago.AP.BlessingCount() >= 2;
646+
return false;
647+
}
648+
return true;
649+
}
650+
}
651+
637652
[HarmonyPatch(typeof(Butler))]
638653
[HarmonyPatch("ButlerEnding")]
639654
[HarmonyPatch(MethodType.Enumerator)]

0 commit comments

Comments
 (0)