├── .gitignore ├── BetterCharacterStats.toc ├── README.md ├── Localization.lua ├── BetterCharacterStats.xml ├── BetterCharacterStats.lua └── helper.lua /.gitignore: -------------------------------------------------------------------------------- 1 | to-do 2 | -------------------------------------------------------------------------------- /BetterCharacterStats.toc: -------------------------------------------------------------------------------- 1 | ## Interface: 11200 2 | ## Title: BetterCharacterStats 3 | ## Author: moh 4 | ## Version: 1.11 5 | ## SavedVariablesPerCharacter: BCSConfig 6 | 7 | BetterCharacterStats.xml 8 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | BetterCharacterStats - a World of Warcraft (1.12.1) AddOn 2 | =================================================== 3 | 4 | ![preview](https://raw.githubusercontent.com/yutsuku/BetterCharacterStats/gh-pages/images/BetterCharacterStats.png) 5 | 6 | Installation: 7 | 8 | Put "BetterCharacterStats" folder into ".../World of Warcraft/Interface/AddOns/". 9 | Create AddOns folder if necessary 10 | 11 | After Installation directory tree should look like the following 12 | 13 | World of Warcraft 14 | `- Interface 15 | `- AddOns 16 | `- BetterCharacterStats 17 | |- README.md 18 | |- BetterCharacterStats.lua 19 | |- BetterCharacterStats.toc 20 | |- BetterCharacterStats.xml 21 | |- helper.lua 22 | `- Localization.lua 23 | 24 | Features: 25 | - Displays character statistics in one place (just like the character tab in Burning Crusade). 26 | 27 | Known Issues: 28 | - May be lacking things related to spell hit/spell crit. 29 | 30 | Thanks to: 31 | - All people who keeps reporting to me that some things are missing or are broken. -------------------------------------------------------------------------------- /Localization.lua: -------------------------------------------------------------------------------- 1 | BCS = BCS or {} 2 | 3 | BCS["L"] = { 4 | 5 | ["([%d.]+)%% chance to crit"] = "([%d.]+)%% chance to crit", 6 | 7 | ["^Set: Improves your chance to hit by (%d)%%."] = "^Set: Improves your chance to hit by (%d)%%.", 8 | ["^Set: Improves your chance to get a critical strike with spells by (%d)%%."] = "^Set: Improves your chance to get a critical strike with spells by (%d)%%.", 9 | ["^Set: Improves your chance to hit with spells by (%d)%%."] = "^Set: Improves your chance to hit with spells by (%d)%%.", 10 | ["^Set: Increases damage and healing done by magical spells and effects by up to (%d+)%."] = "^Set: Increases damage and healing done by magical spells and effects by up to (%d+)%.", 11 | ["^Set: Increases healing done by spells and effects by up to (%d+)%."] = "^Set: Increases healing done by spells and effects by up to (%d+)%.", 12 | 13 | ["Equip: Improves your chance to hit by (%d)%%."] = "Equip: Improves your chance to hit by (%d)%%.", 14 | ["Equip: Improves your chance to get a critical strike with spells by (%d)%%."] = "Equip: Improves your chance to get a critical strike with spells by (%d)%%.", 15 | ["Equip: Improves your chance to hit with spells by (%d)%%."] = "Equip: Improves your chance to hit with spells by (%d)%%.", 16 | 17 | ["Increases your chance to hit with melee weapons by (%d)%%."] = "Increases your chance to hit with melee weapons by (%d)%%.", 18 | ["Increases your critical strike chance with ranged weapons by (%d)%%."] = "Increases your critical strike chance with ranged weapons by (%d)%%.", 19 | ["Increases hit chance by (%d)%% and increases the chance movement impairing effects will be resisted by an additional %d+%%."] = "Increases hit chance by (%d)%% and increases the chance movement impairing effects will be resisted by an additional %d+%%.", 20 | ["Increases your critical strike chance with all attacks by (%d)%%."] = "Increases your critical strike chance with all attacks by (%d)%%.", 21 | ["Increases spell damage and healing by up to (%d+)%% of your total Spirit."] = "Increases spell damage and healing by up to (%d+)%% of your total Spirit.", 22 | ["Reduces the chance that the opponent can resist your Frost and Fire spells by (%d)%%."] = "Reduces the chance that the opponent can resist your Frost and Fire spells by (%d)%%.", 23 | ["Reduces the chance that the opponent can resist your Arcane spells by (%d+)%%."] = "Reduces the chance that the opponent can resist your Arcane spells by (%d+)%%.", 24 | ["Reduces your target's chance to resist your Shadow spells by (%d+)%%."] = "Reduces your target's chance to resist your Shadow spells by (%d+)%%.", 25 | 26 | ["Equip: Increases damage done by Arcane spells and effects by up to (%d+)."] = "Equip: Increases damage done by Arcane spells and effects by up to (%d+).", 27 | ["Equip: Increases damage done by Fire spells and effects by up to (%d+)."] = "Equip: Increases damage done by Fire spells and effects by up to (%d+).", 28 | ["Equip: Increases damage done by Frost spells and effects by up to (%d+)."] = "Equip: Increases damage done by Frost spells and effects by up to (%d+).", 29 | ["Equip: Increases damage done by Holy spells and effects by up to (%d+)."] = "Equip: Increases damage done by Holy spells and effects by up to (%d+).", 30 | ["Equip: Increases damage done by Nature spells and effects by up to (%d+)."] = "Equip: Increases damage done by Nature spells and effects by up to (%d+).", 31 | ["Equip: Increases damage done by Shadow spells and effects by up to (%d+)."] = "Equip: Increases damage done by Shadow spells and effects by up to (%d+).", 32 | 33 | ["Shadow Damage %+(%d+)"] = "Shadow Damage %+(%d+)", 34 | ["Spell Damage %+(%d+)"] = "Spell Damage %+(%d+)", 35 | ["Fire Damage %+(%d+)"] = "Fire Damage %+(%d+)", 36 | ["Frost Damage %+(%d+)"] = "Frost Damage %+(%d+)", 37 | ["Healing Spells %+(%d+)"] = "Healing Spells %+(%d+)", 38 | 39 | ["Equip: Restores (%d+) mana per 5 sec."] = "Equip: Restores (%d+) mana per 5 sec.", 40 | ["+(%d)%% Hit"] = "+(%d)%% Hit", 41 | 42 | -- Random Bonuses // https://wow.gamepedia.com/index.php?title=SuffixId&oldid=204406 43 | ["^%+(%d+) Damage and Healing Spells"] = "^%+(%d+) Damage and Healing Spells", 44 | ["^%+(%d+) Arcane Spell Damage"] = "^%+(%d+) Arcane Spell Damage", 45 | ["^%+(%d+) Fire Spell Damage"] = "^%+(%d+) Fire Spell Damage", 46 | ["^%+(%d+) Frost Spell Damage"] = "^%+(%d+) Frost Spell Damage", 47 | ["^%+(%d+) Holy Spell Damage"] = "^%+(%d+) Holy Spell Damage", 48 | ["^%+(%d+) Nature Spell Damage"] = "^%+(%d+) Nature Spell Damage", 49 | ["^%+(%d+) Shadow Spell Damage"] = "^%+(%d+) Shadow Spell Damage", 50 | ["^%+(%d+) mana every 5 sec."] = "^%+(%d+) mana every 5 sec.", 51 | 52 | -- snowflakes ZG enchants 53 | ["/Hit %+(%d+)"] = "/Hit %+(%d+)", 54 | ["/Spell Hit %+(%d+)"] = "/Spell Hit %+(%d+)", 55 | ["^Mana Regen %+(%d+)"] = "^Mana Regen %+(%d+)", 56 | ["^%+(%d+) Healing Spells"] = "^%+(%d+) Healing Spells", 57 | ["^%+(%d+) Spell Damage and Healing"] = "^%+(%d+) Spell Damage and Healing", 58 | 59 | ["Equip: Increases damage and healing done by magical spells and effects by up to (%d+)."] = "Equip: Increases damage and healing done by magical spells and effects by up to (%d+).", 60 | ["Equip: Increases healing done by spells and effects by up to (%d+)."] = "Equip: Increases healing done by spells and effects by up to (%d+).", 61 | 62 | -- auras 63 | ["Chance to hit increased by (%d)%%."] = "Chance to hit increased by (%d)%%.", 64 | ["Magical damage dealt is increased by up to (%d+)."] = "Magical damage dealt is increased by up to (%d+).", 65 | ["Healing done by magical spells is increased by up to (%d+)."] = "Healing done by magical spells is increased by up to (%d+).", 66 | ["Chance to hit reduced by (%d+)%%."] = "Chance to hit reduced by (%d+)%%.", 67 | ["Chance to hit decreased by (%d+)%% and %d+ Nature damage every %d+ sec."] = "Chance to hit decreased by (%d+)%% and %d+ Nature damage every %d+ sec.", 68 | ["Lowered chance to hit."] = "Lowered chance to hit.", -- 5917 Fumble (25%) 69 | ["Increases hitpoints by 300. 15%% haste to melee attacks. 10 mana regen every 5 seconds."] = "Increases hitpoints by 300. 15%% haste to melee attacks. 10 mana regen every 5 seconds.", 70 | ["Improves your chance to hit by (%d+)%%."] = "Improves your chance to hit by (%d+)%%.", 71 | ["Chance for a critical hit with a spell increased by (%d+)%%."] = "Chance for a critical hit with a spell increased by (%d+)%%.", 72 | ["While active, target's critical hit chance with spells and attacks increases by 10%%."] = "While active, target's critical hit chance with spells and attacks increases by 10%%.", 73 | ["Increases attack power by %d+ and chance to hit by (%d+)%%."] = "Increases attack power by %d+ and chance to hit by (%d+)%%.", 74 | ["Holy spell critical hit chance increased by (%d+)%%."] = "Holy spell critical hit chance increased by (%d+)%%.", 75 | ["Destruction spell critical hit chance increased by (%d+)%%."] = "Destruction spell critical hit chance increased by (%d+)%%.", 76 | ["Arcane spell critical hit chance increased by (%d+)%%.\r\nArcane spell critical hit damage increased by (%d+)%%."] = "Arcane spell critical hit chance increased by (%d+)%%.\r\nArcane spell critical hit damage increased by (%d+)%%.", 77 | ["Spell hit chance increased by (%d+)%%."] = "Spell hit chance increased by (%d+)%%.", 78 | 79 | ["Increases chance for a melee, ranged, or spell critical by (%d+)%% and all attributes by %d+."] = "Increases chance for a melee, ranged, or spell critical by (%d+)%% and all attributes by %d+.", 80 | ["Melee critical-hit chance reduced by (%d+)%%.\r\nSpell critical-hit chance reduced by (%d+)%%."] = "Melee critical-hit chance reduced by (%d+)%%.\r\nSpell critical-hit chance reduced by (%d+)%%.", 81 | ["Increases critical chance of spells by 10%%, melee and ranged by 5%% and grants 140 attack power. 120 minute duration."] = "Increases critical chance of spells by 10%%, melee and ranged by 5%% and grants 140 attack power. 120 minute duration.", 82 | ["Holy spell critical hit chance increased by (%d+)%%."] = "Holy spell critical hit chance increased by (%d+)%%.", 83 | ["Destruction spell critical hit chance increased by (%d+)%%."] = "Destruction spell critical hit chance increased by (%d+)%%.", 84 | ["Critical strike chance with spells and melee attacks increased by (%d+)%%."] = "Critical strike chance with spells and melee attacks increased by (%d+)%%.", 85 | 86 | 87 | ["MELEE_HIT_TOOLTIP"] = [[|cffffffffHit|r 88 | Result of an attack made with 89 | melee or ranged weapons.]], 90 | 91 | ["SPELL_HIT_TOOLTIP"] = [[|cffffffffHit|r 92 | Result of an attack made with 93 | spells.]], 94 | 95 | ["SPELL_HIT_SECONDARY_TOOLTIP"] = [[|cffffffffHit %d%% (%d%%|cff20ff20+%d%% %s|r|cffffffff)|r 96 | Result of an attack made with 97 | spells.]], 98 | 99 | ["SPELL_POWER_TOOLTIP"] = [[|cffffffffSpell Power %d|r 100 | Increases damage done by spells and effects.]], 101 | 102 | ["SPELL_POWER_SECONDARY_TOOLTIP"] = [[|cffffffffSpell Power %d (%d|cff20ff20+%d %s|r|cffffffff)|r 103 | Increases damage done by spells and effects.]], 104 | 105 | ["SPELL_HEALING_POWER_TOOLTIP"] = [[|cffffffffHealing Power %d (%d|cff20ff20+%d|r|cffffffff)|r 106 | Increases healing done by spells and effects.]], 107 | 108 | ["SPELL_MANA_REGEN_TOOLTIP"] = [[|cffffffffMana regen %d (%d|cff20ff20+%d|r|cffffffff)|r 109 | Regenerating points of mana every 5 seconds.]], 110 | 111 | ["ROGUE_MELEE_HIT_TOOLTIP"] = [[ 112 | +5% hit to always hit enemy players. 113 | +8% hit to always hit with your special abilities against a raid boss. 114 | +24.6% hit to always hit a raid boss.]], 115 | 116 | PLAYERSTAT_BASE_STATS = "Base Stats", 117 | PLAYERSTAT_DEFENSES = "Defenses", 118 | PLAYERSTAT_MELEE_COMBAT = "Melee", 119 | PLAYERSTAT_RANGED_COMBAT = "Ranged", 120 | PLAYERSTAT_SPELL_COMBAT = "Spell", 121 | PLAYERSTAT_SPELL_SCHOOLS = "Schools", 122 | 123 | MELEE_HIT_RATING_COLON = "Hit Rating:", 124 | RANGED_HIT_RATING_COLON = "Hit Rating:", 125 | SPELL_HIT_RATING_COLON = "Hit Rating:", 126 | MELEE_CRIT_COLON = "Crit Chance:", 127 | RANGED_CRIT_COLON = "Crit Chance:", 128 | SPELL_CRIT_COLON = "Crit Chance:", 129 | MANA_REGEN_COLON = "Mana regen:", 130 | HEAL_POWER_COLON = "Healing:", 131 | DODGE_COLON = DODGE .. ":", 132 | PARRY_COLON = PARRY .. ":", 133 | BLOCK_COLON = BLOCK .. ":", 134 | 135 | SPELL_POWER_COLON = "Power:", 136 | 137 | SPELL_SCHOOL_ARCANE = "Arcane", 138 | SPELL_SCHOOL_FIRE = "Fire", 139 | SPELL_SCHOOL_FROST = "Frost", 140 | SPELL_SCHOOL_HOLY = "Holy", 141 | SPELL_SCHOOL_NATURE = "Nature", 142 | SPELL_SCHOOL_SHADOW = "Shadow", 143 | 144 | } -------------------------------------------------------------------------------- /BetterCharacterStats.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 |