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.

72 lines
2.0 KiB

  1. define([
  2. ], function (
  3. ) {
  4. var 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. 'dmgPercent': 'to all damage',
  27. 'allAttributes': 'to all attributes',
  28. 'xpIncrease': 'additional xp per kill',
  29. 'lvlRequire': 'level requirement reduction',
  30. 'elementArcanePercent': 'increased arcane damage',
  31. 'elementFrostPercent': 'increased frost damage',
  32. 'elementFirePercent': 'increased fire damage',
  33. 'elementHolyPercent': 'increased holy damage',
  34. 'elementPoisonPercent': 'increased poison damage',
  35. 'elementAllResist': 'all resistance',
  36. 'elementArcaneResist': 'arcane resistance',
  37. 'elementFrostResist': 'frost resistance',
  38. 'elementFireResist': 'fire resistance',
  39. 'elementHolyResist': 'holy resistance',
  40. 'elementPoisonResist': 'poison resistance',
  41. 'elementAllResist': 'all resistance',
  42. 'attackSpeed': 'attack speed',
  43. 'castSpeed': 'cast speed',
  44. //This stat is used for gambling when you can't see the stats
  45. 'stats': 'stats',
  46. //Fishing
  47. 'weight': 'lb',
  48. //Rods
  49. 'catchChance': 'extra catch chance',
  50. 'catchSpeed': 'faster catch speed',
  51. 'fishRarity': 'higher fish rarity',
  52. 'fishWeight': 'increased fish weight',
  53. 'fishItems': 'extra chance to hook items'
  54. };
  55. return {
  56. translate: function (stat) {
  57. return stats[stat];
  58. }
  59. };
  60. });