HOTFIX: item ID renaming... forgor

This commit is contained in:
hppeng 2022-09-15 22:42:06 -07:00
parent 16b519069b
commit a81e936412
4 changed files with 5539 additions and 5519 deletions

11014
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

@ -1,4 +1,4 @@
const DB_VERSION = 110; const DB_VERSION = 111;
// @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

@ -34,8 +34,10 @@ translate_mappings = {
"defense": "defReq", "defense": "defReq",
"healthRegen": "hprPct", "healthRegen": "hprPct",
"manaRegen": "mr", "manaRegen": "mr",
"spellDamage": "sdPct", #"spellDamage": "sdPct",
"damageBonus": "mdPct", "spellDamageBonus": "sdPct",
#"damageBonus": "mdPct",
"mainAttackDamageBonus": "mdPct",
"lifeSteal": "ls", "lifeSteal": "ls",
"manaSteal": "ms", "manaSteal": "ms",
"xpBonus": "xpb", "xpBonus": "xpb",
@ -55,13 +57,30 @@ translate_mappings = {
"soulPoints": "spRegen", "soulPoints": "spRegen",
"emeraldStealing": "eSteal", "emeraldStealing": "eSteal",
"healthRegenRaw": "hprRaw", "healthRegenRaw": "hprRaw",
"spellDamageRaw": "sdRaw", #"spellDamageRaw": "sdRaw",
"damageBonusRaw": "mdRaw", "spellDamageBonusRaw": "sdRaw",
"bonusFireDamage": "fDamPct", "spellFireDamageBonusRaw": "fSdRaw",
"bonusWaterDamage": "wDamPct", "spellWaterDamageBonusRaw": "wSdRaw",
"bonusAirDamage": "aDamPct", "spellAirDamageBonusRaw": "aSdRaw",
"bonusThunderDamage": "tDamPct", "spellThunderDamageBonusRaw": "tSdRaw",
"bonusEarthDamage": "eDamPct", "spellEarthDamageBonusRaw": "eSdRaw",
#"damageBonusRaw": "mdRaw",
"mainAttackDamageBonusRaw": "mdRaw",
"mainAttackFireDamageBonusRaw": "fMdRaw",
"mainAttackWaterDamageBonusRaw": "wMdRaw",
"mainAttackAirDamageBonusRaw": "aMdRaw",
"mainAttackThunderDamageBonusRaw": "tMdRaw",
"mainAttackEarthDamageBonusRaw": "eMdRaw",
#"bonusFireDamage": "fDamPct",
#"bonusWaterDamage": "wDamPct",
#"bonusAirDamage": "aDamPct",
#"bonusThunderDamage": "tDamPct",
#"bonusEarthDamage": "eDamPct",
"fireDamageBonus": "fDamPct",
"waterDamageBonus": "wDamPct",
"airDamageBonus": "aDamPct",
"thunderDamageBonus": "tDamPct",
"earthDamageBonus": "eDamPct",
"bonusFireDefense": "fDefPct", "bonusFireDefense": "fDefPct",
"bonusWaterDefense": "wDefPct", "bonusWaterDefense": "wDefPct",
"bonusAirDefense": "aDefPct", "bonusAirDefense": "aDefPct",
@ -81,7 +100,8 @@ translate_mappings = {
"spellCostPct4": "spPct4", "spellCostPct4": "spPct4",
"spellCostRaw4": "spRaw4", "spellCostRaw4": "spRaw4",
"rainbowSpellDamageRaw": "rainbowRaw", #"rainbowSpellDamageRaw": "rainbowRaw",
"spellElementalDamageBonusRaw": "rSdRaw",
#"sprint": "sprint", #"sprint": "sprint",
"sprintRegen": "sprintReg", "sprintRegen": "sprintReg",
"jumpHeight": "jh", "jumpHeight": "jh",