Merge pull request #81 from hppeng-wynn/atree-damage-debug

Atree damage hotfix
This commit is contained in:
hppeng-wynn 2022-07-07 14:27:40 -07:00 committed by GitHub
commit 5323ed2286
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 7 deletions

View file

@ -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",
@ -2970,6 +2970,7 @@ const atrees = {
"desc": "While Corriupted, every 1% of Health you lose will increase your damage by +3% (Max 300%)",
"archetype": "Fallen",
"archetype_req": 0,
"base_abil": "Bak'al's Grasp",
"parents": ["Spear Proficiency 2"],
"dependencies": ["Bak'al's Grasp"],
"blockers": [],
@ -3040,6 +3041,7 @@ const atrees = {
"desc": "Add +2 additional charges to Mantle of the Bovemists",
"archetype": "Paladin",
"archetype_req": 0,
"base_abil": "Mantle of the Bovemists",
"parents": ["Manachism", "Flying Kick"],
"dependencies": ["Mantle of the Bovemists"],
"blockers": [],
@ -3088,8 +3090,7 @@ const atrees = {
{
"display_name": "Boiling Blood",
"desc": "Bash leaves a trail of boiling blood behind its first explosion, slowing down and damaging enemies above it every 0.4 seconds",
"archetype": "",
"archetype_req": 0,
"base_abil": "Bash",
"parents": ["Enraged Blow", "Ragnarokkr"],
"dependencies": [],
"blockers": [],
@ -3826,7 +3827,7 @@ const atrees = {
"parents": ["Spirit of the Rabbit"],
"dependencies": [],
"blockers": [],
"cost": 1,
"cost": 2,
"display": {
"row": 31,
"col": 4,
@ -3876,7 +3877,7 @@ const atrees = {
{
"display_name": "Blood Pact",
"desc": "If you do not have enough mana to cast a spell, spend health instead (0.6% health per mana)",
"archetype": "",
"archetype": "Fallen",
"archetype_req": 10,
"parents": ["Cheaper War Scream"],
"dependencies": [],

File diff suppressed because one or more lines are too long

View file

@ -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.