[Bug Fix] DI/Death Pact Fix (#3867)

* [Bug Fix] DI/Death Pact Fix

Divine Intervention/Death Pact buffs were always fading the moment a person dropped below 16% regardless if it healed or not.  It will now only fade if it succeeds in healing, and it will only check to heal when a person drops below 16%

* Requested Updates
This commit is contained in:
Fryguy
2024-01-07 02:05:16 -05:00
committed by GitHub
parent 7923d7bc6c
commit 70a4b6a2b1
3 changed files with 42 additions and 29 deletions
+5
View File
@@ -62,6 +62,11 @@ namespace EQ
class ItemInstance;
}
namespace DeathSave {
constexpr uint32 HP300 = 1;
constexpr uint32 HP8000 = 2;
}
enum class eSpecialAttacks : int {
None,
Rampage,