代码如下: package t11; import java.util.Random; public class Fight { String name; int life, attack, speed, crit, armor;// 生命.攻击力,攻速,暴击,护甲 void set_Fight(String a,int a1, int a2, int a3, int a4, int a5)//可改为构造函数 { name=a; life = a1; attack = a2; speed = a…