[fixed]Terra Eternal doesn't make lands indestructible.
Moderators: BAgate, drool66, Aswan jaguar, gmzombie, stassy, CCGHQ Admins
[fixed]Terra Eternal doesn't make lands indestructible.
by Aswan jaguar » 06 May 2019, 13:05
Describe the Bug:
Terra Eternal doesn't make lands indestructible.
Which card did behave improperly?
Terra Eternal
Which update are you using? (date, name)Which type? (duel, gauntlet, sealed deck)
Manalink dev aee50a89 version - duel
What exactly should be the correct behavior/interaction?
Terra Eternal = All lands have indestructible.
Are any other cards possibly affected by this bug?
-
I have fixed a bug in special_abilities but still doesn't work:
Terra Eternal doesn't make lands indestructible.
Which card did behave improperly?
Terra Eternal
Which update are you using? (date, name)Which type? (duel, gauntlet, sealed deck)
Manalink dev aee50a89 version - duel
What exactly should be the correct behavior/interaction?
Terra Eternal = All lands have indestructible.
Are any other cards possibly affected by this bug?
-
I have fixed a bug in special_abilities but still doesn't work:
- code | Open
- Code: Select all
int card_terra_eternal(int player, int card, event_t event){
if( is_humiliated(player, card) )
return 0;
if( event == EVENT_CHECK_PUMP && is_what(affected_card_controller, affected_card, TYPE_LAND) &&
is_what(affected_card_controller, affected_card, TYPE_CREATURE) && ! is_tapped(affected_card_controller, affected_card) )
{
pumpable_toughness[player] += 99;
}
if( event == EVENT_ABILITIES && is_what(affected_card_controller, affected_card, TYPE_LAND) &&
in_play(affected_card_controller, affected_card) )
{
special_abilities(player, card, event, SP_KEYWORD_INDESTRUCTIBLE, affected_card_controller, affected_card);
}
return global_enchantment(player, card, event);
}
Last edited by Aswan jaguar on 08 May 2019, 12:32, edited 1 time in total.
Reason: fixed
Reason: fixed
---
Trying to squash some bugs and playtesting.
Trying to squash some bugs and playtesting.
-
Aswan jaguar - Super Tester Elite
- Posts: 8129
- Joined: 13 May 2010, 12:17
- Has thanked: 748 times
- Been thanked: 477 times
Re: Terra Eternal doesn't make lands indestructible.
by Korath » 08 May 2019, 05:40
special_abilities() takes the card to have the ability as its first two parameters, and the source of that ability as the last two. You've got them backwards.
-
Korath - DEVELOPER
- Posts: 3708
- Joined: 02 Jun 2013, 05:57
- Has thanked: 496 times
- Been thanked: 1108 times
Re: Terra Eternal doesn't make lands indestructible.
by Aswan jaguar » 08 May 2019, 12:32
Fixed in commit 6b3e8331.
---
Trying to squash some bugs and playtesting.
Trying to squash some bugs and playtesting.
-
Aswan jaguar - Super Tester Elite
- Posts: 8129
- Joined: 13 May 2010, 12:17
- Has thanked: 748 times
- Been thanked: 477 times
3 posts
• Page 1 of 1
Who is online
Users browsing this forum: Google [Bot] and 27 guests