Skip to content

Commit 399ac91

Browse files
committed
Wild Savagery
1 parent 7390143 commit 399ac91

4 files changed

Lines changed: 12 additions & 2 deletions

File tree

src/Data/ModCache.lua

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9638,7 +9638,7 @@ c["Lose all Power Charges on reaching Maximum Power Charges Gain a Frenzy Charge
96389638
c["Lose all Power Charges on reaching Maximum Power Charges Shocks you when you reach Maximum Power Charges"]={nil,"Lose all Power Charges on reaching Maximum Power Charges Shocks you when you reach Maximum Power Charges "}
96399639
c["Lose all Power Charges when you Block"]={nil,"Lose all Power Charges when you Block "}
96409640
c["Lose all Rage on reaching Maximum Rage and gain Wild Savagery"]={nil,"Lose all Rage on reaching Maximum Rage and gain Wild Savagery "}
9641-
c["Lose all Rage on reaching Maximum Rage and gain Wild Savagery for 1 second per 10 Rage lost this way"]={nil,"Lose all Rage on reaching Maximum Rage and gain Wild Savagery for 1 second per 10 Rage lost this way "}
9641+
c["Lose all Rage on reaching Maximum Rage and gain Wild Savagery for 1 second per 10 Rage lost this way"]={{[1]={flags=0,keywordFlags=0,name="WildSavagery",type="FLAG",value=true}},nil}
96429642
c["Lose an Endurance Charge each second"]={nil,"Lose an Endurance Charge each second "}
96439643
c["Lose an Endurance Charge each second Corrupted"]={nil,"Lose an Endurance Charge each second Corrupted "}
96449644
c["Lose no Experience when you die because a Linked target died"]={nil,"Lose no Experience when you die because a Linked target died "}
@@ -12670,7 +12670,6 @@ c["also grant an equal chance to gain an Endurance Charge on Kill"]={nil,"also g
1267012670
c["and nearby Allies Regenerate 200 Life per second"]={{[1]={[1]={type="Condition",var="KilledPoisonedLast2Seconds"},flags=0,keywordFlags=0,name="ExtraAura",type="LIST",value={mod={flags=0,keywordFlags=0,name="LifeRegen",type="BASE",value=200}}}},nil}
1267112671
c["be inflicted on a nearby Minion instead"]={nil,"be inflicted on a nearby Minion instead "}
1267212672
c["be inflicted on a nearby Minion instead Limited to 1 Runegraft of Loyalty"]={nil,"be inflicted on a nearby Minion instead Limited to 1 Runegraft of Loyalty "}
12673-
c["for 1 second per 10 Rage lost this way"]={nil,"for 1 second per 10 Rage lost this way "}
1267412673
c["grant 100% increased Flask Charges"]={nil,"grant 100% increased Flask Charges "}
1267512674
c["grant 40% increased Flask Charges"]={nil,"grant 40% increased Flask Charges "}
1267612675
c["grant 40% increased Flask Charges Melee Hits have 20% chance to Fortify"]={nil,"grant 40% increased Flask Charges Melee Hits have 20% chance to Fortify "}

src/Modules/CalcPerform.lua

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -705,6 +705,13 @@ local function doActorMisc(env, actor)
705705
modDB:NewMod("MovementSpeed", "INC", m_floor(25 * effectMod), "Adrenaline")
706706
modDB:NewMod("PhysicalDamageReduction", "BASE", m_floor(10 * effectMod), "Adrenaline")
707707
end
708+
-- config checked and ascendancy allocated, allows user to see dps change in passive tree
709+
if modDB:Flag(nil, "Condition:WildSavagery") and modDB:Flag(nil, "WildSavagery") then
710+
modDB:NewMod("PhysicalDamage", "INC", 100, "Wild Savagery")
711+
modDB:NewMod("ActionSpeed", "INC", 10, "Wild Savagery")
712+
modDB:NewMod("IgnoreEnemyPhysicalDamageReduction", "FLAG", true, "Wild Savagery")
713+
modDB:NewMod("StunImmune", "FLAG", true, "Wild Savagery")
714+
end
708715
if modDB:Flag(nil, "Convergence") then
709716
local effect = m_floor(30 * (1 + modDB:Sum("INC", nil, "BuffEffectOnSelf") / 100))
710717
modDB:NewMod("ElementalDamage", "MORE", effect, "Convergence")

src/Modules/ConfigOptions.lua

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -967,6 +967,9 @@ Huge sets the radius to 11.
967967
{ var = "multiplierRage", type = "count", label = "^xFF9922Rage:", ifFlag = "Condition:CanGainRage", tooltip = "Base Maximum ^xFF9922Rage ^7is 30, and inherently grants 1% More Attack Damage per 1 ^xFF9922Rage^7\nYou lose 10 ^xFF9922Rage ^7every second if you have not been Hit or gained ^xFF9922Rage ^7in the last 2 seconds.", apply = function(val, modList, enemyModList)
968968
modList:NewMod("Multiplier:RageStack", "BASE", val, "Config", { type = "IgnoreCond" }, { type = "Condition", var = "Combat" }, { type = "Condition", var = "CanGainRage" })
969969
end },
970+
{ var = "buffWildSavagery", type = "check", label = "Do you have Wild Savagery?", ifFlag = "WildSavagery", tooltip = "From Oshabi's Bloodline, grants:\n\t100% increased Physical Damage\n\t10% increased Action Speed\n\tHits ignore Enemy Physical Damage Reduction\n\tCannot be Stunned", apply = function(val, modList, enemyModList)
971+
modList:NewMod("Condition:WildSavagery", "FLAG", true, "Config", { type = "Condition", var = "Combat" })
972+
end },
970973
{ var = "conditionLeeching", type = "check", label = "Are you Leeching?", ifCond = "Leeching", tooltip = "You will automatically be considered to be Leeching if you have '^xE05030Life ^7Leech effects are not removed at Full ^xE05030Life^7',\nbut you can use this option to force it if necessary.", apply = function(val, modList, enemyModList)
971974
modList:NewMod("Condition:Leeching", "FLAG", true, "Config", { type = "Condition", var = "Combat" })
972975
end },

src/Modules/ModParser.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2888,6 +2888,7 @@ local specialModList = {
28882888
mod("ChaosMin", "BASE", 1, { type = "PercentStat", stat = "LifeCost", percent = num }, { type = "StatThreshold", stat = "LifeUnreserved", thresholdStat = "LifeCost", thresholdPercent = num }),
28892889
mod("ChaosMax", "BASE", 1, { type = "PercentStat", stat = "LifeCost", percent = num }, { type = "StatThreshold", stat = "LifeUnreserved", thresholdStat = "LifeCost", thresholdPercent = num }),
28902890
} end,
2891+
["lose all rage on reaching maximum rage and gain wild savagery for 1 second per 10 rage lost this way"] = { flag("WildSavagery") },
28912892
-- Item local modifiers
28922893
["has no sockets"] = { flag("NoSockets") },
28932894
["reflects your o[tp][hp][eo][rs]i?t?e? ring"] = {

0 commit comments

Comments
 (0)