You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit abc32ee
Browse filesBrowse the repository at this point in the historyBrowse files
David Medgyesy
committed
Apply an explicit zero for Corrupting Blood, Cruelty and Herald config values
The six options now use countAllowZero, so an entered 0 is applied instead of falling back to the default. Zero Corrupting Cry or Bloodsoaked Banner stacks leaves the skill's Corrupting Blood unapplied.
{ var="bloodsoakedBannerStages", type="count", label="# of Bloodsoaked Banner stacks on enemy", ifSkill="Bloodsoaked Banner", defaultState=1, apply=function(val, modList, enemyModList)
326
+
{ var="bloodsoakedBannerStages", type="countAllowZero", label="# of Bloodsoaked Banner stacks on enemy", ifSkill="Bloodsoaked Banner", defaultState=1, apply=function(val, modList, enemyModList)
327
327
-- 10 is the maximum amount of Corrupting Blood Stages. modList does not contain skill base mods at this point so hard coding it here is the cleanest way to handle the cap.
328
328
-- It's set to 9 here with val -1 to so that it defaults to 1 stage and has max 10 stages.
-- 0 stacks means the enemy has no Corrupting Blood from the banner: flag the DoT as not applied (see CalcOffence) instead of emitting a -1 multiplier.
{ var="bloodSacramentReservationEHP", type="check", label="Count Skill Reservation towards eHP?", ifSkill="Blood Sacrament", tooltip="Use this option to disable the skill reservation factoring into eHP calculations",apply=function(val, modList, enemyModList)
{ var="conditionCorruptingCryStages", type="count", label="# of Corrupting Cry stacks on enemy", ifSkill="Corrupting Cry", defaultState=1, apply=function(val, modList, enemyModList)
386
+
{ var="conditionCorruptingCryStages", type="countAllowZero", label="# of Corrupting Cry stacks on enemy", ifSkill="Corrupting Cry", defaultState=1, apply=function(val, modList, enemyModList)
382
387
-- 10 is the maximum amount of Corrupting Blood Stages. modList does not contain skill base mods at this point so hard coding it here is the cleanest way to handle the cap.
383
388
-- It's set to 9 here with val -1 to so that it defaults to 1 stage and has max 10 stages.
-- 0 stacks means the enemy has no Corrupting Blood from the warcry: flag the DoT as not applied (see CalcOffence) instead of emitting a -1 multiplier.
{ var="overrideCruelty", type="count", label="Damage % (if not maximum):", ifSkill="Cruelty", tooltip="Cruelty is a buff provided by Cruelty Support which grants\nup to 40% more damage over time to the skills it supports.", apply=function(val, modList, enemyModList)
{ var="overrideCruelty", type="countAllowZero", label="Damage % (if not maximum):", ifSkill="Cruelty", tooltip="Cruelty is a buff provided by Cruelty Support which grants\nup to 40% more damage over time to the skills it supports.", apply=function(val, modList, enemyModList)
{ label="Herald of Ash:", ifSkill="Herald of Ash" },
499
-
{ var="hoaOverkill", type="count", label="Overkill damage:", tooltip="Herald of Ash's base ^xB97123Burning ^7damage is equal to 25% of Overkill damage.", ifSkill="Herald of Ash", apply=function(val, modList, enemyModList)
{ var="hoaOverkill", type="countAllowZero", label="Overkill damage:", tooltip="Herald of Ash's base ^xB97123Burning ^7damage is equal to 25% of Overkill damage.", ifSkill="Herald of Ash", apply=function(val, modList, enemyModList)
{ label="Herald of the Hive:", ifSkill="Herald of the Hive" },
503
-
{ var="heraldOfTheHivePressure", type="count", label="# of Otherworldly Pressure Stacks:", ifSkill="Herald of the Hive", apply=function(val, modList, enemyModList)
{ var="heraldOfTheHivePressure", type="countAllowZero", label="# of Otherworldly Pressure Stacks:", ifSkill="Herald of the Hive", apply=function(val, modList, enemyModList)
0 commit comments