Re: Spawnsire of Ulamog
Fixed.
High Quality Resources for Collectible Card Games and Home of the CCGHQ Team
https://www.slightlymagic.net/forum/
https://www.slightlymagic.net/forum/viewtopic.php?f=110&t=4108
//----- (00457720) --------------------------------------------------------
int __usercall _LEGACY_EFFECT_DESERT<eax>(int a1<edi>, int a2<esi>, int player, int card, signed int event)
{
if ((_TRIGGER_CONDITION == TRIGGER_END_COMBAT || event == EVENT_SHOULD_AI_PLAY)
&& card == _AFFECTED_CARD && player == _AFFECTED_CARD_CONTROLLER)
{
if (event == EVENT_TRIGGER)
_EVENT_RESULT |= 2;
if (event == EVENT_RESOLVE_TRIGGER || event == EVENT_SHOULD_AI_PLAY)
{
card_instance_t* instance =_GET_CARD_INSTANCE_EXE(player, card);
if (instance->damage_target_player != -1)
_DAMAGE_CREATURE(instance->damage_target_player, instance->damage_target_card, 1, instance->damage_source_player, instance->damage_source_card);
_KILL_CARD(player, card, KILL_BURY);
}
}
}
}
return 0;
}I'm curious about this too... The times that it has come up, I have never been able to successfully active my own desert against an attacker.Gargaroz wrote:The probalem is that I have no idea how "the end of combat step" works in Manalink, so I cannot fix this...