コード例 #1
0
 public Bot(int level)
     : base(RandomeEvilName.RandomName(RandomeEvilName.RobotNames), level)
 {
     this.mentalPower = this.TotalEnergy / EnergyToMentalPowerRatio;
     this.mentalSuccess = Randomizer.Rand.Next(MentalSuccessMin, MentalSuccessMax + 1);
     this.mentalAttack = new Power(AttackTypeEnum.ForceAttack, MentalAttackName, this.mentalPower, this.mentalSuccess);
 }
コード例 #2
0
 public Assassin(int level)
     : base(RandomeEvilName.RandomName(RandomeEvilName.RobotNames), level)
 {
     this.forcePower = this.TotalEnergy / EnergyToForcePowerRatio;
     this.forceSuccess = Randomizer.Rand.Next(ForceSuccessMin, ForceSuccessMax + 1);
     this.forceAttack = new Power(AttackTypeEnum.ForceAttack, ForceAttackName, this.forcePower, this.forceSuccess);
 }