From 5c46af3c523f2b8ecc15cf051057509a4a6c7bd1 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Wed, 6 Mar 2024 20:51:21 -0600 Subject: [PATCH] Bounty Hunter Eyes Fix --- src/engine/powers/PowersBase.java | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/src/engine/powers/PowersBase.java b/src/engine/powers/PowersBase.java index 9cfc8c01..9d565cd9 100644 --- a/src/engine/powers/PowersBase.java +++ b/src/engine/powers/PowersBase.java @@ -237,10 +237,19 @@ public class PowersBase { this.costRamp = rs.getFloat("costRamp"); this.castTime = rs.getFloat("castTime"); this.castTimeRamp = rs.getFloat("initRamp"); - this.cooldown = rs.getFloat("cooldown"); - this.recycleTime = rs.getFloat("recycleTime"); + if(rs.getInt("token") == 429420458){//BH detect hidden + this.cooldown = 0; + this.recycleTime = 302; + }else { + this.cooldown = rs.getFloat("cooldown"); + this.recycleTime = rs.getFloat("recycleTime"); + } this.recycleRamp = rs.getFloat("recycleRamp"); - this.maxTrains = rs.getInt("maxTrains"); + if(rs.getInt("token") == 429420458){//BH detect hidden + this.maxTrains = 40; + } else { + this.maxTrains = rs.getInt("maxTrains"); + } this.hateValue = rs.getFloat("hateValue"); this.hateRamp = rs.getFloat("hateRamp"); ct = rs.getString("unknown06").trim();