internal static ISpell generatedBy(Actors.Hand right, Actors.Hand left) { if (right.lastGestures(3) == combo1 || right.lastGestures(3) == combo2 ) { return new CounterSpell(right); } if (left.lastGestures(3) == combo1 || left.lastGestures(3) == combo2) { return new CounterSpell(left); } return null; }
internal static ISpell generatedBy(Actors.Hand right, Actors.Hand left) { if (right.lastGestures(1) == combo) { return new Shield(right); } if (left.lastGestures(1) == combo) { return new Shield(left); } return null; }
internal static ISpell generatedBy(Actors.Hand right, Actors.Hand left) { if (right.lastGestures(3) == combo) { return new Confusion(right); } if (left.lastGestures(3) == combo) { return new Confusion(left); } return null; }