|
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156 |
- using Preparation.Utility;
- using System.Collections.Generic;
-
- namespace Preparation.Interface
- {
- 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<ActiveSkillType> ListOfIActiveSkill { get; }
- public List<PassiveSkillType> ListOfIPassiveSkill { get; }
- public double Concealment { get; }
- public int AlertnessRadius { get; }
- public int ViewRange { get; }
- public int TimeOfOpeningOrLocking { get; }
- public int SpeedOfClimbingThroughWindows { get; }
- public int TimeOfOpenChest { get; }
- }
-
- public interface IGhost : IOccupation
- {
- }
-
- public interface IStudent : IOccupation
- {
- public int FixSpeed { get; }
- public int TreatSpeed { 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<ActiveSkillType> ListOfIActiveSkill => new(new ActiveSkillType[] { ActiveSkillType.BecomeInvisible, ActiveSkillType.UseKnife });
- public List<PassiveSkillType> ListOfIPassiveSkill => new(new PassiveSkillType[] { });
-
- public double concealment = GameData.basicConcealment * 1.5;
- public double Concealment => concealment;
-
- public int alertnessRadius = (int)(GameData.basicAlertnessRadius * 1.3);
- public int AlertnessRadius => alertnessRadius;
-
- public int viewRange = (int)(GameData.basicViewRange * 1.3);
- public int ViewRange => viewRange;
-
- public int timeOfOpeningOrLocking = GameData.basicSpeedOfOpeningOrLocking;
- public int TimeOfOpeningOrLocking => timeOfOpeningOrLocking;
-
- public int speedOfClimbingThroughWindows = GameData.basicGhostSpeedOfClimbingThroughWindows;
- public int SpeedOfClimbingThroughWindows => speedOfClimbingThroughWindows;
-
- public int timeOfOpenChest = GameData.basicSpeedOfOpenChest;
- public int TimeOfOpenChest => timeOfOpenChest;
- }
- public class Teacher : IStudent
- {
- private const int moveSpeed = GameData.basicMoveSpeed / 38 * 40;
- public int MoveSpeed => moveSpeed;
-
- private const int maxHp = GameData.basicHp / 30 * 32;
- public int MaxHp => maxHp;
-
- public const int cd = 0;
- public int CD => cd;
-
- public const int maxBulletNum = 0;
- public int MaxBulletNum => maxBulletNum;
-
- public BulletType InitBullet => BulletType.Null;
-
- public List<ActiveSkillType> ListOfIActiveSkill => new(new ActiveSkillType[] { ActiveSkillType.CanBeginToCharge });
- public List<PassiveSkillType> ListOfIPassiveSkill => new(new PassiveSkillType[] { });
-
- public const int fixSpeed = GameData.basicFixSpeed / 10 * 6;
- public int FixSpeed => fixSpeed;
-
- public const int treatSpeed = GameData.basicTreatSpeed / 10 * 8;
- public int TreatSpeed => treatSpeed;
-
- public const double concealment = GameData.basicConcealment * 0.9;
- public double Concealment => concealment;
-
- public const int alertnessRadius = (int)(GameData.basicAlertnessRadius * 0.9);
- public int AlertnessRadius => alertnessRadius;
-
- public int viewRange = (int)(GameData.basicViewRange * 1.1);
- public int ViewRange => viewRange;
-
- public int timeOfOpeningOrLocking = GameData.basicSpeedOfOpeningOrLocking * 12 / 10;
- public int TimeOfOpeningOrLocking => timeOfOpeningOrLocking;
-
- public int speedOfClimbingThroughWindows = GameData.basicStudentSpeedOfClimbingThroughWindows * 12 / 10;
- public int SpeedOfClimbingThroughWindows => speedOfClimbingThroughWindows;
-
- public int timeOfOpenChest = GameData.basicSpeedOfOpenChest;
- public int TimeOfOpenChest => timeOfOpenChest;
- }
- public class Athlete : IStudent
- {
- private const int moveSpeed = GameData.basicMoveSpeed / 38 * 40;
- public int MoveSpeed => moveSpeed;
-
- private const int maxHp = GameData.basicHp / 30 * 32;
- public int MaxHp => maxHp;
-
- public const int cd = 0;
- public int CD => cd;
-
- public const int maxBulletNum = 0;
- public int MaxBulletNum => maxBulletNum;
-
- public BulletType InitBullet => BulletType.Null;
-
- public List<ActiveSkillType> ListOfIActiveSkill => new(new ActiveSkillType[] { ActiveSkillType.CanBeginToCharge });
- public List<PassiveSkillType> ListOfIPassiveSkill => new(new PassiveSkillType[] { });
-
- public const int fixSpeed = GameData.basicFixSpeed / 10 * 6;
- public int FixSpeed => fixSpeed;
-
- public const int treatSpeed = GameData.basicTreatSpeed / 10 * 8;
- public int TreatSpeed => treatSpeed;
-
- public const double concealment = GameData.basicConcealment * 0.9;
- public double Concealment => concealment;
-
- public const int alertnessRadius = (int)(GameData.basicAlertnessRadius * 0.9);
- public int AlertnessRadius => alertnessRadius;
-
- public int viewRange = (int)(GameData.basicViewRange * 1.1);
- public int ViewRange => viewRange;
-
- public int timeOfOpeningOrLocking = GameData.basicSpeedOfOpeningOrLocking * 12 / 10;
- public int TimeOfOpeningOrLocking => timeOfOpeningOrLocking;
-
- public int speedOfClimbingThroughWindows = GameData.basicStudentSpeedOfClimbingThroughWindows * 12 / 10;
- public int SpeedOfClimbingThroughWindows => speedOfClimbingThroughWindows;
-
- public int timeOfOpenChest = GameData.basicSpeedOfOpenChest;
- public int TimeOfOpenChest => timeOfOpenChest;
- }
- }
|