forked from External/mage
* Hushwing Gryff - Fixed that log message was sent out too often (fixes #4548).
This commit is contained in:
parent
871b035bb4
commit
5f98cb685e
5 changed files with 41 additions and 19 deletions
|
|
@ -50,6 +50,17 @@ public interface TriggeredAbility extends Ability {
|
|||
*/
|
||||
boolean checkEventType(GameEvent event, Game game);
|
||||
|
||||
/**
|
||||
* This method checks if the event has to trigger the ability. It's
|
||||
* important to do nothing unique within this method, that can't be done
|
||||
* multiple times. Because some abilities call this to check if an ability
|
||||
* is relevant (e.g. Torpor Orb), so the method is calle dmultiple times for
|
||||
* the same event.
|
||||
*
|
||||
* @param event
|
||||
* @param game
|
||||
* @return
|
||||
*/
|
||||
boolean checkTrigger(GameEvent event, Game game);
|
||||
|
||||
boolean checkInterveningIfClause(Game game);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue