rename data to attacker

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

View File

@ -23,14 +23,13 @@ public class Victory_s_Herald {
public MagicEvent executeTrigger( public MagicEvent executeTrigger(
final MagicGame game, final MagicGame game,
final MagicPermanent permanent, final MagicPermanent permanent,
final MagicPermanent data) { final MagicPermanent attacker) {
final MagicPlayer player = permanent.getController(); return (permanent==attacker) ?
return (permanent==data) ?
new MagicEvent( new MagicEvent(
permanent, permanent,
player,
this, this,
"Attacking creatures gain flying and lifelink until end of turn."): "Attacking creatures gain flying and lifelink until end of turn."
):
MagicEvent.NONE; MagicEvent.NONE;
} }