File tree 1 file changed +13
-0
lines changed
1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -241,6 +241,7 @@ local chargeLeft = nil
241
241
local onGround = nil
242
242
local CurrentTarget = nil
243
243
local aimposVis = nil
244
+ local tickCounterrecharge = 0
244
245
245
246
local settings = {
246
247
MinDistance = 0 ,
@@ -1004,6 +1005,18 @@ end
1004
1005
1005
1006
---- -----------critHack------------------
1006
1007
-- Main logic
1008
+
1009
+ -- Trigger recharge if warp ticks are less than 23
1010
+ if Menu .Misc .InstantAttack and warp .GetChargedTicks () < 23 and not warp .IsWarping ()
1011
+ and not can_attack and not can_charge then
1012
+ if tickCounterrecharge >= 66 then
1013
+ warp .TriggerCharge ()
1014
+ tickCounterrecharge = 0
1015
+ else
1016
+ tickCounterrecharge = tickCounterrecharge + 1
1017
+ end
1018
+ end
1019
+
1007
1020
if CurrentTarget == nil then
1008
1021
local CritValue = 39 -- Base value for crit token bucket calculation
1009
1022
local CritBucket = pWeapon :GetCritTokenBucket ()
You can’t perform that action at this time.
0 commit comments