Difference between revisions of "Healing Formula"

From Dragalia Lost Wiki
Jump to navigation Jump to search
>B1ueb1ues
(rename Player Max Entity to Raid adjustment to feat the real code in the game.)
>Boblers
(adding navbox)
 
(30 intermediate revisions by 5 users not shown)
Line 6: Line 6:
 
<tabber>
 
<tabber>
 
|-|Regular View=
 
|-|Regular View=
<math style="width:80%">(0.16 * HP + 0.06 * STR) * Potency\ % * Potency\ Buffs\ % * Raid\ Adjustment * Element\ Heal\ Adjustment * Healing\ Spread\ %</math>
+
<math style="width:80%">\frac{(0.16 * HP + 0.06 * STR) * Potency\ % * Potency\ Buffs\ %}{Raid\ Adjustment} * Element\ Heal\ Adjustment * Healing\ Spread\ %</math>
 
|-|Highlighted View=
 
|-|Highlighted View=
<math style="width:80%">(0.16 * {\color{PineGreen}HP} + 0.06 * {\color{BrickRed}STR}) * {\color{Emerald}Potency\ %} * {\color{MidnightBlue}Potency\ Buffs\ %} * {\color{Purple}Raid\ Adjustment} * {\color{Rhodamine}Element\ Heal\ Adjustment} * Healing\ Spread\ %</math>
+
<math style="width:80%">\frac{(0.16 * {\color{PineGreen}HP} + 0.06 * {\color{BrickRed}STR}) * {\color{Emerald}Potency\ %} * {\color{MidnightBlue}Potency\ Buffs\ %}}{{\color{Purple}Raid\ Adjustment}} * {\color{Rhodamine}Element\ Heal\ Adjustment} * Healing\ Spread\ %</math>
 
</tabber>
 
</tabber>
  
 
Modifiers within the same variable are additive.
 
Modifiers within the same variable are additive.
  
Note that Max HP buffs, such as {{Icon|Adventurer|Lowen|text=1|size=19 px}}'s skill {{Icon|Skill|Winds, Protect Us!|text=1|size=19 px}}, and Passive Heals such as {{Icon|Ability|Healing Doublebuff I|text=1|size=19 px}}, do NOT use the healing formula and instead are purely dependent on your Maximum HP. Thus, they do not receive any bonuses from Recovery Potency, Strength, or Element matching bonuses.  These heals also do not suffer from the 75% reduction in raid content. Specificly, heals from Max HP buffs do not have any RNG elements, and will heal you for the same amount every time.
+
===[[File:Icon Ability 1010011.png|32px]] Passive Heal Buffs===
 +
Passive Heal Buffs that are based on Max HP, such as {{Icon|Ability|Healing Doublebuff I|text=1|size=19 px}}, instead use a simplified formula:
 +
 
 +
<tabber>
 +
|-|Regular View=
 +
