├── scripts ├── GenerateBaseArmor │ ├── .nvmrc │ ├── .gitignore │ ├── package.json │ ├── GenerateBaseArmor.mts │ └── tsconfig.json └── GenerateStatLocales │ ├── .nvmrc │ ├── .gitignore │ ├── TestCases.lua │ ├── package.json │ ├── StatLocaleData.json │ └── tsconfig.json ├── RB-Example.jpg ├── images └── Sigma.blp ├── .gitignore ├── .github ├── ISSUE_TEMPLATE │ ├── feature_request.md │ └── bug_report.yml └── workflows │ └── release.yml ├── LanguageServerOverrides.lua ├── .editorconfig ├── locales ├── locales.xml └── enUS.lua ├── libs └── StatLogic │ ├── locales │ ├── locales.xml │ └── GlobalPatterns.lua │ ├── StatLogic_TBC.toc │ ├── StatLogic_Vanilla.toc │ ├── StatLogic.toc │ ├── StatLogic_Mists.toc │ ├── StatLogic_Wrath.toc │ ├── Init.lua │ ├── Global_Logic.lua │ ├── Stats.lua │ ├── libs │ └── UTF8 │ │ └── utf8.lua │ └── DiminishingReturns.lua ├── embeds.xml ├── RatingBuster_TBC.toc ├── RatingBuster_Vanilla.toc ├── RatingBuster.toc ├── RatingBuster_Mists.toc ├── RatingBuster_Wrath.toc ├── .pkgmeta ├── TipHooker.lua ├── .luarc.json ├── README.md ├── changelog_pre_git.txt ├── reference.txt └── LICENSE.txt /scripts/GenerateBaseArmor/.nvmrc: -------------------------------------------------------------------------------- 1 | lts/jod 2 | -------------------------------------------------------------------------------- /scripts/GenerateStatLocales/.nvmrc: -------------------------------------------------------------------------------- 1 | lts/jod 2 | -------------------------------------------------------------------------------- /scripts/GenerateBaseArmor/.gitignore: -------------------------------------------------------------------------------- 1 | *.csv 2 | *.lua 3 | -------------------------------------------------------------------------------- /scripts/GenerateStatLocales/.gitignore: -------------------------------------------------------------------------------- 1 | DB2 2 | locales 3 | -------------------------------------------------------------------------------- /RB-Example.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raethkcj/RatingBuster/HEAD/RB-Example.jpg -------------------------------------------------------------------------------- /images/Sigma.blp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raethkcj/RatingBuster/HEAD/images/Sigma.blp -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | libs/* 2 | !libs/TipHooker-1.0 3 | !libs/StatLogic 4 | .release 5 | .vscode 6 | node_modules 7 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Feature request 3 | about: Suggest an idea for this project 4 | title: "[Feature Request]" 5 | labels: enhancement 6 | assignees: '' 7 | 8 | --- 9 | 10 | 11 | -------------------------------------------------------------------------------- /scripts/GenerateStatLocales/TestCases.lua: -------------------------------------------------------------------------------- 1 | local L, StatLogic = {}, {} 2 | L["mana regen %s per %s sec"] = {StatLogic.Stats.ManaRegen, false, } 3 | L["%s health and mana every %s sec"] = {{StatLogic.Stats.HealthRegen, StatLogic.Stats.ManaRegen, }, false, } 4 | L["alle %s sek. %s mana"] = {false, StatLogic.Stats.ManaRegen, } 5 | -------------------------------------------------------------------------------- /LanguageServerOverrides.lua: -------------------------------------------------------------------------------- 1 | ---@meta 2 | 3 | ---@class ClassicGameTooltip : GameTooltip 4 | local ClassicGameTooltip = {} 5 | 6 | ---@return integer 7 | function ClassicGameTooltip:NumLines() end 8 | 9 | ---@return Frame? 10 | function ClassicGameTooltip:GetOwner() end 11 | 12 | ---@param school 1|2|3|4|5|6|7 13 | ---@return number 14 | function GetSpellCritChance(school) end -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- 1 | # EditorConfig is awesome: https://EditorConfig.org 2 | 3 | # top-most EditorConfig file 4 | root = true 5 | 6 | [*] 7 | indent_style = tab 8 | indent_size = 4 9 | end_of_line = lf 10 | charset = utf-8 11 | trim_trailing_whitespace = true 12 | insert_final_newline = true 13 | 14 | [*.{lua,toc,xml}] 15 | end_of_line = crlf 16 | insert_final_newline = false 17 | 18 | [*.lua] 19 | trailing_table_separator = smart 20 | 21 | [.pkgmeta] 22 | indent_style = space 23 | -------------------------------------------------------------------------------- /scripts/GenerateBaseArmor/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "generatebasearmor", 3 | "version": "1.0.0", 4 | "description": "", 5 | "main": "GenerateBaseArmor.mts", 6 | "scripts": { 7 | "test": "echo \"Error: no test specified\" && exit 1" 8 | }, 9 | "author": "", 10 | "license": "GPL-2.0", 11 | "engines": { 12 | "node": "~22" 13 | }, 14 | "dependencies": { 15 | "@duckdb/node-api": "^1.3.1-alpha.22" 16 | }, 17 | "devDependencies": { 18 | "@types/node": "^22.10.5", 19 | "tsx": "^4.19.2" 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /scripts/GenerateStatLocales/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "generatestatlocales", 3 | "version": "1.0.0", 4 | "description": "", 5 | "main": "GenerateStatLocales.mjs", 6 | "scripts": { 7 | "test": "echo \"Error: no test specified\" && exit 1" 8 | }, 9 | "author": "", 10 | "license": "GPL-2.0", 11 | "engines": { 12 | "node": "~22" 13 | }, 14 | "dependencies": { 15 | "@duckdb/node-api": "^1.3.1-alpha.22", 16 | "typescript": "^5.8.2" 17 | }, 18 | "devDependencies": { 19 | "@types/node": "^22.10.5", 20 | "tsx": "^4.19.2" 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /locales/locales.xml: -------------------------------------------------------------------------------- 1 | 3 | 4 |