static void CreateAttackSkills() { EffectSec effect1; // make the Slash Attack affix file effect1 = new EffectSec("dynamic", "damage", 40, 80); effect1.duration = "instant"; effect1.statModifyName = "melee"; effect1.statModifyPercent = "100"; CreateSkillAffix("WhirlingGust", new EffectSec[] { effect1 }); // prepare the Slash Attack skill file SkillFile skill = new SkillFile("WhirlingGust", "warrior/whirlinggust/"); skill.name = "Whirling Gust"; skill.displayName = "Slash Attack"; skill.description = "Attacks all foes in front of you\\nwith all equipped weapons\\n"; skill.skillIconActive = "skill_slash"; skill.skillIconInactive = "skill_slash_gray"; skill.animation = "Special_Cleave"; skill.animationDW = "Special_DWCleave"; skill.range = 2; skill.requirementRight = "melee"; skill.requirementLeft = "melee"; skill.maxInvestLevel = 100; skill.uniqueGUID = 7711097244085326302; CreateSkillLevels(skill, "WhirlingGust", "media/skills/warrior/whirlinggust/whirlinggust.layout", true); skill.Create(); }