v3.2.2: fixed throw clubs/hammers rarely setting hero time too far back
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user