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(
final MagicGame game,
final MagicPermanent permanent,
final MagicPermanent data) {
final MagicPlayer player = permanent.getController();
return (permanent==data) ?
final MagicPermanent attacker) {
return (permanent==attacker) ?
new MagicEvent(
permanent,
player,
this,
"Attacking creatures gain flying and lifelink until end of turn."):
"Attacking creatures gain flying and lifelink until end of turn."
):
MagicEvent.NONE;
}