You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

77 lines
2.1 KiB

  1. define([
  2. ], function (
  3. ) {
  4. let stats = {
  5. vit: 'vitality',
  6. regenHp: 'health regeneration',
  7. manaMax: 'maximum mana',
  8. regenMana: 'mana regeneration',
  9. str: 'strength',
  10. int: 'intellect',
  11. dex: 'dexterity',
  12. armor: 'armor',
  13. blockAttackChance: 'chance to block attacks',
  14. blockSpellChance: 'chance to block spells',
  15. dodgeAttackChance: 'chance to dodge attacks',
  16. dodgeSpellChance: 'chance to dodge spells',
  17. addCritChance: 'global crit chance',
  18. addCritMultiplier: 'global crit multiplier',
  19. addAttackCritChance: 'attack crit chance',
  20. addAttackCritMultiplier: 'attack crit multiplier',
  21. addSpellCritChance: 'spell crit chance',
  22. addSpellCritMultiplier: 'spell crit multiplier',
  23. magicFind: 'increased item quality',
  24. itemQuantity: 'increased item quantity',
  25. sprintChance: 'sprint chance',
  26. allAttributes: 'to all attributes',
  27. xpIncrease: 'additional xp per kill',
  28. lvlRequire: 'level requirement reduction',
  29. elementArcanePercent: 'increased arcane damage',
  30. elementFrostPercent: 'increased frost damage',
  31. elementFirePercent: 'increased fire damage',
  32. elementHolyPercent: 'increased holy damage',
  33. elementPoisonPercent: 'increased poison damage',
  34. physicalPercent: 'increased physical damage',
  35. elementPercent: 'increased elemental damage',
  36. spellPercent: 'increased spell damage',
  37. elementAllResist: 'all resistance',
  38. elementArcaneResist: 'arcane resistance',
  39. elementFrostResist: 'frost resistance',
  40. elementFireResist: 'fire resistance',
  41. elementHolyResist: 'holy resistance',
  42. elementPoisonResist: 'poison resistance',
  43. elementAllResist: 'all resistance',
  44. attackSpeed: 'attack speed',
  45. castSpeed: 'cast speed',
  46. auraReserveMultiplier: 'aura mana reservation multiplier',
  47. //This stat is used for gambling when you can't see the stats
  48. stats: 'stats',
  49. //Fishing
  50. weight: 'lb',
  51. //Rods
  52. catchChance: 'extra catch chance',
  53. catchSpeed: 'faster catch speed',
  54. fishRarity: 'higher fish rarity',
  55. fishWeight: 'increased fish weight',
  56. fishItems: 'extra chance to hook items'
  57. };
  58. return {
  59. translate: function (stat) {
  60. return stats[stat];
  61. }
  62. };
  63. });