promotional bannermobile promotional banner

Plater Name Plates - Target of Target

Short label so you can see “who is this mob targeting?"

File Details

PlaterTOT 2.0.0.zip

  • R
  • Mar 22, 2026
  • 187.28 KB
  • 123
  • 2.5.5
  • Classic TBC

File Name

PlaterTOT 2.0.0.zip

Supported Versions

  • 2.5.5
# PlaterTOT Changelog

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).

---

## [Unreleased]

- None.

---

## [2.0.0] - 2026-03-09

### Added

- **Auto “Use Tank Threat Colors”** – On non-Retail clients, syncs `Plater.db.profile.tank_threat_colors` from role/talents/class signals so you don’t toggle Plater’s option by hand. **Does not modify Plater files**; survives Plater updates unless Plater removes/changes those APIs.
- **Saved setting** `PlaterTOTDB.autoTankThreatColors` (default on), `## SavedVariables: PlaterTOTDB` in TOC.
- **Slash:** `/platertot tankthreat on|off|status` (short: `tt on|off`).

### Changed

- **Release** – **2.0.0** (major version bump from 1.x).
- Sync runs on **all Classic** (including **WotLK / Mists / 20th Anniversary**); earlier logic skipped WotLK/MoP so the option never updated there.
- **Warrior:** `GetTalentGroupRole` / party role first; then Details!Framework `GetRoleByClassicTalentTree` for Protection; then defensive stance (form 18), shield (not Gladiator 24).
- **Paladin:** Righteous Fury buff spell IDs **25780** / **407627** when role APIs are empty.
- **Druid:** Bear / Dire Bear only (`GetShapeshiftFormID` **5** / **8**); any non-bear form forces DPS mode for this option (cat, caster, travel, etc.).

### Fixed

- **SavedVariables:** `PlaterTOTDB` must be global (was `local`, so settings could fail to persist).
- **MoP:** Removed reliance on undefined `IS_WOW_PROJECT_CLASSIC_MOP` global.
- **Druid form switch:** Some builds don’t fire `UPDATE_SHAPESHIFT_FORM` reliably; **poll `GetShapeshiftFormID` on the existing throttled OnUpdate** (~0.15s) so bear ↔ cat updates the checkbox.
- **UNIT_AURA** throttling (~0.4s) for RF/other auras; immediate sync on equipment, shapeshift event, group, entering world, login (delayed 1.5s).

---

## [1.0.3] - 2025-03-09

### Changed

- **Version bump** – For CurseForge re-upload (previous reject due to duplicate file). No gameplay changes from 1.0.2.

---

## [1.0.2] - 2025-03-09

### Changed

- **"T" color by relation** – The "T" prefix is red when the target of target is an enemy; white when friendly.
- **Target name** – Always white (no class color on name; bar fill keeps class color).

---

## [1.0.1] - 2025-03-09

### Fixed

- **TOT health bar class color** – The selection overlay was drawn above the class-colored fill (ARTWORK layer), making the bar look washed out. The overlay is now on the BACKGROUND layer below the fill (sublayers 1 and 2), so the class color displays clearly on top.

---

## [1.0.0] - 2025-03-09

### Added

- **Target of Target on nameplates** – Shows who the nameplate unit is targeting above the health bar when that target is not the player.
- **Display format** – `T : [target name]` with white text and thin black outline for readability.
- **Class-colored health bar** – Bar background is semi-transparent (like Plater’s health bar); fill uses the target’s class color and is fully opaque.
- **Health-based fill** – Fill width reflects the TOT target’s current health percentage (left-to-right).
- **Bar width** – Bar length follows the text width (name length).
- **Plater integration** – Hides Plater’s built-in TOT text so only PlaterTOT’s bar is shown. Does not modify Plater files.
- **Dependency** – Declares Plater as a dependency in the TOC.
- **Compatibility** – Supports multiple WoW clients (Retail, Classic, TBC, Wrath, etc.) via Interface version tags in the TOC.

### Technical

- Uses `NAME_PLATE_UNIT_ADDED` / `NAME_PLATE_UNIT_REMOVED` and a throttled update loop for performance.
- TOT frame is parented to Plater’s health bar with a higher frame level so it draws above buff/debuff icons.


---

# PlaterTOT 변경 기록 (한글)

이 프로젝트의 주요 변경 사항을 이 파일에 기록합니다.

형식은 [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)를 따릅니다.

---

## [미배포]

- 없음.

---

## [2.0.0] - 2026-03-09

