sts-term

Une version rudimentaire de Slay The Spire dans le terminal - retour accueil

git clone git://bebou.netlib.re/sts-term
Log | Files | Refs | README |

commit 7b2508dfa49c974a4604513c09d838267a1e954a
parent 666ebf0626ce1cc6799c532de85add23240f5c5a
Auterice: Arthur Pons <arthur.pons@unistra.fr>
Date:   Fri, 21 Jun 2024 23:30:41 +0200

On cherche pas à exec des burns qui n'existent pas

Diffstat:
Mutils | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/utils b/utils @@ -305,7 +305,8 @@ endturn() { _execnextmove _hasstatus player demon-form && _status strength $(_getremainingstatusturns player demon-form) player - chmod +x fight/hand/burn-*;find fight/hand -name 'burn-*' | sh + [ $(find fight/hand -name 'burn-*' | wc -l) -gt '0' ] && + chmod +x fight/hand/burn-*;find fight/hand -name 'burn-*' | sh _hasstatus player barricade || _setstat fight/player block 0 _setstat fight/player energy 3