Exemple #1
0
        public override SkillEffect[] CreateAdditionalSkillEffects(Skill sk, SkillEffect[] effects)
        {
            if (sk.GetSkillId() == SkillId.SneezeShot)
            {
                SkillEffect[] newEffects = new SkillEffect[1];
                newEffects[0] = new EffectAreaDamage((int)AddValueByLevel(DAMAGE, DAMAGE_LEVEL_ADD), 0, AddValueByLevel(RADIUS, RADIUS_LEVEL_ADD));

                return(newEffects);
            }

            return(null);
        }
Exemple #2
0
        public override SkillEffect[] CreateAdditionalSkillEffects(Skill sk, SkillEffect[] effects)
        {
            if (sk.GetSkillId() == SkillId.SneezeShot)
            {
                SneezeShot skill = sk as SneezeShot;

                SkillEffect[] newEffects = new SkillEffect[1];
                newEffects[0] = new EffectAreaDamage(skill.baseDamage, 0, AddValueByLevel(RADIUS, RADIUS_LEVEL_ADD));

                return(newEffects);
            }

            return(null);
        }