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 db02257c24ab018172d72a4f740317b14e14f4e6
parent 1b92c3e1e8103250a43b2ff248c991a4637a141a
Auterice: Arthur Pons <arthur.pons@unistra.fr>
Date:   Wed, 19 Jun 2024 21:00:10 +0200

D'autres appels fonction internes corrigés

Diffstat:
Mmakegame | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/makegame b/makegame @@ -12,10 +12,10 @@ addcard() { $(cat bdd/cards/$2 | sed -E '/(cost|defend)/ s/$/ player/; /^attack/ s/$/ "${1:?need a target}"/; - /^(attack|defend|cost)/ s/^/_/' | sort) - discard "\$0" + /^(attack|defend|cost|status)/ s/^/_/' | sort) + _discard "\$0" _updatecardexecutability - refreshUI + _refreshUI . mv A deck/$2-$i done