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.
|
- using GameClass.GameObj;
- using Preparation.Utility;
- using System.Collections.Generic;
-
- namespace GameClass.Skill
- {
- public interface IOccupation
- {
- public int MoveSpeed { get; }
- public int MaxHp { get; }
- public BulletType InitBullet { get; }
- public int CD { get; }
- public int MaxBulletNum { get; }
- public List<IActiveSkill> ListOfIActiveSkill { get; }
- public List<IPassiveSkill> ListOfIPassiveSkill { get; }
- }
-
- public interface IGhost : IOccupation
- {
- }
-
- public interface IStudent : IOccupation
- {
- public int FixSpeed { get; }
- }
-
- public class Assassin : IGhost
- {
- private const int moveSpeed = GameData.basicMoveSpeed / 380 * 473;
- public int MoveSpeed => moveSpeed;
-
- private const int maxHp = GameData.basicHp;
- public int MaxHp => maxHp;
-
- public const int cd = 0;
- public int CD => cd;
-
- public const int maxBulletNum = 1;
- public int MaxBulletNum => maxBulletNum;
-
- public BulletType InitBullet => BulletType.CommonAttackOfGhost;
-
- public List<IActiveSkill> ListOfIActiveSkill => new(new IActiveSkill[] { new BecomeInvisible(), new UseKnife() });
- public List<IPassiveSkill> ListOfIPassiveSkill => new(new IPassiveSkill[] { });
- }
- public class Athlete : IOccupation
- {
- private const int moveSpeed = GameData.basicMoveSpeed;
- public int MoveSpeed => moveSpeed;
-
- private const int maxHp = GameData.basicHp;
- public int MaxHp => maxHp;
-
- public const int cd = 0;
- public int CD => cd;
-
- public const int maxBulletNum = 1;
- public int MaxBulletNum => maxBulletNum;
-
- public BulletType InitBullet => BulletType.CommonAttackOfGhost;
-
- public List<IActiveSkill> ListOfIActiveSkill => new(new IActiveSkill[] { new BecomeInvisible(), new UseKnife() });
- public List<IPassiveSkill> ListOfIPassiveSkill => new(new IPassiveSkill[] { });
- }
- }
|