rename data to blocker

master
melvin 2012-10-07 16:48:20 +08:00
parent ba05d3c71d
commit 587e1238d1
1 changed files with 4 additions and 4 deletions

View File

@ -10,15 +10,15 @@ import magic.model.trigger.MagicWhenBlocksTrigger;
public class Wall_of_Frost {
public static final MagicWhenBlocksTrigger T = new MagicWhenBlocksTrigger() {
@Override
public MagicEvent executeTrigger(final MagicGame game,final MagicPermanent permanent,final MagicPermanent data) {
public MagicEvent executeTrigger(final MagicGame game,final MagicPermanent permanent,final MagicPermanent blocker) {
final MagicPermanent blocked=permanent.getBlockedCreature();
return (permanent==data && blocked.isValid()) ?
return (permanent==blocker && blocked.isValid()) ?
new MagicEvent(
permanent,
permanent.getController(),
blocked,
this,
blocked+" doesn't untap during its controller's next untap step."):
"RN doesn't untap during its controller's next untap step."
):
MagicEvent.NONE;
}
@Override