It is currently 11 Sep 2025, 22:19
   
Text Size

Landfall

Post MTG Forge Related Programming Questions Here

Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, CCGHQ Admins

Landfall

Postby Chris H. » 13 Apr 2010, 20:46

The Hedron Crab's Landfall ability puts a message on the stack when the computer puts a land into play. The number "1" is displayed but there is no additional message … I'm guessing that it needs a setStackDescription.

In GameActionUtil I see that the setStackDescription line of code has been commented put. I guess that it was too wordy? Should we put something shorter in it's place?

Code: Select all
ability.setStackDescription(c.getName() + " - Landfall ability activates.");
`
Or replace "activates" with "triggers".
User avatar
Chris H.
Forge Moderator
 
Posts: 6320
Joined: 04 Nov 2008, 12:11
Location: Mac OS X Yosemite
Has thanked: 644 times
Been thanked: 643 times

Return to Developer's Corner

Who is online

Users browsing this forum: No registered users and 24 guests

Main Menu

User Menu

Our Partners


Who is online

In total there are 24 users online :: 0 registered, 0 hidden and 24 guests (based on users active over the past 10 minutes)
Most users ever online was 7967 on 09 Sep 2025, 23:08

Users browsing this forum: No registered users and 24 guests

Login Form