示例#1
0
        public IEnumerable <BattleEffect> Affect(CombatUnit self, CombatUnit target)
        {
            var damageType = Helper.Test(self.CriticalChance, target.BlockChance, 0);
            var ratio      = Value * self.Charge / 100f;

            return(self.DoAttack(target, AttackType.Tactic, damageType, ratio));
        }