key = HintAll.HINT_SITUATION_ACTIVATION;
if (action.type == EAIAction.ACTION_PLAY_CARD)
key = HintAll.HINT_SITUATION_CARD_PLAYED;
if (action.getSCard().isInstant())
key = HintAll.HINT_SITUATION_INSTANT;
CardSim source = action.getSCard();
if (!EAIHelper.isBufCard(source, key)) continue;
// now all Buf targets of
// our played card should be worth the buf
// meaning should be attacking!
// if not verification failed!
Vector<EAIAction> targets = action.targets;
for (int t=0; t< targets.size(); t++)
{
EAIAction tAction = targets.elementAt(t);
CardSim target = tAction.getSCard();
if (target==null) continue; // e.g. samite healer protects player, than target is null!
boolean found = false;
for (int v=i+1; v< doneActions.size(); v++)
{
CardSim cs = doneActions.elementAt(v).getSCard();
if (cs.getCard().getUniqueID().equals(target.getCard().getUniqueID()))
{
found = true;
break;
}
}