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 54e1a3ad25a4e5f230a8f4b463630a891e9d4745
parent 8140374f6904629b9e9f2a6556b24a8ac3a11dea
Auterice: Arthur Pons <arthur.pons@unistra.fr>
Date:   Fri, 21 Jun 2024 20:17:11 +0200

Ajout sentinel

Diffstat:
Abdd/cards/sentinel | 2++
Mutils | 2++
2 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/bdd/cards/sentinel b/bdd/cards/sentinel @@ -0,0 +1,2 @@ +_cost 1 +_defend 5 diff --git a/utils b/utils @@ -86,6 +86,8 @@ _makefight() { } _exhaust() { + echo "$1" | grep -q 'sentinel' && + _changestat player energy +2 _hasstatus player dark-embrace && _draw 1 _hasstatus player feel-no-pain && { _defend $(_getremainingstatusturns player feel-no-pain) player; } target="$1"