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
|
|
@ -3755,6 +3755,11 @@ public class BuffManager : IDisposable
|
|||
name.Contains("Bane"))
|
||||
return AcSkillType.ItemEnchantment;
|
||||
|
||||
// Tinkering skill buffs (Armor Tinkering Expertise, Prodigal Armor Expertise) are Creature
|
||||
// Enchantment; checked before the Life Magic "Armor" match below.
|
||||
if (name.Contains("Tinkering") || name.Contains("Armor Expertise"))
|
||||
return AcSkillType.CreatureEnchantment;
|
||||
|
||||
if (name.Contains("Protection") || name.Contains("Armor") ||
|
||||
name.Contains("Regeneration") || name.Contains("Rejuvenation") ||
|
||||
name.Contains("Renewal") || name == "Harlune's Blessing" ||
|
||||
|
|
|
|||
Loading…
Reference in a new issue