Publisher | Jason C# |
---|---|
File size | 71.92kB |
Number of files | 7 |
Latest version | 1 |
Latest release date | 2020-10-28 12:05:16 |
First release date | 2020-10-28 12:05:16 |
Supported Unity versions | 2018.4.2 or higher |
With this asset pack it allows you to deal damage to an enemy or player with Dots. It currently supports 3 damage types poison, bleed and fire.
Damage will stack and be removed after its duration. So if you deal 100 bleed damage over 10 seconds, it will deal 10 poison damage per second for 10 seconds. If you then hit with another 100 bleed damage over 10 seconds 5 seconds later it will deal 20 damage per second for another 5 seconds until the first bleed wears off and then deal 10 damage per second for the remaining 5 seconds on the new bleed DoT.
You can also set a limit to DoT length, so using the example above you could set the max length to 10 meaning the damage will stack but the time wont.
It works in both 2D and 3D and works for both trigger and non trigger colliders.
If you're using you own Health system I have included a guide on how to use this pack with it.
Damage will stack and be removed after its duration. So if you deal 100 bleed damage over 10 seconds, it will deal 10 poison damage per second for 10 seconds. If you then hit with another 100 bleed damage over 10 seconds 5 seconds later it will deal 20 damage per second for another 5 seconds until the first bleed wears off and then deal 10 damage per second for the remaining 5 seconds on the new bleed DoT.
You can also set a limit to DoT length, so using the example above you could set the max length to 10 meaning the damage will stack but the time wont.
It works in both 2D and 3D and works for both trigger and non trigger colliders.
If you're using you own Health system I have included a guide on how to use this pack with it.