private static void AddSub(SkillIDs baseskill, int levels, SkillCommand func) { for (int i = 0; i < levels; i++) { SkillCommands.Add((SkillIDs)((int)baseskill + i), func); } }
private static void InitGlobal() { SkillCommands.Add(SkillIDs.NormanBareHandAttack, new SkillCommand(SkillTypes.NormalAttack.Proc)); SkillCommands.Add(SkillIDs.NormanShortSwordAttack, new SkillCommand(SkillTypes.NormalAttack.Proc)); SkillCommands.Add(SkillIDs.NormanSwordStickAttack, new SkillCommand(SkillTypes.NormalAttack.Proc)); SkillCommands.Add(SkillIDs.NormanSwordStickAttack2, new SkillCommand(SkillTypes.NormalAttack.Proc)); SkillCommands.Add(SkillIDs.NormanLongSwordAttack, new SkillCommand(SkillTypes.NormalAttack.Proc)); SkillCommands.Add(SkillIDs.NormanDampflintAttack, new SkillCommand(SkillTypes.NormalAttack.Proc)); SkillCommands.Add(SkillIDs.NormanDampflintAttack2, new SkillCommand(SkillTypes.NormalAttack.Proc)); SkillCommands.Add(SkillIDs.PromiseStone, new SkillCommand(SkillTypes.PromiseStone.Proc)); }
private static void Init12_() { SkillCommands.Add(SkillIDs.OpenBox, new SkillCommand(SkillTypes.OpenBox.Proc)); }