bug in battle getAllies