### 추가됨

- **Tank Threat Colors 자동 동기화** – 메인라인이 아닌 클라이언트에서 `Plater.db.profile.tank_threat_colors`를 역할·재능·직업 신호에 맞춤. **Plater 파일은 수정하지 않음**; Plater가 해당 API/필드를 없애지 않는 한 업데이트 후에도 PlaterTOT만 유지보수하면 됨.
- **저장** `PlaterTOTDB.autoTankThreatColors`(기본 켜짐), TOC에 `## SavedVariables: PlaterTOTDB`.
- **명령어** `/platertot tankthreat on|off|status` (`tt on|off`).

### 변경됨

- **버전** – **2.0.0** (1.x 대비 메이저 상향).
- **WotLK / 판다리아 / 20주년** 등 클래식 전체에서 동기화(이전에는 WotLK·MoP에서 아예 안 돌아가던 문제).
- **전사:** 재능 역할 → Details! `GetRoleByClassicTalentTree`(방어 우세) → 방어 태세(18)·방패(글래디 24 제외).
- **성기사:** 역할 비었을 때 정의의 분노 **25780** / **407627**.
- **드루이드:** 곰(5)·광포 곰(8)만 탱; **비곰 폼이면 무조건 딜** 쪽으로 옵션 맞춤.

### 수정됨

- **SavedVariables:** `local PlaterTOTDB`로 저장이 안 되던 문제(전역 테이블로 수정).
- **MoP:** 정의되지 않은 `IS_WOW_PROJECT_CLASSIC_MOP` 전역 참조 제거.
- **드루 폼 전환:** `UPDATE_SHAPESHIFT_FORM`이 안 오는 빌드 대비, 기존 쓰로틀 **OnUpdate**에서 `GetShapeshiftFormID` 폴링(~0.15초).
- 플레이어 **UNIT_AURA** 쓰로틀(~0.4초), 장비·파티·맵·로그인 시 즉시(또는 로그인 1.5초 후) 동기화.

---

## [1.0.3] - 2025-03-09

### 변경됨

- **버전 상향** – CurseForge 재업로드용(동일 파일 중복 업로드 reject 대응). 1.0.2 대비 동작 변경 없음.

---

## [1.0.2] - 2025-03-09

### 변경됨

- **"T" 색상** – 대상의 대상이 적이면 "T" 빨간색, 아군이면 흰색.
- **대상 이름** – 항상 흰색(이름은 직업색 미적용, 바 채움만 직업색 유지).

---

## [1.0.1] - 2025-03-09

### 수정됨

- **TOT 체력바 직업색** – 대상 선택 오버레이가 직업색 채움 위(ARTWORK 레이어)에 그려져 바가 흐려 보이던 문제를 수정했습니다. 오버레이를 BACKGROUND 레이어로 옮겨 채움 아래(sublayer 1/2)에 그리도록 해, 직업색이 위에 선명하게 보이게 했습니다.

---

## [1.0.0] - 2025-03-09

### 추가됨

- **이름표 위 대상의 대상(TOT)** – 이름표 유닛이 플레이어가 아닌 대상을 타겟할 때, 체력바 위에 그 대상을 표시합니다.
- **표시 형식** – 가독성을 위해 흰색 텍스트와 얇은 검정 외곽선으로 `T : [대상 이름]` 표시.
- **직업색 체력바** – 바 배경은 반투명(Plater 체력바와 유사); 채움은 대상의 직업색을 사용하며 완전 불투명.
- **체력 비율 채움** – 채움 너비는 TOT 대상의 현재 체력 비율(왼쪽→오른쪽)을 반영합니다.
- **바 너비** – 바 길이는 텍스트(이름) 너비에 맞춰집니다.
- **Plater 연동** – Plater 기본 TOT 텍스트를 숨기고 PlaterTOT 바만 표시. Plater 파일은 수정하지 않습니다.
- **의존성** – TOC에 Plater를 의존성으로 선언.
- **호환성** – TOC의 Interface 버전 태그로 여러 WoW 클라이언트(리테일, 클래식, TBC, wrath 등) 지원.

### 기술 사항

- 성능을 위해 `NAME_PLATE_UNIT_ADDED` / `NAME_PLATE_UNIT_REMOVED`와 쓰로틀된 업데이트 루프 사용.
- TOT 프레임은 Plater 체력바에 부모로 붙으며 더 높은 프레임 레벨로 버프/디버프 아이콘 위에 그려집니다.