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 81fe8a4e7b2032b705fbec69c4cd276fed87ffb6
parent 6705994202e50b54d655c6a51692162f1648b355
Auterice: Arthur Pons <arthur.pons@unistra.fr>
Date:   Wed, 19 Jun 2024 21:40:08 +0200

Retrait de lignes pour debug

Diffstat:
Mutils | 3---
1 file changed, 0 insertions(+), 3 deletions(-)

diff --git a/utils b/utils @@ -96,14 +96,12 @@ _setstat() { target="$1" stat="$2" value="$3" - echo "$1 $2 $3" if [ "$stat" = "health" -a "$value" -le '0' ];then case "$target" in ("*player*") _gameover;; (*) _killennemie "$target";; esac else - echo sed -i --follow-symlinks -E "/$stat/ s/ .*/ $value/" "$target" sed -i --follow-symlinks -E "/$stat/ s/ .*/ $value/" "$target" fi } @@ -207,7 +205,6 @@ _newhand() { _discard() { card="$1" chmod -x "$card" - echo mv "$card" fight/discard mv "$card" fight/discard }