changed hand mechanics to discard to a new hand every round

This commit is contained in:
2025-08-15 00:55:32 +10:00
parent a452bbb406
commit c8349428e7

View File

@@ -14,6 +14,8 @@ func enter_state() -> void:
hero.weapons[hero.equipped_weapon].current_energy = hero.weapons[hero.equipped_weapon].max_energy hero.weapons[hero.equipped_weapon].current_energy = hero.weapons[hero.equipped_weapon].max_energy
#this had to be commented out coz the new energy bar thinks "energy changed" is "energy used" #this had to be commented out coz the new energy bar thinks "energy changed" is "energy used"
#weapons[equipped_weapon].energy_changed.emit(weapons[equipped_weapon].current_energy) #weapons[equipped_weapon].energy_changed.emit(weapons[equipped_weapon].current_energy)
for x: int in hero.hand.contents.size():
hero.discard_pile.add(hero.hand.remove_at(hero.hand.contents.size() - 1))
hero.weapon_swap_timer.start() hero.weapon_swap_timer.start()
hero.hud.primary_duration.visible = false hero.hud.primary_duration.visible = false
hero.hud.secondary_duration.visible = false hero.hud.secondary_duration.visible = false