Fix enraged blow slider and remove prints from damage_calc
This commit is contained in:
parent
c05eb82e60
commit
644213e5aa
3 changed files with 4 additions and 5 deletions
|
@ -2782,7 +2782,7 @@ const atrees = {
|
|||
|
||||
{
|
||||
"display_name": "Bak'al's Grasp",
|
||||
"desc": "After casting War Scream, become Corrupted (15s Cooldown). You cannot heal while in that state\n\nWhile Corrupted, every 2% of Health you lose will add +4 Raw Damage to your attacks (Max 120)",
|
||||
"desc": "After casting War Scream, become Corrupted (15s Cooldown). You cannot heal while in that state. While Corrupted, every 2% of Health you lose will add +4 Raw Damage to your attacks (Max 120)",
|
||||
"archetype": "Fallen",
|
||||
"archetype_req": 2,
|
||||
"parents": ["Quadruple Bash", "Fireworks"],
|
||||
|
@ -2808,6 +2808,7 @@ const atrees = {
|
|||
"type": "stat",
|
||||
"name": "damRaw"
|
||||
},
|
||||
"max": 120,
|
||||
"scaling": [2]
|
||||
}
|
||||
]
|
||||
|
@ -2982,6 +2983,7 @@ const atrees = {
|
|||
{
|
||||
"type": "stat_scaling",
|
||||
"slider_name": "Corrupted",
|
||||
"slider": true,
|
||||
"output": {
|
||||
"type": "stat",
|
||||
"name": "damMult.Enraged"
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -155,13 +155,10 @@ function calculateSpellDamage(stats, weapon, conversions, use_spell_damage, igno
|
|||
let total_dam_crit = [0, 0];
|
||||
let damages_results = [];
|
||||
const mult_map = stats.get("damMult");
|
||||
console.log(mult_map);
|
||||
let damage_mult = 1;
|
||||
for (const [k, v] of mult_map.entries()) {
|
||||
damage_mult *= (1 + v/100);
|
||||
}
|
||||
console.log(damage_mult);
|
||||
|
||||
|
||||
for (const damage of damages) {
|
||||
const res = [
|
||||
|
|
Loading…
Reference in a new issue