Exemplo n.º 1
0
        private void Apply(GameObject go, IHealthable healthable)
        {
            if (healthable == null)
            {
                throw new Exception();
            }

            if (_proc.Proc(CalculateChance(_healthable, healthable)))
            {
                _nightmareAbility.UnitCast(go);
            }
        }