示例#1
0
 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);
 }
示例#2
0
 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);
 }
示例#3
0
 public static bool SpareBossZoneEvent(Boss __instance)
 {
     CustomZoneUtil.TriggerTypeZoneEvent(__instance.runCtrl.currentZoneDot.type, "Spare");
     return(true);
 }
示例#4
0
 public static bool SpawnCustomZone(SpawnCtrl __instance, ZoneType zoneType)
 {
     CustomZoneUtil.TriggerTypeZoneEvent(zoneType, "Init");
     return(true);
 }