Re: DOTP2012 Bug fixes
Posted: 05 Jun 2012, 11:53
I just found another bug while browsing the cards' codes: Guul Draz Vampire gets the intimidate badge only when the condition is OK, but the EVASION_TEST that makes intimidate work is always active! And that trigger would be better as internal and pre-triggered, like on Spectral Rider.
The fix would be like this:
The fix would be like this:
- Code: Select all
<TRIGGERED_ABILITY internal="1" pre_trigger="1">
<TRIGGER value="EVASION_TEST" simple_qualifier="self">
if AnyOpponentBloodied( Object():GetController() ) then
return ((SecondaryObject():GetColour():TestAny( Object():GetColour() ) == 0) and (SecondaryObject():GetCardType():Test( CARD_TYPE_ARTIFACT ) == 0))
else
return false
end
</TRIGGER>
</TRIGGERED_ABILITY>