fix(buffs): tinkering expertise spells are Creature Enchantment
SkillForBuff matched the Life Magic keyword "Armor" first, so Armor Tinkering Expertise and Prodigal Armor Expertise took their tier from Life Magic and a character without Life Magic never cast them. Names with "Tinkering" or "Armor Expertise" are Creature Enchantment, checked before the Life keywords. The host test is no longer a known failure.
This commit is contained in:
parent
0daf0a44a3
commit
bb3331e2d2
3 changed files with 33 additions and 4 deletions
21
Changelog/2026-10-08-fix-buff-armor-tinkering-school.md
Normal file
21
Changelog/2026-10-08-fix-buff-armor-tinkering-school.md
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
# Buffs - tinkering expertise spells are Creature Enchantment - 2026-10-08
|
||||
|
||||
## Fixed
|
||||
|
||||
- **Armor Tinkering Expertise is cast with Creature Enchantment.** `BuffManager.SkillForBuff`
|
||||
picks the magic school from the spell name and matched the Life Magic keyword "Armor" first,
|
||||
so Armor Tinkering Expertise (and Prodigal Armor Expertise) took its tier from Life Magic, and
|
||||
a character without Life Magic never cast it. Names with "Tinkering" or "Armor Expertise" are
|
||||
now Creature Enchantment, checked before the Life Magic keywords. Armor, Incantation of Armor
|
||||
and the protections stay Life Magic.
|
||||
|
||||
## Files
|
||||
|
||||
- `Plugins/RynthCore.Plugin.RynthAi/Combat/BuffManager.cs`: `SkillForBuff` tinkering rule.
|
||||
- `Tools/RynthCore.RynthAiHostTests/Tests/BuffTests.cs`: the Armor Tinkering test is a normal
|
||||
test now (was a known failure), and also checks the other tinkering expertise spells and that
|
||||
the Life Magic armor buffs are unchanged.
|
||||
|
||||
## Checks
|
||||
|
||||
- `buff` host tests: 35 passed, 0 known failures.
|
||||
Loading…
Reference in a new issue