<math>(Receiver's\ Max\ HP\ *\ Effect's\ \%\ of\ Receiver's\ Max\ HP) * (Potency\ %\ on\ Caster\ * Potency\ Buffs\ %\ on\ Caster)</math>
 +
|-|Highlighted View=
 +
<math>({\color{PineGreen}Receiver's\ Max\ HP}\ *\ Effect's\ \%\ of\ Receiver's\ Max\ HP) * ({\color{Emerald}Potency\ %\ on\ Caster}\ * {\color{MidnightBlue}Potency\ Buffs\ %\ on\ Caster})</math>
 +
</tabber>
 +
 
 +
* "Receiver" refers to the unit receiving a buff (whether directly a healing buff, or a defense buff that triggers healing doublebuff)
 +
* "Caster" refers to the unit that granted the initial buff.
 +
 
 +
Potency buffs are only factored in if they are on the caster - if the receiver has any potency buffs, those are ignored. Conversely, the Max HP of the caster is ignored, but the Max HP of the receiver is factored in to the formula. These heals also ignore bonuses from Strength or Element matching, and do not suffer the 75% penalty in raids. The healing amount is subject to 5% variance higher or lower than the expected value, similar to damage calculation.
 +
<!--
 +
===[[File:Icon Buff 2010002.png|32px]] Life Drain===
 +
Life Drain effects, such as those on {{Icon|Skill|Call of Chaos|size=32px|text=1}} or from buffs such as {{Icon|Skill|Moment of Passion|size=32px|text=1}}'s buff, will use a formula based on damage dealt, with an enforced healing cap. This is in two parts that are then compared:
 +
 
 +
* Potential Healing:
 +
 
 +
<tabber>
 +
|-|Regular View=
 +
<math>(Receiver's\ Damage\ Inflicted\ * Effect's\ Restoration\ %) * (Potency\ %\ on\ Caster\ * Potency\ Buffs\ %\ on\ Caster)</math>
 +
|-|Highlighted View=
 +
<math>({\color{BrickRed}Receiver's\ Damage\ Inflicted}\ * Effect's\ Restoration\ %) * ({\color{Emerald}Potency\ %\ on\ Caster}\ * {\color{MidnightBlue}Potency\ Buffs\ %\ on\ Caster})</math>
 +
</tabber>
 +
 
 +
* Healing Cap:
 +
 
 +
<tabber>
 +
|-|Regular View=
 +
<math>(Receiver's\ Max\ HP) * (Effect's\ Restoration\ %\ Cap)</math>
 +
|-|Highlighted View=
 +
<math>({\color{PineGreen}Receiver's\ Max\ HP}) * (Effect's\ Restoration\ %\ Cap)</math>
 +
</tabber>
 +
 
 +
* Actual Healing (finds the lower of the above two values, essentially enforcing the Healing Cap):
 +
 
 +
<tabber>
 +
|-|Regular View=
 +
<math>MIN[(Potential\ Healing), (Healing\ Cap)]</math>
 +
</tabber>
 +
 
 +
* "Receiver" refers to the unit receiving the healing. If Life Drain is granted by a buff, they are the unit that received the buff.
 +
* "Caster" refers to the unit that granted the initial Life Drain buff. If Life Drain is instead baked into a skill's effect (such as in {{Icon|Skill|Sol|size=32px|text=1}}), the "Caster" is the unit that uses the skill.
 +
* "Damage Inflicted" is the amount of damage dealt by a single attack from the Receiver, with Life Drain active.
 +
* "Effect's Restoration %" is the amount of Damage that will be translated into Potential Healing. This varies depending on the skill.
 +
* "Effect's Restoration % Cap" is the maximum amount of HP that Life Drain can heal per activation. This varies depending on the skill.
 +
 
 +
Potency buffs are only factored in if they are on the caster - if the receiver has any potency buffs, those are ignored. Conversely, the Max HP of the caster is ignored, but the Max HP of the receiver is factored in to the formula. These heals ignore bonuses from Strength or Element matching on the Caster, but are affected by Strength or Element of the receiver since those are part of the [[Damage Formula]].These heals also do not suffer the 75% penalty in raids. The healing amount is subject to 5% variance higher or lower than the expected value, similar to damage calculation.
 +
-->
 +
===[[File:Max_HP_Up.png|32px]] Max HP buffs===
 +
Max HP buffs, such as {{Icon|Adventurer|Lowen|text=1|size=19 px}}'s skill {{Icon|Skill|Winds, Protect Us!|text=1|size=19 px}} do NOT use the healing formula and instead are purely dependent on your Maximum HP. They heal the amount of HP that would be gained from their Max HP buff - for example, a buff that grants +10% Max HP will heal 10% of Max HP at the same time. When the max of +30% Max HP buffs is reached, Max HP will not increase further, but (continuing the example) the 10% Max HP heal will still apply.
 +
 
 +
Due to this sole reliance on Max HP, these buffs do not receive any bonuses from Recovery Potency, Strength, or Element matching bonuses.  These heals also do not suffer from the 75% reduction in raid content. Specifically, heals from Max HP buffs do not have any RNG elements, and will heal you for the same amount every time.
  
 
===Variable Descriptions===
 
===Variable Descriptions===
{| class="wikitable"
+
{{Notable
! Variable
+
|header=HP
! Description
+
|content=The healer's Max HP. Normally the HP of the Adventurer
|-
+
* This value is different in dragonform, and does not use the Adventurer's HP. Instead it uses the Dragon Transformation HP, which is calculated according to the following formula, where CEILING[ ] indicates you round the final value within the [ ] up before using it in calculations outside the [ ].
! HP
+
<math style="width:100%">CEILING\{\ (CEILING[\ 9999 * (1 + Altar Boost + Dojo Boost + Event Facility Boost)\ ] + CEILING[\ Dragon Base HP * 1.5\ ] + CEILING[\ Dragon Base HP * 1.5 * Fafnir Facility Boost) * (1 + Dragon HP Aura)\ \}</math>
| The healer's Max HP.
+
* Remove the factor of 1.5x from the 2nd and 3rd terms if Dragon and Adventurer do not match elements
*For recovery moves from dragons, this uses a special hidden calculation to generate the dragon's pseudo Max HP through the below formula.
+
* Dragon Base HP is the HP shown on the Dragon's details screen (not including the fafnir bonus)
*Healer Dragon's Max HP = ([9999*(1+(SUM Facility Boosts that apply to the Adventurer))]+[Dragon's Base HP*(1+(SUM Fafnir Boosts that apply to the Dragon))*(1.5 if Adventurer & Dragon matching element, 1 if not)])*(1+Dragon's HP Ability)
+
* Dragon HP Aura is the same element HP boost present on some dragons such as [[Phoenix]] or [[High Mercury]], if no HP aura then this is equal to 1
*Note: if doing precise calculations, Dragon's Base HP with Multipliers and Dragon's Base HP Fafnir Boosts must be calculated separately as the ceiling function is applied to them separately, and then adding the final result together, rather than the above.
+
* The Altar, Dojo and Event Facility boosts used are based on the element of the '''ADVENTURER''' and NOT the Dragon, whereas the Fafnir bonus used is based on the element of the Dragon
|-
+
}}
! STR
+
{{NotableWrap
| The healer's total Strength.  
+
|notables=
*For recovery moves from dragons, this uses the adventurer who shapeshifted's total strength.
+
{{Notable
|-
+
|header=STR
! Potency %
+
|content=The healer's total Strength. This value is always the value of the adventurer, it does not change when you transform. However, it is still calculated in the same way as for the [[Damage Formula]] and therefore still receives boosts from buffs and co-abilities.
| The base recovery potency modifier on a skill. (e.g. {{Icon|Adventurer|Aurien|text=1|size=19 px}}'s {{Icon|Skill|Healer's Luck|text=1|size=19 px}} Lv. 1 has 72% Recovery Potency.)
+
}}
|-
+
{{Notable
! Potency Buffs %
+
|header=Potency
| Potency Buffs obtained from other sources such as abilities, wyrmprints, co-abilities, buffs, energized.
+
|content=The base recovery potency modifier on a skill. (e.g. {{Icon|Adventurer|Aurien|text=1|size=19 px}}'s {{Icon|Skill|Healer's Luck|text=1|size=19 px}} Lv. 1 has 72% Recovery Potency.)
|-
+
}}
! Element Heal Adjustment
+
{{Notable
| When healing adventurers that share element with the healer, the adventurer receives a bonus multiplier of x1.2, otherwise this is 1.
+
|header=Potency Buffs %
|-
+
|content=Any Boost to your healing potency, such as Co-Ability, Abilities, Active Buffs, or Energize
! Healing Spread %
+
}}
| This is the inherent RNG Variance of the healing formula. This ranges from 95% to 105%, but for simple calculations, assuming 100% is sufficient.
+
{{Notable
|-
+
|header=Element Heal Adjustment
! Raid Adjustment
+
|content=Increases heals to adventurers of the same element by 20% (to 120% total). Has no effect otherwise.
| Value that varies depending on the content. For normal content, this value is 1. For raids, this value is 1/4.  
+
}}
|}
+
{{Notable
 +
|header=Healing Spread %
 +
|content=This is the inherent RNG Variance of the healing formula. This ranges from 95% to 105%, but for simple calculations, assuming 100% is sufficient.
 +
}}
 +
{{Notable
 +
|header=Raid Adjustment
 +
|content=Value that varies depending on the content. For normal content, this value is 1. For raids, this value is 4.  
 +
}}
 +
 
 +
}}
  
 
==Healing Calculator==
 
==Healing Calculator==
{{#widget:User:Nukeking11/HealingCalculator}}
+
{{#widget:HealCalculator}}
  
 
[[Category:Formulas]]
 
[[Category:Formulas]]
 +
{{Mechanics navbox}}

Latest revision as of 19:08, 24 June 2020


Formula

The current estimated healing formula is:

Modifiers within the same variable are additive.

Icon Ability 1010011.png Passive Heal Buffs

Passive Heal Buffs that are based on Max HP, such as

Error: Table Abilities not found.

, instead use a simplified formula:

  • "Receiver" refers to the unit receiving a buff (whether directly a healing buff, or a defense buff that triggers healing doublebuff)
  • "Caster" refers to the unit that granted the initial buff.

Potency buffs are only factored in if they are on the caster - if the receiver has any potency buffs, those are ignored. Conversely, the Max HP of the caster is ignored, but the Max HP of the receiver is factored in to the formula. These heals also ignore bonuses from Strength or Element matching, and do not suffer the 75% penalty in raids. The healing amount is subject to 5% variance higher or lower than the expected value, similar to damage calculation.

32px Max HP buffs

Max HP buffs, such as

Error: Table Adventurers not found.

's skill

Error: Table Skills not found.

do NOT use the healing formula and instead are purely dependent on your Maximum HP. They heal the amount of HP that would be gained from their Max HP buff - for example, a buff that grants +10% Max HP will heal 10% of Max HP at the same time. When the max of +30% Max HP buffs is reached, Max HP will not increase further, but (continuing the example) the 10% Max HP heal will still apply.

Due to this sole reliance on Max HP, these buffs do not receive any bonuses from Recovery Potency, Strength, or Element matching bonuses. These heals also do not suffer from the 75% reduction in raid content. Specifically, heals from Max HP buffs do not have any RNG elements, and will heal you for the same amount every time.

Variable Descriptions

HP

The healer's Max HP. Normally the HP of the Adventurer

  • This value is different in dragonform, and does not use the Adventurer's HP. Instead it uses the Dragon Transformation HP, which is calculated according to the following formula, where CEILING[ ] indicates you round the final value within the [ ] up before using it in calculations outside the [ ].

  • Remove the factor of 1.5x from the 2nd and 3rd terms if Dragon and Adventurer do not match elements
  • Dragon Base HP is the HP shown on the Dragon's details screen (not including the fafnir bonus)
  • Dragon HP Aura is the same element HP boost present on some dragons such as Phoenix or High Mercury, if no HP aura then this is equal to 1
  • The Altar, Dojo and Event Facility boosts used are based on the element of the ADVENTURER and NOT the Dragon, whereas the Fafnir bonus used is based on the element of the Dragon

STR

The healer's total Strength. This value is always the value of the adventurer, it does not change when you transform. However, it is still calculated in the same way as for the Damage Formula and therefore still receives boosts from buffs and co-abilities.

Potency

The base recovery potency modifier on a skill. (e.g.
Error: Table Adventurers not found.
's
Error: Table Skills not found.
Lv. 1 has 72% Recovery Potency.)

Potency Buffs %

Any Boost to your healing potency, such as Co-Ability, Abilities, Active Buffs, or Energize

Element Heal Adjustment

Increases heals to adventurers of the same element by 20% (to 120% total). Has no effect otherwise.

Healing Spread %

This is the inherent RNG Variance of the healing formula. This ranges from 95% to 105%, but for simple calculations, assuming 100% is sufficient.

Raid Adjustment

Value that varies depending on the content. For normal content, this value is 1. For raids, this value is 4.

Healing Calculator

HP
STR
Potency %
Potency Buff %
Active Strength Buff %
Healing CoAbility %
Strength CoAbility %
Same Element?
Check for yes.
Raid?
Check for yes.
Include Healing Over Time?
Check for yes.
Total Heal