Changed getAction() signature to incorporate current unit and battle
context