Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Le joueur n'est pas complètement mort après avoir perdu le reste de sa vie sur le small event witch #1944

Closed
Nargacaura opened this issue May 3, 2023 · 1 comment · Fixed by #2108
Labels
bug Something isn't working
Milestone

Comments

@Nargacaura
Copy link
Contributor

Description du bug.

Après être tombé à 0 PV sur le mini-event witch, le joueur n'a plus de vie... mais peut continuer à jouer. Cela peut engendrer une faille qui fait qu'il puisse se régénérer afin d'éviter de perdre des points et redémarrer son trajet!

Selon vous, quelle est l'importance de ce bug ?

😨 Grave

Reproduction du bug.

Perdre le reste de sa vie sur le mini-event witch. Continuer à jouer (un /report pour effectivement mourir, ou... se régèn afin d'éviter de perdre des points).

Captures d'écran

/report post-mortem:
image
image-1

Triche de la mort:
Screenshot_20230503-163646
Screenshot_20230503-163611

Sur quel shard avez vous rencontré le bug ?

Tous

@Nargacaura Nargacaura added the bug Something isn't working label May 3, 2023
@symsym-1629
Copy link
Contributor

symsym-1629 commented May 3, 2023

Faut rajouter await player.killIfNeeded() juste après ca :

await selectedEvent.removeLifePoints(interaction, player, language);

(Je cite les dires de Pieta (sauf le lien))

@BastLast BastLast added this to the 4.4.1 milestone Jun 2, 2023
@BastLast BastLast modified the milestones: 4.4.2, 4.4.1 Jul 31, 2023
BastLast added a commit that referenced this issue Aug 3, 2023
@BastLast BastLast linked a pull request Aug 3, 2023 that will close this issue
BastLast added a commit that referenced this issue Aug 3, 2023
@BastLast BastLast closed this as completed Aug 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants