fix error when act.action is nil

Occurs from status effect generating aoes, like Graupel Formations.
Merge pull request #943 from SnickySnacks/4.1-dev

Battlemod: fix lua error when act.action is nil