Update warrior atree json...

This commit is contained in:
hppeng 2022-06-30 08:58:26 -07:00
parent 0976fff43a
commit a9fc53e044
3 changed files with 162 additions and 182 deletions

View file

@ -51,11 +51,12 @@ convert_spell_conv: {
base_spell: int // spell identifier base_spell: int // spell identifier
target_part: "all" | str // Part of the spell to modify. Can be not present/empty for ex. cost modifier. target_part: "all" | str // Part of the spell to modify. Can be not present/empty for ex. cost modifier.
// "all" means modify all parts. // "all" means modify all parts.
"conversion": element_str conversion: element_str
} }
raw_stat: { raw_stat: {
"type": "raw_stat", type: "raw_stat"
"bonuses": list[stat_bonus] toggle: Optional[bool] // default: false
bonuses: List[stat_bonus]
} }
stat_bonus: { stat_bonus: {
"type": "stat" | "prop", "type": "stat" | "prop",
@ -441,7 +442,15 @@ const atree_collect_spells = new (class extends ComputeNode {
let ret_spells = new Map(); let ret_spells = new Map();
for (const [abil_id, abil] of atree_merged.entries()) { for (const [abil_id, abil] of atree_merged.entries()) {
// TODO: Possibly, make a better way for detecting "spell abilities"? // TODO: Possibly, make a better way for detecting "spell abilities"?
if (abil.effects.length == 0 || abil.effects[0].type !== 'replace_spell') { continue; } if (abil.effects.length == 0) { continue; }
let has_spell_def = false;
for (const effect of abil.effects) {
if (effect.type === 'replace_spell') {
has_spell_def = true;
break;
}
}
if (!has_spell_def) { continue; }
let ret_spell = deepcopy(abil.effects[0]); // NOTE: do not mutate results of previous steps! let ret_spell = deepcopy(abil.effects[0]); // NOTE: do not mutate results of previous steps!
const base_spell_id = ret_spell.base_spell; const base_spell_id = ret_spell.base_spell;

View file

@ -2171,8 +2171,6 @@ const atrees = {
{ {
"display_name": "Heavy Impact", "display_name": "Heavy Impact",
"desc": "After using Charge, violently crash down into the ground and deal damage", "desc": "After using Charge, violently crash down into the ground and deal damage",
"archetype": "",
"archetype_req": 0,
"parents": ["Uppercut"], "parents": ["Uppercut"],
"dependencies": [], "dependencies": [],
"blockers": [], "blockers": [],
@ -2259,7 +2257,7 @@ const atrees = {
{ {
"type": "stat", "type": "stat",
"name": "baseResist", "name": "baseResist",
"value": "5" "value": 5
} }
] ]
}, },
@ -2411,16 +2409,9 @@ const atrees = {
{ {
"type": "raw_stat", "type": "raw_stat",
"bonuses": [ "bonuses": [
{ { "type": "stat", "name": "eDamPct", "value": 20 },
"type": "stat", { "type": "stat", "name": "eDamAddMin", "value": 2 },
"name": "eDamPct", { "type": "stat", "name": "eDamAddMax", "value": 4 }
"value": 20
},
{
"type": "stat",
"name": "eDam",
"value": [2, 4]
}
] ]
} }
] ]
@ -2446,16 +2437,9 @@ const atrees = {
{ {
"type": "raw_stat", "type": "raw_stat",
"bonuses": [ "bonuses": [
{ { "type": "stat", "name": "tDamPct", "value": 10 },
"type": "stat", { "type": "stat", "name": "tDamAddMin", "value": 1 },
"name": "tDamPct", { "type": "stat", "name": "tDamAddMax", "value": 8 }
"value": 10
},
{
"type": "stat",
"name": "tDam",
"value": [1, 8]
}
] ]
} }
] ]
@ -2481,16 +2465,9 @@ const atrees = {
{ {
"type": "raw_stat", "type": "raw_stat",
"bonuses": [ "bonuses": [
{ { "type": "stat", "name": "wDamPct", "value": 15 },
"type": "stat", { "type": "stat", "name": "wDamAddMin", "value": 2 },
"name": "wDamPct", { "type": "stat", "name": "wDamAddMax", "value": 4 }
"value": 15
},
{
"type": "stat",
"name": "wDam",
"value": [2, 4]
}
] ]
} }
] ]
@ -2516,16 +2493,9 @@ const atrees = {
{ {
"type": "raw_stat", "type": "raw_stat",
"bonuses": [ "bonuses": [
{ { "type": "stat", "name": "aDamPct", "value": 15 },
"type": "stat", { "type": "stat", "name": "aDamAddMin", "value": 3 },
"name": "aDamPct", { "type": "stat", "name": "aDamAddMax", "value": 4 }
"value": 15
},
{
"type": "stat",
"name": "aDam",
"value": [3, 4]
}
] ]
} }
] ]
@ -2551,16 +2521,9 @@ const atrees = {
{ {
"type": "raw_stat", "type": "raw_stat",
"bonuses": [ "bonuses": [
{ { "type": "stat", "name": "fDamPct", "value": 15 },
"type": "stat", { "type": "stat", "name": "fDamAddMin", "value": 3 },
"name": "fDamPct", { "type": "stat", "name": "fDamAddMax", "value": 5 }
"value": 15
},
{
"type": "stat",
"name": "fDam",
"value": [3, 5]
}
] ]
} }
] ]
@ -2571,6 +2534,7 @@ const atrees = {
"desc": "Bash will hit 4 times at an even larger range", "desc": "Bash will hit 4 times at an even larger range",
"archetype": "Fallen", "archetype": "Fallen",
"archetype_req": 0, "archetype_req": 0,
"base_abil": "Bash",
"parents": ["Earth Mastery", "Fireworks"], "parents": ["Earth Mastery", "Fireworks"],
"dependencies": [], "dependencies": [],
"blockers": [], "blockers": [],
@ -2606,6 +2570,7 @@ const atrees = {
"desc": "Mobs hit by Uppercut will explode mid-air and receive additional damage", "desc": "Mobs hit by Uppercut will explode mid-air and receive additional damage",
"archetype": "Fallen", "archetype": "Fallen",
"archetype_req": 0, "archetype_req": 0,
"base_abil": "Uppercut",
"parents": ["Thunder Mastery", "Quadruple Bash"], "parents": ["Thunder Mastery", "Quadruple Bash"],
"dependencies": [], "dependencies": [],
"blockers": [], "blockers": [],
@ -2640,6 +2605,7 @@ const atrees = {
"desc": "Uppercut will deal a footsweep attack at a longer and wider angle. All elemental conversions become Water", "desc": "Uppercut will deal a footsweep attack at a longer and wider angle. All elemental conversions become Water",
"archetype": "Battle Monk", "archetype": "Battle Monk",
"archetype_req": 1, "archetype_req": 1,
"base_abil": "Uppercut",
"parents": ["Water Mastery"], "parents": ["Water Mastery"],
"dependencies": ["Uppercut"], "dependencies": ["Uppercut"],
"blockers": [], "blockers": [],
@ -2671,8 +2637,7 @@ const atrees = {
{ {
"display_name": "Flyby Jab", "display_name": "Flyby Jab",
"desc": "Damage enemies in your way when using Charge", "desc": "Damage enemies in your way when using Charge",
"archetype": "", "base_abil": "Charge",
"archetype_req": 0,
"parents": ["Air Mastery", "Flaming Uppercut"], "parents": ["Air Mastery", "Flaming Uppercut"],
"dependencies": [], "dependencies": [],
"blockers": [], "blockers": [],
@ -2700,6 +2665,7 @@ const atrees = {
"desc": "Uppercut will light mobs on fire, dealing damage every 0.6 seconds", "desc": "Uppercut will light mobs on fire, dealing damage every 0.6 seconds",
"archetype": "Paladin", "archetype": "Paladin",
"archetype_req": 0, "archetype_req": 0,
"base_abil": "Uppercut",
"parents": ["Fire Mastery", "Flyby Jab"], "parents": ["Fire Mastery", "Flyby Jab"],
"dependencies": ["Uppercut"], "dependencies": ["Uppercut"],
"blockers": [], "blockers": [],
@ -2742,8 +2708,7 @@ const atrees = {
{ {
"display_name": "Iron Lungs", "display_name": "Iron Lungs",
"desc": "War Scream deals more damage", "desc": "War Scream deals more damage",
"archetype": "", "base_abil": "War Scream",
"archetype_req": 0,
"parents": ["Flyby Jab", "Flaming Uppercut"], "parents": ["Flyby Jab", "Flaming Uppercut"],
"dependencies": [], "dependencies": [],
"blockers": [], "blockers": [],
@ -2835,7 +2800,11 @@ const atrees = {
"mantle_charge": 3 "mantle_charge": 3
}, },
"effects": [ "effects": [
{
"type": "raw_stat",
"toggle": true,
"bonuses": [{ "type": "stat", "name": "defPct", "value": 70}]
}
] ]
}, },
@ -2866,7 +2835,7 @@ const atrees = {
"name": "raw" "name": "raw"
}, },
"scaling": [4], "scaling": [4],
"slider_step": 2, "slider_step": 1,
"max": 120 "max": 120
} }
] ]
@ -2875,8 +2844,7 @@ const atrees = {
{ {
"display_name": "Spear Proficiency 2", "display_name": "Spear Proficiency 2",
"desc": "Improve your Main Attack's damage and range w/ spear", "desc": "Improve your Main Attack's damage and range w/ spear",
"archetype": "", "base_abil": 999,
"archetype_req": 0,
"parents": ["Bak'al's Grasp", "Cheaper Uppercut"], "parents": ["Bak'al's Grasp", "Cheaper Uppercut"],
"dependencies": [], "dependencies": [],
"blockers": [], "blockers": [],
@ -2906,8 +2874,7 @@ const atrees = {
{ {
"display_name": "Cheaper Uppercut", "display_name": "Cheaper Uppercut",
"desc": "Reduce the Mana Cost of Uppercut", "desc": "Reduce the Mana Cost of Uppercut",
"archetype": "", "base_abil": "Uppercut",
"archetype_req": 0,
"parents": ["Spear Proficiency 2", "Aerodynamics", "Counter"], "parents": ["Spear Proficiency 2", "Aerodynamics", "Counter"],
"dependencies": [], "dependencies": [],
"blockers": [], "blockers": [],
@ -2933,6 +2900,7 @@ const atrees = {
"desc": "During Charge, you can steer and change direction", "desc": "During Charge, you can steer and change direction",
"archetype": "Battle Monk", "archetype": "Battle Monk",
"archetype_req": 0, "archetype_req": 0,
"base_abil": "Charge",
"parents": ["Cheaper Uppercut", "Provoke"], "parents": ["Cheaper Uppercut", "Provoke"],
"dependencies": [], "dependencies": [],
"blockers": [], "blockers": [],
@ -2942,11 +2910,8 @@ const atrees = {
"col": 5, "col": 5,
"icon": "node_1" "icon": "node_1"
}, },
"properties": { "properties": {},
}, "effects": []
"effects": [
]
}, },
{ {
@ -2954,6 +2919,7 @@ const atrees = {
"desc": "Mobs damaged by War Scream will target only you for at least 5s \n\nReduce the Mana cost of War Scream", "desc": "Mobs damaged by War Scream will target only you for at least 5s \n\nReduce the Mana cost of War Scream",
"archetype": "Paladin", "archetype": "Paladin",
"archetype_req": 0, "archetype_req": 0,
"base_abil": "War Scream",
"parents": ["Aerodynamics", "Mantle of the Bovemists"], "parents": ["Aerodynamics", "Mantle of the Bovemists"],
"dependencies": [], "dependencies": [],
"blockers": [], "blockers": [],
@ -2963,8 +2929,7 @@ const atrees = {
"col": 7, "col": 7,
"icon": "node_1" "icon": "node_1"
}, },
"properties": { "properties": {},
},
"effects": [ "effects": [
{ {
"type": "add_spell_prop", "type": "add_spell_prop",
@ -2977,8 +2942,6 @@ const atrees = {
{ {
"display_name": "Precise Strikes", "display_name": "Precise Strikes",
"desc": "+30% Critical Hit Damage", "desc": "+30% Critical Hit Damage",
"archetype": "",
"archetype_req": 0,
"parents": ["Cheaper Uppercut", "Spear Proficiency 2"], "parents": ["Cheaper Uppercut", "Spear Proficiency 2"],
"dependencies": [], "dependencies": [],
"blockers": [], "blockers": [],
@ -2996,7 +2959,7 @@ const atrees = {
"bonuses": [ "bonuses": [
{ {
"type": "stat", "type": "stat",
"name": "critDmg", "name": "critDamPct",
"value": 30 "value": 30
} }
] ]
@ -3007,8 +2970,7 @@ const atrees = {
{ {
"display_name": "Air Shout", "display_name": "Air Shout",
"desc": "War Scream will fire a projectile that can go through walls and deal damage multiple times", "desc": "War Scream will fire a projectile that can go through walls and deal damage multiple times",
"archetype": "", "base_abil": "War Scream",
"archetype_req": 0,
"parents": ["Aerodynamics", "Provoke"], "parents": ["Aerodynamics", "Provoke"],
"dependencies": ["War Scream"], "dependencies": ["War Scream"],
"blockers": [], "blockers": [],
@ -3018,15 +2980,12 @@ const atrees = {
"col": 6, "col": 6,
"icon": "node_1" "icon": "node_1"
}, },
"properties": { "properties": {},
},
"effects": [ "effects": [
{ {
"type": "add_spell_prop", "type": "add_spell_prop",
"base_spell": 4, "base_spell": 4,
"target_part": "Air Shout", "target_part": "Air Shout",
"cost": 0,
"multipliers": [20, 0, 0, 0, 0, 5] "multipliers": [20, 0, 0, 0, 0, 5]
} }
] ]
@ -3034,7 +2993,7 @@ const atrees = {
{ {
"display_name": "Enraged Blow", "display_name": "Enraged Blow",
"desc": "While Corriupted, every 1% of Health you lose will increase your damage by +2% (Max 200%)", "desc": "While Corriupted, every 1% of Health you lose will increase your damage by +3% (Max 300%)",
"archetype": "Fallen", "archetype": "Fallen",
"archetype_req": 0, "archetype_req": 0,
"parents": ["Spear Proficiency 2"], "parents": ["Spear Proficiency 2"],
@ -3073,6 +3032,7 @@ const atrees = {
"desc": "When using Charge, mobs hit will halt your momentum and get knocked back", "desc": "When using Charge, mobs hit will halt your momentum and get knocked back",
"archetype": "Battle Monk", "archetype": "Battle Monk",
"archetype_req": 1, "archetype_req": 1,
"base_abil": "Charge",
"parents": ["Cheaper Uppercut", "Stronger Mantle"], "parents": ["Cheaper Uppercut", "Stronger Mantle"],
"dependencies": [], "dependencies": [],
"blockers": [], "blockers": [],
@ -3089,8 +3049,14 @@ const atrees = {
"type": "add_spell_prop", "type": "add_spell_prop",
"base_spell": 2, "base_spell": 2,
"target_part": "Flying Kick", "target_part": "Flying Kick",
"cost": 0, "multipliers": [120, 0, 0, 10, 0, 20],
"multipliers": [120, 0, 0, 10, 0, 20] },
{
"type": "add_spell_prop",
"base_spell": 2,
"target_part": "Flying Kick Max Damage",
"hits": { "Flying Kick": 1 },
"display": "Flying Kick Max Damage"
} }
] ]
}, },
@ -3109,11 +3075,19 @@ const atrees = {
"col": 6, "col": 6,
"icon": "node_0" "icon": "node_0"
}, },
"properties": { "properties": {},
"mantle_charge": 2
},
"effects": [ "effects": [
{
"type": "raw_stat",
"bonuses": [
{
"type": "prop",
"abil": "Mantle of the Bovemists",
"name": "mantle_charge",
"value": 2
}
]
}
] ]
}, },
@ -3134,9 +3108,7 @@ const atrees = {
"properties": { "properties": {
"cooldown": 1 "cooldown": 1
}, },
"effects": [ "effects": []
]
}, },
{ {
@ -3153,8 +3125,7 @@ const atrees = {
"col": 0, "col": 0,
"icon": "node_1" "icon": "node_1"
}, },
"properties": { "properties": {},
},
"effects": [ "effects": [
{ {
"type": "add_spell_prop", "type": "add_spell_prop",
@ -3171,6 +3142,7 @@ const atrees = {
"desc": "War Scream become deafening, increasing its range and giving damage bonus to players", "desc": "War Scream become deafening, increasing its range and giving damage bonus to players",
"archetype": "Fallen", "archetype": "Fallen",
"archetype_req": 0, "archetype_req": 0,
"base_abil": "War Scream",
"parents": ["Boiling Blood", "Flying Kick"], "parents": ["Boiling Blood", "Flying Kick"],
"dependencies": ["War Scream"], "dependencies": ["War Scream"],
"blockers": [], "blockers": [],
@ -3181,7 +3153,6 @@ const atrees = {
"icon": "node_2" "icon": "node_2"
}, },
"properties": { "properties": {
"damage_bonus": 30,
"aoe": 2 "aoe": 2
}, },
"effects": [ "effects": [
@ -3189,15 +3160,18 @@ const atrees = {
"type": "add_spell_prop", "type": "add_spell_prop",
"base_spell": 4, "base_spell": 4,
"cost": 10 "cost": 10
},
{
"type": "raw_stat",
"toggle": true,
"bonuses": [ {"type": "stat", "name": "damMult", "value": 30} ]
} }
] ]
}, },
{ {
"display_name": "Ambidextrous", "display_name": "Ambidextrous",
"desc": "Increase your chance to attack with Counter by +30%", "desc": "Increase your chance to attack with Counter by +30%",
"archetype": "", "base_abil": "Counter",
"archetype_req": 0,
"parents": ["Flying Kick", "Stronger Mantle", "Burning Heart"], "parents": ["Flying Kick", "Stronger Mantle", "Burning Heart"],
"dependencies": ["Counter"], "dependencies": ["Counter"],
"blockers": [], "blockers": [],
@ -3207,11 +3181,12 @@ const atrees = {
"col": 4, "col": 4,
"icon": "node_0" "icon": "node_0"
}, },
"properties": { "properties": {},
"chance": 30
},
"effects": [ "effects": [
{
"type": "raw_stat",
"bonuses": [ {"type": "prop", "abil": "Counter", "name": "chance", "value": 30} ]
}
] ]
}, },
@ -3247,7 +3222,6 @@ const atrees = {
}, },
"scaling": [2], "scaling": [2],
"max": 100, "max": 100,
"slider_step": 100
} }
] ]
}, },
@ -3255,8 +3229,7 @@ const atrees = {
{ {
"display_name": "Stronger Bash", "display_name": "Stronger Bash",
"desc": "Increase the damage of Bash", "desc": "Increase the damage of Bash",
"archetype": "", "base_abil": "Bash",
"archetype_req": 0,
"parents": ["Burning Heart", "Manachism"], "parents": ["Burning Heart", "Manachism"],
"dependencies": [], "dependencies": [],
"blockers": [], "blockers": [],
@ -3266,14 +3239,12 @@ const atrees = {
"col": 8, "col": 8,
"icon": "node_0" "icon": "node_0"
}, },
"properties": { "properties": {},
},
"effects": [ "effects": [
{ {
"type": "add_spell_prop", "type": "add_spell_prop",
"base_spell": 1, "base_spell": 1,
"target_part": "Single Hit", "target_part": "Single Hit",
"cost": 0,
"multipliers": [30, 0, 0, 0, 0, 0] "multipliers": [30, 0, 0, 0, 0, 0]
} }
] ]
@ -3284,6 +3255,7 @@ const atrees = {
"desc": "After leaving Corrupted, gain 2% of the health lost back for each enemy killed while Corrupted", "desc": "After leaving Corrupted, gain 2% of the health lost back for each enemy killed while Corrupted",
"archetype": "Fallen", "archetype": "Fallen",
"archetype_req": 5, "archetype_req": 5,
"base_abil": "Bak'al's Grasp",
"parents": ["Ragnarokkr", "Boiling Blood"], "parents": ["Ragnarokkr", "Boiling Blood"],
"dependencies": ["Bak'al's Grasp"], "dependencies": ["Bak'al's Grasp"],
"blockers": [], "blockers": [],
@ -3293,11 +3265,8 @@ const atrees = {
"col": 1, "col": 1,
"icon": "node_1" "icon": "node_1"
}, },
"properties": { "properties": {},
}, "effects": []
"effects": [
]
}, },
{ {
@ -3305,6 +3274,7 @@ const atrees = {
"desc": "After being hit by Fireworks, enemies will crash into the ground and receive more damage", "desc": "After being hit by Fireworks, enemies will crash into the ground and receive more damage",
"archetype": "Fallen", "archetype": "Fallen",
"archetype_req": 0, "archetype_req": 0,
"base_abil": "Uppercut",
"parents": ["Ragnarokkr"], "parents": ["Ragnarokkr"],
"dependencies": ["Fireworks"], "dependencies": ["Fireworks"],
"blockers": [], "blockers": [],
@ -3314,8 +3284,7 @@ const atrees = {
"col": 2, "col": 2,
"icon": "node_1" "icon": "node_1"
}, },
"properties": { "properties": {},
},
"effects": [ "effects": [
{ {
"type": "add_spell_prop", "type": "add_spell_prop",
@ -3341,6 +3310,7 @@ const atrees = {
"desc": "Mobs thrown into walls from Flying Kick will explode and receive additonal damage", "desc": "Mobs thrown into walls from Flying Kick will explode and receive additonal damage",
"archetype": "Battle Monk", "archetype": "Battle Monk",
"archetype_req": 4, "archetype_req": 4,
"base_abil": "Charge",
"parents": ["Ambidextrous", "Burning Heart"], "parents": ["Ambidextrous", "Burning Heart"],
"dependencies": ["Flying Kick"], "dependencies": ["Flying Kick"],
"blockers": [], "blockers": [],
@ -3360,6 +3330,12 @@ const atrees = {
"target_part": "Collide", "target_part": "Collide",
"cost": 0, "cost": 0,
"multipliers": [100, 0, 0, 0, 50, 0] "multipliers": [100, 0, 0, 0, 50, 0]
},
{
"type": "add_spell_prop",
"base_spell": 2,
"target_part": "Flying Kick Max Damage",
"hits": { "Collide": 1 },
} }
] ]
}, },
@ -3378,18 +3354,13 @@ const atrees = {
"col": 7, "col": 7,
"icon": "node_3" "icon": "node_3"
}, },
"properties": { "properties": {},
"effects": []
}, },
"effects": [
]
},
{ {
"display_name": "Uncontainable Corruption", "display_name": "Uncontainable Corruption",
"desc": "Reduce the cooldown of Bak'al's Grasp by -5s, and increase the raw damage gained for every 2% of health lost by +1", "desc": "Reduce the cooldown of Bak'al's Grasp by -5s, and increase the raw damage gained for every 2% of health lost by +1",
"archetype": "", "base_abil": "Bak'al's Grasp",
"archetype_req": 0,
"parents": ["Boiling Blood", "Radiant Devotee"], "parents": ["Boiling Blood", "Radiant Devotee"],
"dependencies": ["Bak'al's Grasp"], "dependencies": ["Bak'al's Grasp"],
"blockers": [], "blockers": [],
@ -3399,9 +3370,7 @@ const atrees = {
"col": 0, "col": 0,
"icon": "node_0" "icon": "node_0"
}, },
"properties": { "properties": {},
"cooldown": -5
},
"effects": [ "effects": [
{ {
"type": "stat_scaling", "type": "stat_scaling",
@ -3411,9 +3380,12 @@ const atrees = {
"type": "stat", "type": "stat",
"name": "raw" "name": "raw"
}, },
"scaling": [1], "scaling": [0.5],
"slider_step": 2,
"max": 50 "max": 50
},
{
"type": "raw_stat",
"bonuses": [ {"type": "prop", "abil": "Bak'al's Grasp", "name": "cooldown", "value": -5} ]
} }
] ]
}, },
@ -3432,8 +3404,7 @@ const atrees = {
"col": 2, "col": 2,
"icon": "node_0" "icon": "node_0"
}, },
"properties": { "properties": {},
},
"effects": [ "effects": [
{ {
"type": "stat_scaling", "type": "stat_scaling",
@ -3447,9 +3418,8 @@ const atrees = {
"type": "stat", "type": "stat",
"name": "mr" "name": "mr"
}, },
"scaling": [1], "scaling": [0.25],
"max": 10, "max": 10,
"slider_step": 4
} }
] ]
}, },
@ -3459,6 +3429,7 @@ const atrees = {
"desc": "Uppercut will create a strong gust of air, launching you upward with enemies (Hold shift to stay grounded)", "desc": "Uppercut will create a strong gust of air, launching you upward with enemies (Hold shift to stay grounded)",
"archetype": "Battle Monk", "archetype": "Battle Monk",
"archetype_req": 5, "archetype_req": 5,
"base_abil": "Uppercut",
"parents": ["Ambidextrous", "Radiant Devotee"], "parents": ["Ambidextrous", "Radiant Devotee"],
"dependencies": ["Uppercut"], "dependencies": ["Uppercut"],
"blockers": [], "blockers": [],
@ -3476,7 +3447,6 @@ const atrees = {
"type": "add_spell_prop", "type": "add_spell_prop",
"base_spell": 3, "base_spell": 3,
"target_part": "Uppercut", "target_part": "Uppercut",
"cost": 0,
"multipliers": [0, 0, 0, 0, 0, 50] "multipliers": [0, 0, 0, 0, 0, 50]
} }
] ]
@ -3496,8 +3466,7 @@ const atrees = {
"col": 7, "col": 7,
"icon": "node_1" "icon": "node_1"
}, },
"properties": { "properties": {},
},
"effects": [ "effects": [
{ {
"type": "raw_stat", "type": "raw_stat",
@ -3517,6 +3486,7 @@ const atrees = {
"desc": "While Corrupted, losing 30% Health will make your next Uppercut destroy enemies' defense, rendering them weaker to damage", "desc": "While Corrupted, losing 30% Health will make your next Uppercut destroy enemies' defense, rendering them weaker to damage",
"archetype": "Fallen", "archetype": "Fallen",
"archetype_req": 0, "archetype_req": 0,
"base_abil": "Uppercut",
"parents": ["Uncontainable Corruption", "Radiant Devotee"], "parents": ["Uncontainable Corruption", "Radiant Devotee"],
"dependencies": ["Bak'al's Grasp"], "dependencies": ["Bak'al's Grasp"],
"blockers": [], "blockers": [],
@ -3530,7 +3500,11 @@ const atrees = {
"duration": 5 "duration": 5
}, },
"effects": [ "effects": [
{
"type": "raw_stat",
"toggle": true,
"bonuses": [ {"type": "stat", "name": "damMult", "value": 30} ]
}
] ]
}, },
@ -3539,6 +3513,7 @@ const atrees = {
"desc": "When your Mantle of the Bovemist loses all charges, deal damage around you for each Mantle individually lost", "desc": "When your Mantle of the Bovemist loses all charges, deal damage around you for each Mantle individually lost",
"archetype": "Paladin", "archetype": "Paladin",
"archetype_req": 0, "archetype_req": 0,
"base_abil": "Mantle of the Bovemists",
"parents": ["Mythril Skin", "Sparkling Hope"], "parents": ["Mythril Skin", "Sparkling Hope"],
"dependencies": [], "dependencies": [],
"blockers": [], "blockers": [],
@ -3548,19 +3523,23 @@ const atrees = {
"col": 6, "col": 6,
"icon": "node_1" "icon": "node_1"
}, },
"properties": { "properties": {},
},
"effects": [ "effects": [
{ {
"type": "add_spell_prop", "type": "replace_spell",
"base_spell": 5, "name": "Shield Strike",
"target_part": "Shield Strike", "display_text": "Shield Strike",
"cost": 0, "base_spell": 6,
"display": "Damage per Shield",
"parts": [
{
"name": "Damage per Shield",
"multipliers": [60, 0, 20, 0, 0, 0] "multipliers": [60, 0, 20, 0, 0, 0]
} }
] ]
}
]
}, },
{ {
"display_name": "Sparkling Hope", "display_name": "Sparkling Hope",
"desc": "Everytime you heal 5% of your max health, deal damage to all nearby enemies", "desc": "Everytime you heal 5% of your max health, deal damage to all nearby enemies",
@ -3580,13 +3559,19 @@ const atrees = {
}, },
"effects": [ "effects": [
{ {
"type": "add_spell_prop", "type": "replace_spell",
"base_spell": 5, "name": "Sparkling Hope",
"target_part": "Sparkling Hope", "display_text": "Sparkling Hope",
"cost": 0, "base_spell": 6,
"display": "Damage Tick",
"parts": [
{
"name": "Damage Tick",
"multipliers": [10, 0, 5, 0, 0, 0] "multipliers": [10, 0, 5, 0, 0, 0]
} }
] ]
}
]
}, },
{ {
@ -3604,8 +3589,7 @@ const atrees = {
"col": 0, "col": 0,
"icon": "node_2" "icon": "node_2"
}, },
"properties": { "properties": {},
},
"effects": [ "effects": [
{ {
"type": "stat_scaling", "type": "stat_scaling",
@ -3616,9 +3600,8 @@ const atrees = {
"abil": "Bash", "abil": "Bash",
"name": "aoe" "name": "aoe"
}, },
"scaling": [1], "scaling": [0.333333333333333],
"max": 10, "max": 10,
"slider_step": 3
} }
] ]
}, },
@ -3628,6 +3611,7 @@ const atrees = {
"desc": "War Scream will ripple the ground and deal damage 3 times in a large area", "desc": "War Scream will ripple the ground and deal damage 3 times in a large area",
"archetype": "Battle Monk", "archetype": "Battle Monk",
"archetype_req": 0, "archetype_req": 0,
"base_abil": "War Scream",
"parents": ["Massive Bash", "Spirit of the Rabbit"], "parents": ["Massive Bash", "Spirit of the Rabbit"],
"dependencies": [], "dependencies": [],
"blockers": [], "blockers": [],
@ -3645,14 +3629,12 @@ const atrees = {
"type": "add_spell_prop", "type": "add_spell_prop",
"base_spell": 4, "base_spell": 4,
"target_part": "Tempest", "target_part": "Tempest",
"cost": "0",
"multipliers": [30, 10, 0, 0, 0, 10] "multipliers": [30, 10, 0, 0, 0, 10]
}, },
{ {
"type": "add_spell_prop", "type": "add_spell_prop",
"base_spell": 4, "base_spell": 4,
"target_part": "Tempest Total Damage", "target_part": "Tempest Total Damage",
"cost": "0",
"hits": { "hits": {
"Tempest": 3 "Tempest": 3
} }
@ -3668,12 +3650,12 @@ const atrees = {
} }
] ]
}, },
{ {
"display_name": "Spirit of the Rabbit", "display_name": "Spirit of the Rabbit",
"desc": "Reduce the Mana cost of Charge and increase your Walk Speed by +20%", "desc": "Reduce the Mana cost of Charge and increase your Walk Speed by +20%",
"archetype": "Battle Monk", "archetype": "Battle Monk",
"archetype_req": 5, "archetype_req": 5,
"base_spell": "Charge",
"parents": ["Tempest", "Whirlwind Strike"], "parents": ["Tempest", "Whirlwind Strike"],
"dependencies": [], "dependencies": [],
"blockers": [], "blockers": [],
@ -3683,8 +3665,7 @@ const atrees = {
"col": 4, "col": 4,
"icon": "node_0" "icon": "node_0"
}, },
"properties": { "properties": {},
},
"effects": [ "effects": [
{ {
"type": "add_spell_prop", "type": "add_spell_prop",
@ -3718,18 +3699,14 @@ const atrees = {
"col": 1, "col": 1,
"icon": "node_1" "icon": "node_1"
}, },
"properties": { "properties": {},
}, "effects": []
"effects": [
]
}, },
{ {
"display_name": "Axe Kick", "display_name": "Axe Kick",
"desc": "Increase the damage of Uppercut, but also increase its mana cost", "desc": "Increase the damage of Uppercut, but also increase its mana cost",
"archetype": "", "base_spell": "Uppercut",
"archetype_req": 0,
"parents": ["Tempest", "Spirit of the Rabbit"], "parents": ["Tempest", "Spirit of the Rabbit"],
"dependencies": [], "dependencies": [],
"blockers": [], "blockers": [],
@ -3739,8 +3716,7 @@ const atrees = {
"col": 3, "col": 3,
"icon": "node_0" "icon": "node_0"
}, },
"properties": { "properties": {},
},
"effects": [ "effects": [
{ {
"type": "add_spell_prop", "type": "add_spell_prop",
@ -3751,12 +3727,12 @@ const atrees = {
} }
] ]
}, },
{ {
"display_name": "Radiance", "display_name": "Radiance",
"desc": "Bash will buff your allies' positive IDs. (15s Cooldown)", "desc": "Bash will buff your allies' positive IDs. (15s Cooldown)",
"archetype": "Paladin", "archetype": "Paladin",
"archetype_req": 2, "archetype_req": 2,
"base_spell": "Bash",
"parents": ["Spirit of the Rabbit", "Cheaper Bash 2"], "parents": ["Spirit of the Rabbit", "Cheaper Bash 2"],
"dependencies": [], "dependencies": [],
"blockers": [], "blockers": [],
@ -3769,16 +3745,13 @@ const atrees = {
"properties": { "properties": {
"cooldown": 15 "cooldown": 15
}, },
"effects": [ "effects": []
]
}, },
{ {
"display_name": "Cheaper Bash 2", "display_name": "Cheaper Bash 2",
"desc": "Reduce the Mana cost of Bash", "desc": "Reduce the Mana cost of Bash",
"archetype": "", "base_spell": "Bash",
"archetype_req": 0,
"parents": ["Radiance", "Shield Strike", "Sparkling Hope"], "parents": ["Radiance", "Shield Strike", "Sparkling Hope"],
"dependencies": [], "dependencies": [],
"blockers": [], "blockers": [],
@ -3788,8 +3761,7 @@ const atrees = {
"col": 7, "col": 7,
"icon": "node_0" "icon": "node_0"
}, },
"properties": { "properties": {},
},
"effects": [ "effects": [
{ {
"type": "add_spell_prop", "type": "add_spell_prop",
@ -3802,8 +3774,7 @@ const atrees = {
{ {
"display_name": "Cheaper War Scream", "display_name": "Cheaper War Scream",
"desc": "Reduce the Mana cost of War Scream", "desc": "Reduce the Mana cost of War Scream",
"archetype": "", "base_spell": "War Scream",
"archetype_req": 0,
"parents": ["Massive Bash"], "parents": ["Massive Bash"],
"dependencies": [], "dependencies": [],
"blockers": [], "blockers": [],
@ -3813,8 +3784,7 @@ const atrees = {
"col": 0, "col": 0,
"icon": "node_0" "icon": "node_0"
}, },
"properties": { "properties": {},
},
"effects": [ "effects": [
{ {
"type": "add_spell_prop", "type": "add_spell_prop",

View file

@ -76,7 +76,8 @@ let item_fields = [ "name", "displayName", "lore", "color", "tier", "set", "slot
"aMdPct","aMdRaw","aSdPct","aSdRaw",/*"aDamPct"*/,"aDamRaw","aDamAddMin","aDamAddMax", "aMdPct","aMdRaw","aSdPct","aSdRaw",/*"aDamPct"*/,"aDamRaw","aDamAddMin","aDamAddMax",
"nMdPct","nMdRaw","nSdPct","nSdRaw","nDamPct","nDamRaw","nDamAddMin","nDamAddMax", // neutral which is now an element "nMdPct","nMdRaw","nSdPct","nSdRaw","nDamPct","nDamRaw","nDamAddMin","nDamAddMax", // neutral which is now an element
/*"mdPct","mdRaw","sdPct","sdRaw",*/"damPct","damRaw","damAddMin","damAddMax", // These are the old ids. Become proportional. /*"mdPct","mdRaw","sdPct","sdRaw",*/"damPct","damRaw","damAddMin","damAddMax", // These are the old ids. Become proportional.
"rMdPct","rMdRaw","rSdPct",/*"rSdRaw",*/"rDamPct","rDamRaw","rDamAddMin","rDamAddMax" // rainbow (the "element" of all minus neutral). rSdRaw is rainraw "rMdPct","rMdRaw","rSdPct",/*"rSdRaw",*/"rDamPct","rDamRaw","rDamAddMin","rDamAddMax", // rainbow (the "element" of all minus neutral). rSdRaw is rainraw
"critDamPct"
]; ];
// Extra fake IDs (reserved for use in spell damage calculation) : damageMultiplier, defMultiplier, poisonPct, activeMajorIDs // Extra fake IDs (reserved for use in spell damage calculation) : damageMultiplier, defMultiplier, poisonPct, activeMajorIDs
let str_item_fields = [ "name", "displayName", "lore", "color", "tier", "set", "type", "material", "drop", "quest", "restrict", "category", "atkSpd" ] let str_item_fields = [ "name", "displayName", "lore", "color", "tier", "set", "type", "material", "drop", "quest", "restrict", "category", "atkSpd" ]