v1.2.0
What's new
lightweight tag d5c93b6a17b87f4a59464c721476c747e311eda5 v1.2.0
Author: Entrail09 <adrian.horstmann.ah@gmail.com>
Date: Wed Jul 22 16:08:48 2026 +0200
commit d5c93b6a17b87f4a59464c721476c747e311eda5
Author: Entrail09 <adrian.horstmann.ah@gmail.com>
Date: Wed Jul 22 16:08:48 2026 +0200
Fix known 1H weapons showing as trainable; cover all client locales
The skill scan matched skill window lines against proficiency spell
names assuming they are identical. They are not for the one-handed
types: the spells are named "One-Handed Swords/Axes/Maces" while the
skill lines are just "Swords/Axes/Maces", so those skills were never
detected and known weapons kept the yellow trainer lines.
Matching now runs in passes: a per-locale alias table (ruRU and koKR
rename lines with no substring overlap) and exact names first, then
unique containment of the case-folded line name inside a spell name,
with IsPlayerSpell breaking 1H-vs-2H ties. Case folding handles Latin-1
and Cyrillic capitals ("Äxte" hides as "einhandäxte"; "Мечи" as
"одноручные мечи"). If no line resolves at all, IsPlayerSpell still
turns the tooltip green - rankless - so a false yellow can never
reappear in any locale. Spell names that fail to load on the first
scan are also re-fetched now instead of being cached incomplete.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This mod has no additional files

