Damage calculation hotfix
fix bug with weapon "has element" table being mutated fix damage of uppercut
This commit is contained in:
parent
eec6544a33
commit
eb6dd97d2a
3 changed files with 3 additions and 3 deletions
|
@ -2285,7 +2285,7 @@ const atrees = {
|
|||
"parts": [
|
||||
{
|
||||
"name": "Uppercut",
|
||||
"multipliers": [150, 50, 50, 0, 0, 0]
|
||||
"multipliers": [200, 40, 40, 0, 0, 0]
|
||||
},
|
||||
{
|
||||
"name": "Total Damage",
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -38,7 +38,7 @@ function calculateSpellDamage(stats, weapon, conversions, use_spell_damage, igno
|
|||
else {
|
||||
weapon_damages = damage_keys.map(x => weapon.get(x));
|
||||
}
|
||||
let present = weapon.get(damage_present_key);
|
||||
let present = deepcopy(weapon.get(damage_present_key));
|
||||
|
||||
// 2. Conversions.
|
||||
// 2.1. First, apply neutral conversion (scale weapon damage). Keep track of total weapon damage here.
|
||||
|
|
Loading…
Add table
Reference in a new issue