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

EMP grenade can't deal extra damage to Portalguardian #15251

Open
1 of 2 tasks
JeroonBosch opened this issue Nov 25, 2024 Discussed in #15247 · 5 comments
Open
1 of 2 tasks

EMP grenade can't deal extra damage to Portalguardian #15251

JeroonBosch opened this issue Nov 25, 2024 Discussed in #15247 · 5 comments
Labels
Balance Bug Something isn't working Design Design-related task

Comments

@JeroonBosch
Copy link
Collaborator

Discussed in #15247

Originally posted by A2ur3 November 24, 2024

Disclaimers

  • I have searched the issue tracker to check if the issue has already been reported.
  • My issue happened while using mods.

What happened?

Cyborgworm, Fractalguardian_emp, Guardianrepairbot and Portalguardian do not have empvulnerability (affected by Affliction emp)
Although Fractalguardian_emp can cause emp but it does not cause emp affliction
not sure if it is intended. they also don't have IsMachine="True" which means they can have afflictions like organdamage and psychosis

Reproduction steps

  1. disableenemyai
  2. spawn Portalguardian cursor
  3. giveaffliction opiateoverdose 2000 Portalguardian
  4. control Portalguardian

Bug prevalence

Just once

Single player or multiplayer?

Single player

-

No response

Version

v1.6.19.1 (Unto the Breach Update Hotfix 2)

-

No response

Which operating system did you encounter this bug on?

Windows

Relevant error messages and crash reports

No response

@JeroonBosch JeroonBosch self-assigned this Nov 25, 2024
@JeroonBosch JeroonBosch added Bug Something isn't working Balance labels Nov 25, 2024
@Regalis11 Regalis11 added the Design Design-related task label Nov 25, 2024
@JeroonBosch JeroonBosch removed their assignment Nov 28, 2024
@JeroonBosch
Copy link
Collaborator Author

One reason for this seems to be that Fractalguardian_emp uses EMP (risk of self-EMP or friendly fire EMP) so it may need some additional (code) work to avoid Fractalguardian_emp, Guardianrepairbot and Portalguardian getting EMPed by Fractalguardian_emp

Cyborgworm is debatable whether or not EMP should affect it, since it's not fully a machine, it's more creature than machine.

Anyways, we will take this forward in the future after some discussion on what work it actually requires.

@A2ur3
Copy link

A2ur3 commented Nov 28, 2024

EMP used by Fractalguardian_emp won't cause EMP affliction so it shouldn't affect themselves
but emp affliction maybe too good to deal these creatures
It causes internal damage multiplyafflictionsbymaxvitality and constant stun

@JeroonBosch
Copy link
Collaborator Author

JeroonBosch commented Nov 28, 2024

EMP used by Fractalguardian_emp won't cause EMP affliction so it shouldn't affect themselves

The alienturretammoemp ammunition used by guardianempcannon and the TurretBarrel limb in Fractalguardian_empDefaultRagdoll.xml does cause an EMP of empstrength="0.5" in the explosion effect:

      <StatusEffect type="OnBroken" target="This">
        <ParticleEmitter particle="faradayfx" anglemax="360" distancemax="300" scalemultiplier="5,5" particleamount="40" />
        <sound file="Content/Items/Weapons/ExplosionMedium3.ogg" range="10000" dontmuffle="true" />
        <Explosion range="500.0" structuredamage="0" force="20.0" empstrength="0.5" applyFireEffects="false" underwaterbubble="false" shockwave="true" flames="false">
          <Affliction identifier="stun" strength="1" />
        </Explosion>
        <Remove />
      </StatusEffect>

@A2ur3
Copy link

A2ur3 commented Nov 28, 2024

The alienturretammoemp ammunition used by guardianempcannon and the TurretBarrel limb in Fractalguardian_empDefaultRagdoll.xml does cause an EMP of empstrength="0.5" in the explosion effect:

but it does not cause emp affliction
empstrength won't affect creatures
emp grenade has both

<Explosion range="500" force="5" empstrength="10" applyfireeffects="false" flames="false">
  <Affliction identifier="explosiondamage" strength="10" />
  <Affliction identifier="stun" strength="5" />
  <Affliction identifier="emp" strength="100" multiplybymaxvitality="true" />
</Explosion>

@JeroonBosch
Copy link
Collaborator Author

Hmm alright, in that case you might be right, I'll need to check with the person that actually implemented the fractalguardians in that case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Balance Bug Something isn't working Design Design-related task
Projects
None yet
Development

No branches or pull requests

3 participants