martinbwg / Pixel-Tanks

1 stars 3 forks source link

advanced hook perk #627

Closed CelestialKnight7 closed 3 months ago

CelestialKnight7 commented 3 months ago

Hallo, so as ya'll know when I lowered base grapple cd it broke the hook perk which I then fixed. however this lead me to notice that the perk doesn't function as it should. all it does now is a flat reduction to the grapple cd. this reduction is only supposed to happen when u miss (aka don't hit a player). When you do hit a player, you should get the full 5 seconds of grapple cd. On a miss it should be reduced to 3 seconds on tier 1, and 2 seconds on tier 2

LostKing73 commented 3 months ago

ted talk

cs6413110 commented 3 months ago

Cooldowns rn are primarily client side with the server only telling you when you get a kill or respawn as the main way to reset. I don't want to have a code a whole new thing to modify grapple cooldown

cs6413110 commented 3 months ago

Actually fine I'll code

LostKing73 commented 3 months ago

Actually fine I'll code

nooo code my thing firsst

3foe commented 3 months ago

yes code grip CD last

LostKing73 commented 3 months ago

yes code grip CD last

ok code the grip CD now

3foe commented 3 months ago

jonas go sing under the sea, under the sea

cs6413110 commented 3 months ago

I think this is done, can someone test it pls?

cs6413110 commented 3 months ago

Also possible server side commands for cooldowns /c <percent(decimal)>

/c class 1

LostKing73 commented 3 months ago

what would that do?

cs6413110 commented 3 months ago

@BreadSpam TEST PLS

CelestialKnight7 commented 3 months ago

testing...