[1.004][BUG] Mass curse does not remove pierce defence

2,501 views 4 replies
Reply #1 Top

It is for Mass Curse only. The problem is a capital letter misplaced in the calculation:

       <GameModifier>
            <ModType>Unit</ModType>
            <Attribute>AdjustUnitStat</Attribute>
            <StrVal>UnitStat_Defense_Pierce</StrVal>
            <Duration>3</Duration>
            <Calculate InternalName="Calc" ValueOwner="TargetUnit">
                <Expression><![CDATA[[UnitStat_Defense_PIerce] * -1]]></Expression>
            </Calculate>
            <Calculate InternalName="Value">
                <Expression><![CDATA[[Calc]]]></Expression>
            </Calculate>
        </GameModifier>

 

Reply #2 Top

I still wish for a separate pierce defense showing up, but thanks both of you for finding this :D

~ Kongdej

Reply #3 Top

Quoting Heavenfall, reply 1
It is for Mass Curse only.
End of Heavenfall's quote

Thanks for tracking it down. I've updated the post title.

Reply #4 Top

Fixed thanks (specially to Heavenfall for the fix)