add ext function
update for 9min battle :p
grunt