# AhjCharacterPanel

*A usable CharacterPanel without the massive bloat of useless crap — now back in active maintenance.*

AhjCharacterPanel is a community-maintained continuation of **BetterCharacterPanel**. It keeps the original lightweight philosophy while adding a full character-stats panel and staying up to date with the current game version. All configuration is shared across every character on your account.

## Features

- **Item level** — exact average item level (equipped / total, two decimals) at the top of the stats panel, color-coded by the same thresholds as the inspect badge.
- **Character stats panel** — replaces the default stats list with a scrollable, spec-filtered panel:
  - *General*: item level, health, power, move speed, average durability, repair cost
  - *Attributes*: strength / agility / intellect / stamina, armor, stagger, mana regen
  - *Offense*: damage, attack power, attack speed, energy / focus / rune regen, spell power
  - *Enhancements*: crit, haste, mastery, versatility, leech, avoidance, speed, dodge, parry, block — **two-decimal percentages**
  - *Ratings*: all combat ratings
- **Per-stat visibility** — click **Edit** (sidebar button) to enter edit mode: every entry and every category gets a checkbox, toggled on/off instantly. Choices are saved **account-wide** (all characters share the same config, no per-character settings, no settings window).
- **Gear slots** — on each equipped slot: item level with decimal precision, enchant label with icon (and a red **No Enchant** warning at max level), gem sockets, a durability bar, and repair cost when damaged.
- **Wrong-gear detection** — slots with an armor type or primary stat that doesn't match your class/spec are flagged with a red X and a desaturated icon.
- **Inspect support** — the same slot overlays when inspecting other players, plus their overall item level with color thresholds.
- **Secret-safe** — the stats panel hides automatically under combat lockdown / restricted maps to avoid secret-value errors.
- **Localized** — English, Simplified Chinese, Traditional Chinese.

## About this version

This is a community-maintained continuation of the original BetterCharacterPanel (All Rights Reserved). It is a **clean-room rewrite**: no code from the original addon is used. It is developed at [github.com/aohajin/AhjCharacterPanel](https://github.com/aohajin/AhjCharacterPanel).

---

# AhjCharacterPanel（中文）

*可用的角色面板——没有任何臃肿无用的东西，并且已恢复积极维护。*

AhjCharacterPanel 是 **BetterCharacterPanel** 的社区维护续作。它保留了原插件轻量简洁的理念，同时加入了完整的角色属性面板，并持续适配当前游戏版本。所有配置在你的账号下的**所有角色间共享**。

## 功能

- **物品等级** —— 属性面板顶部显示精确的平均装等（实装 / 总装，两位小数），颜色与观察面板使用同一套阈值。
- **角色属性面板** —— 替换默认属性区为可滚动、按专精过滤的面板：
  - *常规*：装等、生命、资源、移动速度、平均耐久、修理费用
  - *属性*：力量 / 敏捷 / 智力 / 耐力、护甲、醉拳、法力回复
  - *攻击*：伤害、攻击强度、攻击速度、能量 / 集中 / 符文回复、法术强度
  - *增强*：暴击、急速、精通、全能、吸血、闪避、速度、躲闪、招架、格挡 —— **百分比精确到两位小数**
  - *评级*：全部战斗评级
- **逐项显隐配置** —— 点击侧边栏 **编辑** 按钮进入编辑模式：每个条目、每个分类都有复选框，即时勾选/取消。配置**全局共享**（所有角色一致，无每角色设置、无设置界面）。
- **装备槽增强** —— 每个装备槽显示：带小数精度的装等、附魔名称与图标（满级缺附魔时显示红色**无附魔**提示）、宝石插槽、耐久条、损坏时的修理费用。
- **错误装备检测** —— 护甲类型或主属性与职业/专精不符的装备槽会标红 X 并去饱和图标。
- **观察支持** —— 观察他人时同样显示装备槽覆盖层，并显示其整体装等（带颜色阈值）。
- **Secret 安全** —— 战斗锁定期 / 受限地图中属性面板自动隐藏，避免 secret 值报错。
- **多语言** —— 英语、简体中文、繁体中文。

## 关于本版本

这是原 BetterCharacterPanel（All Rights Reserved）的社区维护续作。本插件为 **clean-room 重写**：不含原插件的任何代码。源码见 [github.com/aohajin/AhjCharacterPanel](https://github.com/aohajin/AhjCharacterPanel)。
