flaming arrows plus a couple of well placed serpentines fended off 12 units of war elephants in a custom battle for me.

a threw some pikes in for defense, but they just got slaughtered