public static bool EndBattlePrefix(BC __instance) { if (__instance.perfectBattle) { CustomZoneUtil.TriggerTypeZoneEvent(__instance.runCtrl.currentZoneDot.type, "PerfectBattle"); } CustomZoneUtil.TriggerTypeZoneEvent(__instance.runCtrl.currentZoneDot.type, "EndBattle"); return(true); }
public static bool DownBossZoneEvent(Boss __instance) { if (S.I.batCtrl.perfectBattle) { CustomZoneUtil.TriggerTypeZoneEvent(__instance.runCtrl.currentZoneDot.type, "PerfectBoss"); } CustomZoneUtil.TriggerTypeZoneEvent(__instance.runCtrl.currentZoneDot.type, "Downed"); return(true); }
public static bool SpareBossZoneEvent(Boss __instance) { CustomZoneUtil.TriggerTypeZoneEvent(__instance.runCtrl.currentZoneDot.type, "Spare"); return(true); }
public static bool SpawnCustomZone(SpawnCtrl __instance, ZoneType zoneType) { CustomZoneUtil.TriggerTypeZoneEvent(zoneType, "Init"); return(true); }