It is currently 15 May 2025, 10:30
   
Text Size

[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.

Postby 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:
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
---
Trying to squash some bugs and playtesting.
User avatar
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.

Postby 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.
User avatar
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.

Postby Aswan jaguar » 08 May 2019, 12:32

Fixed in commit 6b3e8331.
---
Trying to squash some bugs and playtesting.
User avatar
Aswan jaguar
Super Tester Elite
 
Posts: 8129
Joined: 13 May 2010, 12:17
Has thanked: 748 times
Been thanked: 477 times


Return to Archived Reports

Who is online

Users browsing this forum: Google [Bot] and 27 guests


Who is online

In total there are 28 users online :: 1 registered, 0 hidden and 27 guests (based on users active over the past 10 minutes)
Most users ever online was 4143 on 23 Jan 2024, 08:21

Users browsing this forum: Google [Bot] and 27 guests

Login Form