From 85e1518856ca08d63060a25b81f4787be3da5ebb Mon Sep 17 00:00:00 2001 From: "Michael Cook (mackal)" Date: Tue, 16 Sep 2014 18:35:49 -0400 Subject: [PATCH] Implement spell formula 137 This is only used in the BER AA Desperation --- changelog.txt | 3 +++ zone/spell_effects.cpp | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/changelog.txt b/changelog.txt index eb89606b9..c852b2096 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,5 +1,8 @@ EQEMu Changelog (Started on Sept 24, 2003 15:50) ------------------------------------------------------- +== 09/16/2014 == +demonstar55: Implement spell formula 137 (BER AA Desperation) + == 09/15/2014 == Kayen: Nimbus effects will now be reapplied after zoning and will be removed when associated buff fades. diff --git a/zone/spell_effects.cpp b/zone/spell_effects.cpp index 008b83a54..3af80aacc 100644 --- a/zone/spell_effects.cpp +++ b/zone/spell_effects.cpp @@ -3166,6 +3166,10 @@ snare has both of them negative, yet their range should work the same: result = MakeRandomInt(ubase, abs(max)); break; + case 137: // used in berserker AA desperation + result = ubase - (ubase * (GetHPRatio() / 100.0f)); + break; + //these are used in stacking effects... formula unknown case 201: case 203: