wynnbuilder-forked-for-changes/py_script/items_common.py
hppeng-wynn 479af33a81
2.0.3 update (#260)
* Mage atree changes

* Bump version to 2.0.3.1

just tree for now

* Warrior tree

🙏

* Shaman tree

WIP some things are too jank to stay

* Fixes to bamboozle behavior

also echo was -60% instead of -65% in the file??? wtf

* Shurikens damage boost by echo

meme

* Fix description text in echo, update old version atree file

* Fix shaman tree

thanks spegg!

* Spegg atree changes

assassin tree
fixed many of my shaman mistakes
and other changes we missed over the months somehow?

* Updated archer ability tree

Thanks @mr_me! All credit to them.

* Fixes to spegg's fixes

implement beast lore

* Change how Chant of the Lunatic is calculated

coursing restraints ingame is 15% damage bonus

* Updated ingredients manually

thanks @watermelon (snownlite)!

* Forgor to bump ing db version

* Fix ingredient display jank

* 2.0.3 items (#259)

* API update

also add new IDs to a bunch of places... tech debt whyyy

* Forgot to update ingreds...

* Change heal power ID name to stack with tree abils, fix multi totem effect on totemic shatter

and req for mana traps

* Forgot to bump item db version

* Implement major IDs

not implemented: Gentle Glow, and Forest's Blessing damage increase (since I don't know the exact numbers)

and radiance boost is not implemented (radiance is currently handled way too jank)

might wait for buffs rework to handle radiance.

* patch item searcher

TODO: make this not disgusting... build_encode_decode file has gotten too big

---------

Co-authored-by: hppeng <hppeng>
Co-authored-by: RawFish69 <108964215+RawFish69@users.noreply.github.com>
2023-07-14 18:34:30 -07:00

145 lines
4.4 KiB
Python

translate_mappings = {
#"name": "name",
#"displayName": "displayName",
#"tier": "tier",
#"set": "set",
"sockets": "slots",
#"type": "type",
#"armorType": "armorType", (deleted)
"armorColor": "color", #(deleted)
"addedLore": "lore", #(deleted)
#"material": "material", (deleted)
"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",
#"bonusFireDamage": "fDamPct",
#"bonusWaterDamage": "wDamPct",
#"bonusAirDamage": "aDamPct",
#"bonusThunderDamage": "tDamPct",
#"bonusEarthDamage": "eDamPct",
"fireDamageBonus": "fDamPct",
"waterDamageBonus": "wDamPct",
"airDamageBonus": "aDamPct",
"thunderDamageBonus": "tDamPct",
"earthDamageBonus": "eDamPct",
"elementalDamageBonus": "rDamPct",
"fireDamageBonusRaw": "fDamRaw",
"waterDamageBonusRaw": "wDamRaw",
"airDamageBonusRaw": "aDamRaw",
"thunderDamageBonusRaw": "tDamRaw",
"earthDamageBonusRaw": "eDamRaw",
"elementalDamageBonusRaw": "rDamRaw",
"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",
"healingEfficiency": "healPct",
"knockback": "kb",
"weakenEnemy": "weakenEnemy",
"slowEnemy": "slowEnemy",
"elementalDefense": "rDefPct",
}
delete_keys = [
#"addedLore",
#"skin",
#"armorType",
#"armorColor",
#"material"
]