DLC_03 Loot Pack Bug - Enzo's Knife doesn't appear to subtract 1 Armor per hit

Enzo_Effect, a spell ability for Enzo's Knife that is meant to reduce armor by 1 for each successful attack, doesn't appear to do so (no change to the defender's armor stat and no apparent change to the amount of damage done by the Knife).

There is a bug either in the XML code or the supporting hard code for items that reduce armor (as far as I know, if an item attack reduces or increases a stat, it will always show an effect on the unit information in battle).

4,088 views 4 replies
Reply #2 Top

Well, I tested it in two or three battles, and it didn't noticeably reduce the armor of the unit that got hit (right-clicking on the unit after it got hit).  So if it's working for you and showing up in the unit details in battle, I don't know what's occurring.  There shouldn't be any mod conflict because Enzo's Knife comes from the Loot Pack DLC and you are not allowed to include even the abilities in regular mods, AFAIK.

Any other reports, one way or the other?  Have some people seen it noticeably reduce armor (Enzo Effect or such, -1 to Armor) in the unit information in battle?

Reply #3 Top

The Enzo Effect spell is missing a tag in its <GameModifier> definition: <Duration>-1</Duration>

Reply #4 Top

Quoting Hellions, reply 3

The Enzo Effect spell is missing a tag in its <GameModifier> definition: <Duration>-1</Duration>
End of Hellions's quote

Good catch, you are right!  I'll get it fixed.