示例#1
0
        public GunnerLayoutVM()
        {
            Game.DB.SkillsDatabase.TryGetSkill(51000, Class.Gunner, out var bfire);
            Game.DB.SkillsDatabase.TryGetSkill(130200, Class.Gunner, out var balder);
            Game.DB.SkillsDatabase.TryGetSkill(20600, Class.Gunner, out var bombard);
            Game.DB.SkillsDatabase.TryGetSkill(410100, Class.Gunner, out var modSys);


            BurstFire   = new Cooldown(bfire, false);
            Bombardment = new Cooldown(bombard, true)
            {
                CanFlash = true
            };
            Balder = new Cooldown(balder, true)
            {
                CanFlash = true
            };

            ModularSystem = new SkillWithEffect(Dispatcher, modSys);
            // ????
            //Balder.FlashOnAvailable = true;
            //Bombardment.FlashOnAvailable = true;
            //ModularSystem.Cooldown.FlashOnAvailable = true;

            //StaminaTracker.PropertyChanged += FlashBfIfFullWp;
        }
示例#2
0
        public PriestLayoutVM()
        {
            //Energy Stars
            Game.DB.SkillsDatabase.TryGetSkill(350410, Class.Priest, out var es);
            EnergyStars = new SkillWithEffect(Dispatcher, es);

            // Grace
            Game.DB.SkillsDatabase.TryGetSkill(390100, Class.Priest, out var gr);
            Grace = new SkillWithEffect(Dispatcher, gr);

            Grace.Effect.Started += OnGraceBuffStarted;
            Grace.Effect.Ended   += OnGraceBuffEnded;

            // Edict Of Judgment
            Game.DB.SkillsDatabase.TryGetSkill(430100, Class.Priest, out var ed);
            EdictOfJudgment = new SkillWithEffect(Dispatcher, ed);
            EdictOfJudgment.Effect.Started += OnEdictBuffStarted;
            EdictOfJudgment.Effect.Ended   += OnEdictBuffEnded;

            // Divine Charge
            Game.DB.SkillsDatabase.TryGetSkill(280200, Class.Priest, out var dc);
            DivineCharge = new SkillWithEffect(Dispatcher, dc);

            // Tripple Nenesis
            Game.DB.SkillsDatabase.TryGetSkill(290100, Class.Priest, out var tn);
            TripleNemesis = new SkillWithEffect(Dispatcher, tn);

            AbnormalityTracker.MarkingExpired   += OnTripleNemesisExpired;
            AbnormalityTracker.MarkingRefreshed += OnTripleNemesisRefreshed;
        }
示例#3
0
        public ReaperLayoutVM()
        {
            Game.DB.SkillsDatabase.TryGetSkill(160100, Class.Reaper, out var sr);
            ShadowReaping = new SkillWithEffect(Dispatcher, sr);

            Game.DB.SkillsDatabase.TryGetSkill(180100, Class.Reaper, out var se);
            ShroudedEscape = new SkillWithEffect(Dispatcher, se);
        }
示例#4
0
        public SlayerLayoutVM()
        {
            // In Cold Blood
            Game.DB.SkillsDatabase.TryGetSkill(200200, Class.Slayer, out var icb);
            InColdBlood = new SkillWithEffect(Dispatcher, icb);

            // Overhand Strike
            Game.DB.SkillsDatabase.TryGetSkill(80900, Class.Slayer, out var ohs);
            OverhandStrike = new Cooldown(ohs, false);
        }
示例#5
0
        public ValkyrieLayoutVM()
        {
            RunemarksCounter = new Counter(7, false);

            Game.DB.SkillsDatabase.TryGetSkill(120100, Class.Valkyrie, out var rag);
            Ragnarok = new SkillWithEffect(Dispatcher, rag);

            Game.DB.SkillsDatabase.TryGetSkill(250100, Class.Valkyrie, out var gf);
            Godsfall = new SkillWithEffect(Dispatcher, gf);

            Ragnarok.Effect.SecondsUpdated += OnEffectSecondsUpdated;
        }
示例#6
0
        public LancerLayoutVM()
        {
            LH             = new LancerLineHeldTracker();
            Game.Me.Death += OnDeath;
            Game.DB.SkillsDatabase.TryGetSkill(70300, Class.Lancer, out var gshout);
            GuardianShout = new SkillWithEffect(Dispatcher, gshout);

            Game.DB.SkillsDatabase.TryGetSkill(170200, Class.Lancer, out var arush);
            AdrenalineRush = new SkillWithEffect(Dispatcher, arush);

            Game.DB.SkillsDatabase.TryGetSkill(120100, Class.Lancer, out var infu);
            Infuriate = new Cooldown(infu, true)
            {
                CanFlash = true
            };
        }
示例#7
0
        public SorcererLayoutVM()
        {
            SorcererAbnormalityTracker.BoostChanged += OnBoostChanged;

            Game.DB.SkillsDatabase.TryGetSkill(340200, Class.Sorcerer, out var mb);
            Game.DB.SkillsDatabase.TryGetSkill(360100, Class.Sorcerer, out var fusion);
            Game.DB.SkillsDatabase.TryGetSkill(360200, Class.Sorcerer, out var primeFlame);
            Game.DB.SkillsDatabase.TryGetSkill(360400, Class.Sorcerer, out var iceberg);
            Game.DB.SkillsDatabase.TryGetSkill(360300, Class.Sorcerer, out var arcaneStorm);

            PrimeFlame  = primeFlame;  //fire ice
            Iceberg     = iceberg;     //ice arcane
            ArcaneStorm = arcaneStorm; //fire arcane
            FusionSkill = fusion;

            ManaBoost = new SkillWithEffect(Dispatcher, mb);
            Fusion    = new Cooldown(fusion, false);

            _sw = new Stopwatch();
        }