Penetration for Explosions#16930
Closed
NotAlwaysTrue wants to merge 3 commits intoFakeFishGames:masterfrom
Closed
Conversation
Author
|
Folder "Libraries/moonsharp" Both should be removed. They are from my LuaCsForBarotrauma Fork and somehow get to here. Edited because in perview version github shows them as new files but in classic they are folders |
Author
|
This should be an issue instead of a PR so im closing it |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes:
Added Penetration for Explosions.
Made necessary modifications to Character.AddDamage() to make things work. This change should not affact other calls.
Reason:
This PR come with a DEBUGONLY mod for testing.
A Divingsuit with -100% explosiondamage damagemodifier. Name/Identifier: ExplosionTestSuit
Two 40mm grenades:
A grenade with 100% penetration and 100 explosiondamage when explode. Name/Identifier: 40mmgrenadefullpen
A grenade with no penetration defined (default mode) and 100 explosiondamage when explode. Name/Identifier: 40mmgrenadenopen
To Test:
Note:
If DeflectProjectile was not set to true, penetration defined in the test mod will not work and no damage on the target.