v3.2.2: fixed throw clubs/hammers rarely setting hero time too far back

This commit is contained in:
Evan Debenham
2025-08-24 15:46:16 -04:00
parent cea4fd9f27
commit d16dd4ed23
2 changed files with 2 additions and 2 deletions

View File

@@ -40,7 +40,7 @@ public class ThrowingClub extends MissileWeapon {
@Override
public boolean doPickUp(Hero hero, int pos) {
if (super.doPickUp(hero, pos)){
hero.spendAndNext( -TIME_TO_PICK_UP );
hero.spendAndNext( -hero.cooldown() );
return true;
}
return false;

View File

@@ -40,7 +40,7 @@ public class ThrowingHammer extends MissileWeapon {
@Override
public boolean doPickUp(Hero hero, int pos) {
if (super.doPickUp(hero, pos)){
hero.spendAndNext( -TIME_TO_PICK_UP );
hero.spendAndNext( -hero.cooldown() );
return true;
}
return false;