Partial update to 2.0.2.3 (festival of heroes)

patch:
- ing changes (manual)
- two endgame items (the ones that I got customs for)

bugfix:
- Fix bug in reverse mapping that mapped item "type" to "accessoryType"
This commit is contained in:
hppeng 2023-03-25 08:35:09 -07:00
parent 73324d2a82
commit 9ebac6b59e
10 changed files with 26116 additions and 26060 deletions

52092
clean.json

File diff suppressed because it is too large Load diff

File diff suppressed because one or more lines are too long

View file

@ -15710,8 +15710,8 @@
"maximum": 7 "maximum": 7
}, },
"lq": { "lq": {
"minimum": 3, "minimum": 4,
"maximum": 4 "maximum": 5
} }
}, },
"itemIDs": { "itemIDs": {
@ -16169,7 +16169,7 @@
"lvl": 4, "lvl": 4,
"ids": {}, "ids": {},
"itemIDs": { "itemIDs": {
"dura": -70, "dura": -30,
"strReq": 0, "strReq": 0,
"dexReq": 0, "dexReq": 0,
"intReq": 0, "intReq": 0,
@ -18451,7 +18451,7 @@
"posMods": { "posMods": {
"left": 0, "left": 0,
"right": 0, "right": 0,
"above": 30, "above": 25,
"under": 0, "under": 0,
"touching": 0, "touching": 0,
"notTouching": 0 "notTouching": 0
@ -23923,7 +23923,7 @@
"lvl": 100, "lvl": 100,
"ids": {}, "ids": {},
"itemIDs": { "itemIDs": {
"dura": -175, "dura": -160,
"strReq": 0, "strReq": 0,
"dexReq": 0, "dexReq": 0,
"intReq": 0, "intReq": 0,
@ -23934,7 +23934,7 @@
}, },
"consumableIDs": { "consumableIDs": {
"charges": 0, "charges": 0,
"dura": -300 "dura": -275
}, },
"posMods": { "posMods": {
"left": 110, "left": 110,
@ -24214,8 +24214,8 @@
"right": 0, "right": 0,
"above": 0, "above": 0,
"under": 0, "under": 0,
"touching": 12, "touching": 15,
"notTouching": 12 "notTouching": 15
}, },
"id": 569 "id": 569
}, },
@ -24722,7 +24722,7 @@
"above": 0, "above": 0,
"under": 0, "under": 0,
"touching": -100, "touching": -100,
"notTouching": 75 "notTouching": 55
}, },
"id": 582 "id": 582
}, },
@ -24913,8 +24913,8 @@
"posMods": { "posMods": {
"left": -100, "left": -100,
"right": -100, "right": -100,
"above": 75, "above": 60,
"under": 75, "under": 60,
"touching": 0, "touching": 0,
"notTouching": 0 "notTouching": 0
}, },
@ -24942,10 +24942,10 @@
"dura": -300 "dura": -300
}, },
"posMods": { "posMods": {
"left": -75, "left": -50,
"right": -75, "right": -50,
"above": -50, "above": -75,
"under": -50, "under": -75,
"touching": 120, "touching": 120,
"notTouching": 0 "notTouching": 0
}, },
@ -25983,7 +25983,7 @@
"above": 0, "above": 0,
"under": 0, "under": 0,
"touching": 0, "touching": 0,
"notTouching": 65 "notTouching": 55
}, },
"id": 610 "id": 610
}, },
@ -26140,8 +26140,8 @@
"right": 0, "right": 0,
"above": 0, "above": 0,
"under": 0, "under": 0,
"touching": 33, "touching": 25,
"notTouching": 33 "notTouching": 25
}, },
"id": 614 "id": 614
}, },
@ -26688,8 +26688,8 @@
"right": -122, "right": -122,
"above": 0, "above": 0,
"under": 0, "under": 0,
"touching": -29, "touching": -15,
"notTouching": -29 "notTouching": -15
}, },
"id": 627 "id": 627
}, },
@ -26846,7 +26846,7 @@
"posMods": { "posMods": {
"left": 0, "left": 0,
"right": 0, "right": 0,
"above": -180, "above": -140,
"under": 0, "under": 0,
"touching": 0, "touching": 0,
"notTouching": 0 "notTouching": 0
@ -27433,12 +27433,12 @@
"dura": 0 "dura": 0
}, },
"posMods": { "posMods": {
"left": -45, "left": -30,
"right": -45, "right": -30,
"above": 0, "above": 0,
"under": 0, "under": 0,
"touching": 45, "touching": 30,
"notTouching": 45 "notTouching": 30
}, },
"id": 645 "id": 645
}, },
@ -28657,8 +28657,8 @@
"right": 0, "right": 0,
"above": 0, "above": 0,
"under": 0, "under": 0,
"touching": 20, "touching": 15,
"notTouching": 20 "notTouching": 15
}, },
"id": 691 "id": 691
}, },
@ -28715,7 +28715,7 @@
"lvl": 80, "lvl": 80,
"ids": {}, "ids": {},
"itemIDs": { "itemIDs": {
"dura": -150, "dura": -140,
"strReq": -25, "strReq": -25,
"dexReq": -25, "dexReq": -25,
"intReq": -25, "intReq": -25,
@ -28802,8 +28802,8 @@
"right": 0, "right": 0,
"above": 0, "above": 0,
"under": 0, "under": 0,
"touching": 40, "touching": 25,
"notTouching": 80 "notTouching": 45
}, },
"id": 674 "id": 674
}, },

