|
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187 |
- 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 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 SpeedOfOpenChest { get; }
- }
-
- public interface IGhost : IOccupation
- {
- }
-
- public interface IStudent : IOccupation
- {
- public int FixSpeed { get; }
- public int TreatSpeed { get; }
- public int MaxGamingAddiction { get; }
- }
-
- public class Assassin : IGhost
- {
- private const int moveSpeed = (int)(GameData.basicMoveSpeed * 473.0 / 380);
- public int MoveSpeed => moveSpeed;
-
- private const int maxHp = GameData.basicHp;
- public int MaxHp => maxHp;
-
- 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 speedOfOpenChest = GameData.basicSpeedOfOpenChest;
- public int SpeedOfOpenChest => speedOfOpenChest;
- }
- public class Klee : IGhost
- {
- private const int moveSpeed = (int)(GameData.basicMoveSpeed * 155 / 127);
- public int MoveSpeed => moveSpeed;
-
- private const int maxHp = GameData.basicHp;
- public int MaxHp => maxHp;
-
- public const int maxBulletNum = 1;
- public int MaxBulletNum => maxBulletNum;
-
- public BulletType InitBullet => BulletType.CommonAttackOfGhost;
-
- public List<ActiveSkillType> ListOfIActiveSkill => new(new ActiveSkillType[] { ActiveSkillType.JumpyBomb });
- public List<PassiveSkillType> ListOfIPassiveSkill => new(new PassiveSkillType[] { });
-
- public double concealment = GameData.basicConcealment;
- public double Concealment => concealment;
-
- public int alertnessRadius = (int)(GameData.basicAlertnessRadius * 1.069);
- public int AlertnessRadius => alertnessRadius;
-
- public int viewRange = (int)(GameData.basicViewRange * 1.1);
- public int ViewRange => viewRange;
-
- public int timeOfOpeningOrLocking = (int)(GameData.basicSpeedOfOpeningOrLocking / 1.1);
- public int TimeOfOpeningOrLocking => timeOfOpeningOrLocking;
-
- public int speedOfClimbingThroughWindows = (int)(GameData.basicGhostSpeedOfClimbingThroughWindows / 1.1);
- public int SpeedOfClimbingThroughWindows => speedOfClimbingThroughWindows;
-
- public int speedOfOpenChest = (int)(GameData.basicSpeedOfOpenChest * 1.1);
- public int SpeedOfOpenChest => speedOfOpenChest;
- }
- public class Teacher : IStudent
- {
- private const int moveSpeed = GameData.basicMoveSpeed * 3 / 4;
- public int MoveSpeed => moveSpeed;
-
- private const int maxHp = GameData.basicHp * 10;
- public int MaxHp => maxHp;
-
- private const int maxGamingAddiction = GameData.basicMaxGamingAddiction * 10;
- public int MaxGamingAddiction => maxGamingAddiction;
-
- public const int maxBulletNum = 0;
- public int MaxBulletNum => maxBulletNum;
-
- public BulletType InitBullet => BulletType.Null;
-
- public List<ActiveSkillType> ListOfIActiveSkill => new(new ActiveSkillType[] { ActiveSkillType.Punish });
- public List<PassiveSkillType> ListOfIPassiveSkill => new(new PassiveSkillType[] { });
-
- public const int fixSpeed = 0;
- public int FixSpeed => fixSpeed;
-
- public const int treatSpeed = GameData.basicTreatSpeed;
- public int TreatSpeed => treatSpeed;
-
- public const double concealment = GameData.basicConcealment * 0.5;
- public double Concealment => concealment;
-
- public const int alertnessRadius = GameData.basicAlertnessRadius / 2;
- public int AlertnessRadius => alertnessRadius;
-
- public int viewRange = GameData.basicViewRange * 9 / 10;
- public int ViewRange => viewRange;
-
- public int timeOfOpeningOrLocking = GameData.basicSpeedOfOpeningOrLocking;
- public int TimeOfOpeningOrLocking => timeOfOpeningOrLocking;
-
- public int speedOfClimbingThroughWindows = GameData.basicStudentSpeedOfClimbingThroughWindows / 2;
- public int SpeedOfClimbingThroughWindows => speedOfClimbingThroughWindows;
-
- public int speedOfOpenChest = GameData.basicSpeedOfOpenChest;
- public int SpeedOfOpenChest => speedOfOpenChest;
- }
- public class Athlete : IStudent
- {
- private const int moveSpeed = GameData.basicMoveSpeed * 40 / 38;
- public int MoveSpeed => moveSpeed;
-
- private const int maxHp = GameData.basicHp * 32 / 30;
- public int MaxHp => maxHp;
-
- private const int maxGamingAddiction = GameData.basicMaxGamingAddiction * 9 / 10;
- public int MaxGamingAddiction => maxGamingAddiction;
-
- 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 * 6 / 10;
- public int FixSpeed => fixSpeed;
-
- public const int treatSpeed = GameData.basicTreatSpeed * 8 / 10;
- 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 speedOfOpenChest = GameData.basicSpeedOfOpenChest;
- public int SpeedOfOpenChest => speedOfOpenChest;
- }
- }
|