removed Object[] data

master
melvin 2012-08-30 20:56:59 +08:00
parent d631597135
commit 0d49521ede
1 changed files with 2 additions and 3 deletions

View File

@ -50,7 +50,6 @@ public class Angelheart_Vial {
return new MagicEvent( return new MagicEvent(
source, source,
player, player,
new Object[]{player},
this, this,
player + " gains 2 life and draws a card"); player + " gains 2 life and draws a card");
} }
@ -61,8 +60,8 @@ public class Angelheart_Vial {
final MagicEvent event, final MagicEvent event,
final Object[] data, final Object[] data,
final Object[] choiceResults) { final Object[] choiceResults) {
game.doAction(new MagicChangeLifeAction((MagicPlayer)data[0],2)); game.doAction(new MagicChangeLifeAction(event.getPlayer(),2));
game.doAction(new MagicDrawAction((MagicPlayer)data[0],1)); game.doAction(new MagicDrawAction(event.getPlayer(),1));
} }
}; };