Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
update to match alliedmodders
  • Loading branch information
Mystik-Spiral authored Mar 9, 2021
1 parent dd00c80 commit 97b827d
Showing 1 changed file with 14 additions and 7 deletions.
21 changes: 14 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,28 @@
Left4Dead2 SourceMod plugin reverses damage if the victim is burned instantly and continously.
It was created to help mitigate the damage by griefers attempting to kill/incap their teammates by burning them.

Reverses the following explodable burn types:
Gas can, barricade gas can, fuel barrel, gas pump, and fireworks crate.

Announces the following explosion types:
Gas can, barricade gas can, fuel barrel, gas pump, fireworks crate, propane tank, and oxygen tank.

Features:
- Burn damage is reversed only if victim(s) are burned instantly (within 0.75 second of ignition) and continously.
- If burn victim gets out of the fire for more than a second (or fire goes out), burn damage stops being reversed.
- When burn damage is reversed, during each burn cycle:
- When burn damage is reversed, during each burn cycle (approx 6x per second):
* Attacker takes 70% damage for each instantly/continously burned victim.
* To get victims out of fire, convert 1PermHP to 2TempHP.
* Standing burn victims lose 1PermHP which is converted to 2TempHP as incentive to move out of the fire quickly.
* Already incapped burn victims or burn victims with only 1TotalHP do not take any burn damage.
- Bots do not take burn damage but do move out of the fire as quickly as possible.
- In all other scenarios, burn damage behaves normally.

Common Scenarios:
- Griefer attempts to kill the whole team by burning them. Instead, the griefer takes 210% damage (70% per victim x 3 victims) plus possibly additional self-damage.
Usual end result: Griefer is killed or incapped and everyone else takes only minor damage.
- Griefer attempts to kill the whole team by burning them. Instead, the griefer takes 210% damage (70% per victim x 3 victims) plus possible additional self-damage.
Usual end result: Griefer is killed or incapped and everyone else takes relatively minor damage.

- Player starts fire and griefer runs into it.
Usual end result: Griefer takes 100% burn damage and player that started fire takes none, which is normal behavior.
Usual end result: Griefer takes 100% burn damage and player that started the fire takes none, which is normal behavior.

Suggestion:

Expand All @@ -29,11 +35,12 @@ Use this plugin in conjunction with:
...and...
**[Reverse Friendly-Fire](https://forums.alliedmods.net/showthread.php?t=329035)** (l4d_reverse_ff)

When these plugins are combined, griefers cannot inflict friendly-fire, molotov (throwable burns), or gascan (explosion type burns) damage, yet skilled players will likely not notice any difference in game play.
When these plugins are combined, griefers cannot inflict friendly-fire, and it minimizes damage to victims for molotov and explodable burn types (gascans, fireworks, etc.).
Although griefers will take significant damage, other players may not notice any difference in game play.

Credits:

This plugin began life as **[Explosion Announcer](https://forums.alliedmods.net/showthread.php?t=328006)** by Marttt. None of the original code was changed, I just added the Reverse Burn feature to it since it already kept track of when an entity was exploded and announced who did it. I hooked on to that announcement to track whether that explosion burned other players.
This plugin began life as **[Explosion Announcer](https://forums.alliedmods.net/showthread.php?t=328006)** by Marttt. The original plugin kept track of explodable entities, when they were exploded, and announced who did it. I hooked on to that announcement to track whether that explodable (gascan, fireworks, etc.) instantly burned any other players, and if so, to ensure the attacker took the vast majority of the damage. If no other players are instantly burned, then burn damage is treated normally.

Want to contribute code enhancements?
Create a pull request using this GitHub repository:
Expand Down

0 comments on commit 97b827d

Please sign in to comment.