modify fight core logic