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

Rupture is applied before attack damage is calculated #1299

Closed
Iridar opened this issue Jan 22, 2024 · 1 comment · Fixed by #1330
Closed

Rupture is applied before attack damage is calculated #1299

Iridar opened this issue Jan 22, 2024 · 1 comment · Fixed by #1330
Assignees

Comments

@Iridar
Copy link
Contributor

Iridar commented Jan 22, 2024

Relevant code

It's not perfectly clear if this is a bug or intended behavior, since only the Rupture ability uses the rupture mechanic. The ability description implies the Rupture Shot itself shouldn't benefit from this bonus damage.

A Rupture shot deals critical damage and ensures that the target takes an additional +3 damage from all attacks in the future.

For comparison, nor Shredder nor Holo Target provide any benefit to attacks that apply them. It would make sense for Rupture to behave the same.

@Iridar Iridar added this to the 1.28.0 milestone Jan 22, 2024
@Iridar Iridar self-assigned this Jan 22, 2024
@Iridar
Copy link
Contributor Author

Iridar commented May 2, 2024

Discord recap. In this context:

  • rupture (lowercase) is the mechanic of attacks applying a rupture value to the target, increasing the damage it takes from the following attacks by that value.
  • Rupture (capitalized) - the Grenadier's ability, the only vanilla ability that applies rupture.

There are three explicit issues with rupture:

  1. Maximum amount of bonus damage rupture can add to an attack is capped by that attack's damage, meaning that rupture cannot provide more than +100% bonus damage. E.g. if the target is ruptured for +3 and you use an attack that deals 1 damage, it will receive only +1 bonus damage from rupture.
  2. If an attack applies rupture, the attack itself will be able to benefit from rupture. E.g. beam Cannon deals 8-10 +3 damage, so 11-13 on a crit, but with Rupture ability it will hit for 14-16, with extra +3 coming from rupture applied by Rupture itself.
  3. Rupture doesn't stack, highest value is used. So if you use Rupture on the same target multiple times, it will still be ruptured only for +3.

The Rupture's ability description is as follows:

A Rupture shot deals critical damage and ensures that the target takes an additional +3 damage from all attacks in the future.

And I think the description should take precedence over established mechanics, because that's how the player will expect the ability to work.

From the description, issues (1) and (2) are clearly bugs, and go against how the player will expect the ability to work. Therefore I declare them as bugs and move they be fixed with extreme prejudice.

Issue (3) is open to interpretation, as both rupture stacking and not stacking would make total sense with the current ability description. Therefore I suggest we don't do anything about it. If a mod needs to apply stacking rupture, it can be easily done with a custom effect that does TargetDamageable.AddRupturedValue(TargetDamageable.GetRupturedValue() + X);

Iridar pushed a commit to Iridar/X2WOTCCommunityHighlander that referenced this issue May 2, 2024
…y rupture and make rupture apply after attack's damage.
Iridar added a commit that referenced this issue May 2, 2024
Iridar pushed a commit to Iridar/X2WOTCCommunityHighlander that referenced this issue May 2, 2024
Iridar pushed a commit that referenced this issue May 2, 2024
@Iridar Iridar removed this from the 1.28.0 milestone May 2, 2024
Iridar pushed a commit to Iridar/X2WOTCCommunityHighlander that referenced this issue May 6, 2024
Iridar pushed a commit that referenced this issue May 6, 2024
BlackDog86 pushed a commit to BlackDog86/X2WOTCCommunityHighlander that referenced this issue Oct 29, 2024
…y rupture and make rupture apply after attack's damage. (X2CommunityCore#1330)
BlackDog86 pushed a commit to BlackDog86/X2WOTCCommunityHighlander that referenced this issue Oct 29, 2024
BlackDog86 pushed a commit to BlackDog86/X2WOTCCommunityHighlander that referenced this issue Oct 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant