示例#1
0
        public void PaintWorld(WorldLayer layer)
        {
            var visible = !Hud.Game.IsInTown && (Hud.Game.MapMode == MapMode.Minimap);

            if (!Fader.TestVisiblity(visible))
            {
                return;
            }

            var skill = Hud.Game.Me.Powers.UsedSkills.Where(x => x.SnoPower.Sno == Hud.Sno.SnoPowers.Necromancer_Frailty.Sno).FirstOrDefault();

            if (skill == null)
            {
                return;
            }
            if (Hud.Render.UiHidden)
            {
                return;
            }
            var skillRune = Hud.Game.Me.Powers.UsedNecromancerPowers.Frailty.RuneNameEnglish;

            if (string.Equals(skillRune, "Aura of Frailty"))
            {
                OutlineBrush.DrawWorldEllipse(TotalRadius, -1, Hud.Game.Me.FloorCoordinate);
                FillBrush.DrawWorldEllipse(TotalRadius, -1, Hud.Game.Me.FloorCoordinate);
            }
        }
示例#2
0
        public void PaintWorld(WorldLayer layer)
        {
            var visible = !Hud.Game.IsInTown && (Hud.Game.Me.AnimationState == AcdAnimationState.Running) && (Hud.Game.MapMode == MapMode.Minimap);

            if (!Fader.TestVisiblity(visible))
            {
                return;
            }

            OutlineBrush.DrawWorldEllipse(Hud.Game.Me.Stats.PickupRange, -1, Hud.Game.Me.FloorCoordinate);
            FillBrush.DrawWorldEllipse(Hud.Game.Me.Stats.PickupRange, -1, Hud.Game.Me.FloorCoordinate);
        }