-make fighting logic using lua script

Signed-off-by: ymsquall <ymsquare@hotmail.com>