It is currently 08 Jul 2021, 00:16
   
Text Size

[fixed]Terra Eternal doesn't make lands indestructible.

Moderators: BAgate, drool66, stassy, Aswan jaguar, gmzombie, 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: 7450
Joined: 13 May 2010, 12:17
Has thanked: 639 times
Been thanked: 351 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: 3522
Joined: 02 Jun 2013, 05:57
Has thanked: 491 times
Been thanked: 1037 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: 7450
Joined: 13 May 2010, 12:17
Has thanked: 639 times
Been thanked: 351 times


Return to Archived Reports

Who is online

Users browsing this forum: No registered users and 4 guests


Who is online

In total there are 4 users online :: 0 registered, 0 hidden and 4 guests (based on users active over the past 10 minutes)
Most users ever online was 1922 on 07 Jun 2021, 06:01

Users browsing this forum: No registered users and 4 guests

Login Form