You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

Occupation.cs 1.2 kB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. using GameClass.GameObj;
  2. using System.Threading;
  3. using Preparation.Interface;
  4. using Preparation.Utility;
  5. using System;
  6. using System.Collections.Generic;
  7. namespace GameClass.Skill
  8. {
  9. public interface IOccupation
  10. {
  11. public int MoveSpeed { get; }
  12. public int MaxHp { get; }
  13. public BulletType InitBullet { get; }
  14. public int CD { get; }
  15. public int MaxBulletNum { get; }
  16. public List<IActiveSkill> ListOfIActiveSkill { get; }
  17. public List<IPassiveSkill> ListOfIPassiveSkill { get; }
  18. }
  19. public class Assassin : IOccupation
  20. {
  21. private const int moveSpeed = GameData.basicMoveSpeed / 380 * 473;
  22. public int MoveSpeed => moveSpeed;
  23. private const int maxHp = GameData.basicHp;
  24. public int MaxHp => maxHp;
  25. public const int cd = 0;
  26. public int CD => cd;
  27. public const int maxBulletNum = 1;
  28. public int MaxBulletNum => maxBulletNum;
  29. public BulletType InitBullet => BulletType.CommonAttackOfGhost;
  30. public List<IActiveSkill> ListOfIActiveSkill => new(new IActiveSkill[] { new BecomeInvisible(), });
  31. public List<IPassiveSkill> ListOfIPassiveSkill => new(new IPassiveSkill[] { });
  32. }
  33. }