At 4th level, the Knight gets an ability called Armor mastery, which lets him move at normal speed in medium and eventually heavy armors. This is what I have got so far, culled from the Mithril scripts and modified a bit.
Phase: First Priority: 11000
~ If we're medium armor, remove the speed penalty
var result as number
if (hero.tagis[mClass.Medium] <> 0) then
result = delete[mCategory.Slows]
endif
However, it is not functioning when I equip medium armor, obviously, so how do I fix it? Thanks for your help, as always.
Phase: First Priority: 11000
~ If we're medium armor, remove the speed penalty
var result as number
if (hero.tagis[mClass.Medium] <> 0) then
result = delete[mCategory.Slows]
endif
However, it is not functioning when I equip medium armor, obviously, so how do I fix it? Thanks for your help, as always.