예제 #1
0
            public (float, Enums.DamageType) AddStack()
            {
                if (++_stackNumber >= _maxStacks)
                {
                    Buff.BuffProperties buffProperties = new Buff.BuffProperties();
                    ++buffProperties.Stunned;

                    BuffThunderProc buff = new BuffThunderProc(buffProperties, 1.5f);

                    List <Buff> buffs = new List <Buff>();
                    buffs.Add(buff);
                    Attack attack = new Attack(Enums.TargetingSystem.Self, Enums.DamageType.none, 0, 0, 0, null, buffs);
                    attack.AddSource(_target);
                }
                return(0, Enums.DamageType.none);
            }