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

Getting damaged mid-evo doesn't cancel it #7682

Closed
cm13-issue-bot opened this issue Nov 26, 2024 · 1 comment
Closed

Getting damaged mid-evo doesn't cancel it #7682

cm13-issue-bot opened this issue Nov 26, 2024 · 1 comment
Labels
Bug Admin events aren't bugs

Comments

@cm13-issue-bot
Copy link

Testmerges

#7242: 'WIP Yautja Clan TGUI Menu' by realforest2001 at commit 0f24fabd69
#7521: 'Human Resprites & Tweaks - Marines looking awesome' by Nanu308 at commit 15b7b83600
#7511: 'Weyland-Yutani Intranet Terminal' by realforest2001 at commit 0e4e01f7e1
#7623: 'More working/hazman joe lines' by Blundir at commit 6eb17a0017
#7548: 'Adds ability for admins to end round with a custom ending + upp ending icon' by Blundir at commit b7e1822854
#6120: 'Project ARES: Synthetic Reset Key' by realforest2001 at commit 5325dae437
#7600: 'SG Frontline Mode & Friends - Yay!!!' by BasilHerb at commit 212cf64c56
#7165: 'Fax Responders TestMerge Collection' by realforest2001 at commit 0d74e7d5c5

Round ID

24988

Description of the bug

Evolving requires you to be at full hp at the start, being damaged in the middle of it doesn't stop it.

What's the difference with what should have happened?

Evolution should be stopped when you get damaged mid-evolve

How do we reproduce this bug?

  1. Begin evolution
  2. get shot
  3. evolve anyway

Attached logs

N/A

Additional details

  • Author: Stalkerino
  • Admin: Lagomorphica
  • Note: None
@cm13-issue-bot cm13-issue-bot added the Bug Admin events aren't bugs label Nov 26, 2024
@ihatethisengine
Copy link
Contributor

Evolving transfers the damage, so not a bug.

if(new_xeno.health - getBruteLoss(src) - getFireLoss(src) > 0) //Cmon, don't kill the new one! Shouldnt be possible though
new_xeno.bruteloss = src.bruteloss //Transfers the damage over.
new_xeno.fireloss = src.fireloss //Transfers the damage over.
new_xeno.updatehealth()

@Drulikar Drulikar closed this as not planned Won't fix, can't repro, duplicate, stale Nov 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Admin events aren't bugs
Projects
None yet
Development

No branches or pull requests

3 participants