示例#1
0
 private static void AddSub(SkillIDs baseskill, int levels, SkillCommand func)
 {
     for (int i = 0; i < levels; i++)
     {
         SkillCommands.Add((SkillIDs)((int)baseskill + i), func);
     }
 }
示例#2
0
 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));
 }
示例#3
0
 private static void Init12_()
 {
     SkillCommands.Add(SkillIDs.OpenBox, new SkillCommand(SkillTypes.OpenBox.Proc));
 }