Skip to content

Commit 2d5aba4

Browse files
Blitz54LocalIdentity
and
LocalIdentity
authored
Add support for Rejuvenation Totem Mana helm enchant (#8546)
* Add support for Rejuvenation Totem helm enchant * Spacing --------- Co-authored-by: LocalIdentity <localidentity2@gmail.com>
1 parent 67bc6e7 commit 2d5aba4

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

src/Data/Skills/act_str.lua

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8498,8 +8498,10 @@ skills["RejuvenationTotem"] = {
84988498
castTime = 0.6,
84998499
statMap = {
85008500
["base_life_regeneration_rate_per_minute"] = {
8501-
mod("LifeRegen", "BASE", nil, 0, 0, { type = "GlobalEffect", effectType = "Aura" }),
8502-
div = 60,
8501+
{ mod("LifeRegen", "BASE", nil, 0, 0, { type = "GlobalEffect", effectType = "Aura" }),
8502+
div = 60 },
8503+
{ mod("ManaRegen", "BASE", nil, 0, 0, { type = "GlobalEffect", effectType = "Aura" }, { type = "Condition", var = "RejuvenationTotemManaRegen" }),
8504+
div = 400 },
85038505
},
85048506
},
85058507
baseFlags = {

src/Export/Skills/act_str.txt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1668,8 +1668,10 @@ local skills, mod, flag, skill = ...
16681668
#flags spell aura totem area duration
16691669
statMap = {
16701670
["base_life_regeneration_rate_per_minute"] = {
1671-
mod("LifeRegen", "BASE", nil, 0, 0, { type = "GlobalEffect", effectType = "Aura" }),
1672-
div = 60,
1671+
{ mod("LifeRegen", "BASE", nil, 0, 0, { type = "GlobalEffect", effectType = "Aura" }),
1672+
div = 60 },
1673+
{ mod("ManaRegen", "BASE", nil, 0, 0, { type = "GlobalEffect", effectType = "Aura" }, { type = "Condition", var = "RejuvenationTotemManaRegen" }),
1674+
div = 400 },
16731675
},
16741676
},
16751677
#baseMod skill("radius", 40)

src/Modules/ModParser.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3834,6 +3834,7 @@ local specialModList = {
38343834
["each totem applies (%d+)%% increased damage taken to enemies near it"] = function(num) return { mod("EnemyModifier", "LIST", { mod = mod("DamageTaken", "INC", num, { type = "Multiplier", var = "TotemsSummoned" }) }) } end,
38353835
["totems gain %+(%d+)%% to (%w+) resistance"] = function(num, _, resistance) return { mod("Totem"..firstToUpper(resistance).."Resist", "BASE", num) } end,
38363836
["totems gain %+(%d+)%% to all elemental resistances"] = function(num) return { mod("TotemElementalResist", "BASE", num) } end,
3837+
["rejuvenation totem also grants mana regeneration equal to 15%% of its life regeneration"] = { flag("Condition:RejuvenationTotemManaRegen") },
38373838
-- Minions
38383839
["your strength is added to your minions"] = { flag("StrengthAddedToMinions") },
38393840
["half of your strength is added to your minions"] = { flag("HalfStrengthAddedToMinions") },

0 commit comments

Comments
 (0)