File diff suppressed because one or more lines are too long

View file

@ -94,10 +94,12 @@ let str_item_fields = [ "name", "displayName", "lore", "color", "tier", "set", "
//File reading for ID translations for JSON purposes //File reading for ID translations for JSON purposes
let reversetranslations = new Map(); let reversetranslations = new Map();
let translations = new Map([["name", "name"],["displayName", "displayName"],["tier", "tier"],["set", "set"],["sockets", "slots"],["type", "type"],["armorColor", "color"],["addedLore", "lore"],["dropType", "drop"],["quest", "quest"],["restrictions", "restrict"],["damage", "nDam"],["fireDamage", "fDam"],["waterDamage", "wDam"],["airDamage", "aDam"],["thunderDamage", "tDam"],["earthDamage", "eDam"],["attackSpeed", "atkSpd"],["health", "hp"],["fireDefense", "fDef"],["waterDefense", "wDef"],["airDefense", "aDef"],["thunderDefense", "tDef"],["earthDefense", "eDef"],["level", "lvl"],["classRequirement", "classReq"],["strength", "strReq"],["dexterity", "dexReq"],["intelligence", "intReq"],["agility", "agiReq"],["defense", "defReq"],["healthRegen", "hprPct"],["manaRegen", "mr"],["spellDamageBonus", "sdPct"],["spellElementalDamageBonus", "rSdPct"],["spellNeutralDamageBonus", "nSdPct"],["spellFireDamageBonus", "fSdPct"],["spellWaterDamageBonus", "wSdPct"],["spellAirDamageBonus", "aSdPct"],["spellThunderDamageBonus", "tSdPct"],["spellEarthDamageBonus", "eSdPct"],["mainAttackDamageBonus", "mdPct"],["mainAttackElementalDamageBonus", "rMdPct"],["mainAttackNeutralDamageBonus", "nMdPct"],["mainAttackFireDamageBonus", "fMdPct"],["mainAttackWaterDamageBonus", "wMdPct"],["mainAttackAirDamageBonus", "aMdPct"],["mainAttackThunderDamageBonus", "tMdPct"],["mainAttackEarthDamageBonus", "eMdPct"],["lifeSteal", "ls"],["manaSteal", "ms"],["xpBonus", "xpb"],["lootBonus", "lb"],["reflection", "ref"],["strengthPoints", "str"],["dexterityPoints", "dex"],["intelligencePoints", "int"],["agilityPoints", "agi"],["defensePoints", "def"],["thorns", "thorns"],["exploding", "expd"],["speed", "spd"],["attackSpeedBonus", "atkTier"],["poison", "poison"],["healthBonus", "hpBonus"],["soulPoints", "spRegen"],["emeraldStealing", "eSteal"],["healthRegenRaw", "hprRaw"],["spellDamageBonusRaw", "sdRaw"],["spellElementalDamageBonusRaw", "rSdRaw"],["spellNeutralDamageBonusRaw", "nSdRaw"],["spellFireDamageBonusRaw", "fSdRaw"],["spellWaterDamageBonusRaw", "wSdRaw"],["spellAirDamageBonusRaw", "aSdRaw"],["spellThunderDamageBonusRaw", "tSdRaw"],["spellEarthDamageBonusRaw", "eSdRaw"],["mainAttackDamageBonusRaw", "mdRaw"],["mainAttackElementalDamageBonusRaw", "rMdRaw"],["mainAttackNeutralDamageBonusRaw", "nMdRaw"],["mainAttackFireDamageBonusRaw", "fMdRaw"],["mainAttackWaterDamageBonusRaw", "wMdRaw"],["mainAttackAirDamageBonusRaw", "aMdRaw"],["mainAttackThunderDamageBonusRaw", "tMdRaw"],["mainAttackEarthDamageBonusRaw", "eMdRaw"],["fireDamageBonus", "fDamPct"],["waterDamageBonus", "wDamPct"],["airDamageBonus", "aDamPct"],["thunderDamageBonus", "tDamPct"],["earthDamageBonus", "eDamPct"],["bonusFireDefense", "fDefPct"],["bonusWaterDefense", "wDefPct"],["bonusAirDefense", "aDefPct"],["bonusThunderDefense", "tDefPct"],["bonusEarthDefense", "eDefPct"],["accessoryType", "type"],["identified", "fixID"],["skin", "skin"],["category", "category"],["spellCostPct1", "spPct1"],["spellCostRaw1", "spRaw1"],["spellCostPct2", "spPct2"],["spellCostRaw2", "spRaw2"],["spellCostPct3", "spPct3"],["spellCostRaw3", "spRaw3"],["spellCostPct4", "spPct4"],["spellCostRaw4", "spRaw4"],["sprint", "sprint"],["sprintRegen", "sprintReg"],["jumpHeight", "jh"],["lootQuality", "lq"],["gatherXpBonus", "gXp"],["gatherSpeed", "gSpd"]]); let _translations_list = [["name", "name"],["displayName", "displayName"],["tier", "tier"],["set", "set"],["sockets", "slots"],["type", "type"],["armorColor", "color"],["addedLore", "lore"],["dropType", "drop"],["quest", "quest"],["restrictions", "restrict"],["damage", "nDam"],["fireDamage", "fDam"],["waterDamage", "wDam"],["airDamage", "aDam"],["thunderDamage", "tDam"],["earthDamage", "eDam"],["attackSpeed", "atkSpd"],["health", "hp"],["fireDefense", "fDef"],["waterDefense", "wDef"],["airDefense", "aDef"],["thunderDefense", "tDef"],["earthDefense", "eDef"],["level", "lvl"],["classRequirement", "classReq"],["strength", "strReq"],["dexterity", "dexReq"],["intelligence", "intReq"],["agility", "agiReq"],["defense", "defReq"],["healthRegen", "hprPct"],["manaRegen", "mr"],["spellDamageBonus", "sdPct"],["spellElementalDamageBonus", "rSdPct"],["spellNeutralDamageBonus", "nSdPct"],["spellFireDamageBonus", "fSdPct"],["spellWaterDamageBonus", "wSdPct"],["spellAirDamageBonus", "aSdPct"],["spellThunderDamageBonus", "tSdPct"],["spellEarthDamageBonus", "eSdPct"],["mainAttackDamageBonus", "mdPct"],["mainAttackElementalDamageBonus", "rMdPct"],["mainAttackNeutralDamageBonus", "nMdPct"],["mainAttackFireDamageBonus", "fMdPct"],["mainAttackWaterDamageBonus", "wMdPct"],["mainAttackAirDamageBonus", "aMdPct"],["mainAttackThunderDamageBonus", "tMdPct"],["mainAttackEarthDamageBonus", "eMdPct"],["lifeSteal", "ls"],["manaSteal", "ms"],["xpBonus", "xpb"],["lootBonus", "lb"],["reflection", "ref"],["strengthPoints", "str"],["dexterityPoints", "dex"],["intelligencePoints", "int"],["agilityPoints", "agi"],["defensePoints", "def"],["thorns", "thorns"],["exploding", "expd"],["speed", "spd"],["attackSpeedBonus", "atkTier"],["poison", "poison"],["healthBonus", "hpBonus"],["soulPoints", "spRegen"],["emeraldStealing", "eSteal"],["healthRegenRaw", "hprRaw"],["spellDamageBonusRaw", "sdRaw"],["spellElementalDamageBonusRaw", "rSdRaw"],["spellNeutralDamageBonusRaw", "nSdRaw"],["spellFireDamageBonusRaw", "fSdRaw"],["spellWaterDamageBonusRaw", "wSdRaw"],["spellAirDamageBonusRaw", "aSdRaw"],["spellThunderDamageBonusRaw", "tSdRaw"],["spellEarthDamageBonusRaw", "eSdRaw"],["mainAttackDamageBonusRaw", "mdRaw"],["mainAttackElementalDamageBonusRaw", "rMdRaw"],["mainAttackNeutralDamageBonusRaw", "nMdRaw"],["mainAttackFireDamageBonusRaw", "fMdRaw"],["mainAttackWaterDamageBonusRaw", "wMdRaw"],["mainAttackAirDamageBonusRaw", "aMdRaw"],["mainAttackThunderDamageBonusRaw", "tMdRaw"],["mainAttackEarthDamageBonusRaw", "eMdRaw"],["fireDamageBonus", "fDamPct"],["waterDamageBonus", "wDamPct"],["airDamageBonus", "aDamPct"],["thunderDamageBonus", "tDamPct"],["earthDamageBonus", "eDamPct"],["bonusFireDefense", "fDefPct"],["bonusWaterDefense", "wDefPct"],["bonusAirDefense", "aDefPct"],["bonusThunderDefense", "tDefPct"],["bonusEarthDefense", "eDefPct"],["accessoryType", "type"],["identified", "fixID"],["skin", "skin"],["category", "category"],["spellCostPct1", "spPct1"],["spellCostRaw1", "spRaw1"],["spellCostPct2", "spPct2"],["spellCostRaw2", "spRaw2"],["spellCostPct3", "spPct3"],["spellCostRaw3", "spRaw3"],["spellCostPct4", "spPct4"],["spellCostRaw4", "spRaw4"],["sprint", "sprint"],["sprintRegen", "sprintReg"],["jumpHeight", "jh"],["lootQuality", "lq"],["gatherXpBonus", "gXp"],["gatherSpeed", "gSpd"]];
let translations = new Map(_translations_list);
//does not include damMobs (wep tomes) and defMobs (armor tomes) //does not include damMobs (wep tomes) and defMobs (armor tomes)
for (const [k, v] of translations) { for (const [k, v] of _translations_list) {
if (reversetranslations.has(v)) { continue; }
reversetranslations.set(v, k); reversetranslations.set(v, k);
} }

View file

@ -30,7 +30,8 @@ let atree_data = null;
const wynn_version_names = [ const wynn_version_names = [
'2.0.1.1', '2.0.1.1',
'2.0.1.2', '2.0.1.2',
'2.0.2.1' '2.0.2.1',
'2.0.2.3'
]; ];
const WYNN_VERSION_LATEST = wynn_version_names.length - 1; const WYNN_VERSION_LATEST = wynn_version_names.length - 1;
// Default to the newest version. // Default to the newest version.

View file

@ -246,7 +246,6 @@ class Custom {
} }
} }
let type = this.statMap.get("type").toLowerCase(); let type = this.statMap.get("type").toLowerCase();
console.log(type);
if (weaponTypes.includes(type)) { if (weaponTypes.includes(type)) {
for (const n of ["nDam", "eDam", "tDam", "wDam", "fDam", "aDam"]) { for (const n of ["nDam", "eDam", "tDam", "wDam", "fDam", "aDam"]) {
if (!(this.statMap.has(n) && this.statMap.get(n))) { if (!(this.statMap.has(n) && this.statMap.get(n))) {

View file

@ -1,4 +1,4 @@
const DB_VERSION = 122; const DB_VERSION = 123;
// @See https://github.com/mdn/learning-area/blob/master/javascript/apis/client-side-storage/indexeddb/video-store/index.jsA // @See https://github.com/mdn/learning-area/blob/master/javascript/apis/client-side-storage/indexeddb/video-store/index.jsA
let db; let db;

View file

@ -1,4 +1,4 @@
const ING_DB_VERSION = 20; const ING_DB_VERSION = 21;
// @See https://github.com/mdn/learning-area/blob/master/javascript/apis/client-side-storage/indexeddb/video-store/index.js // @See https://github.com/mdn/learning-area/blob/master/javascript/apis/client-side-storage/indexeddb/video-store/index.js

View file

@ -3798,5 +3798,7 @@
"Athanasia": 3796, "Athanasia": 3796,
"Provenance": 3797, "Provenance": 3797,
"Veneration": 3798, "Veneration": 3798,
"Reckoning": 3799 "Reckoning": 3799,
"Eleventh Hour": 3800,
"Epilogue": 3801
} }