Exemple #1
0
        public void PaintWorld(WorldLayer layer)
        {
            var me = Hud.Game.Me;

            if (me.Powers.BuffIsActive(403468, 0))
            {
                ZeiDecorator.Paint(me, me.FloorCoordinate, null);
            }
            if (me.Powers.BuffIsActive(403600, 0))
            {
                PainDecorator.Paint(me, me.FloorCoordinate, null);
            }
            if (me.Powers.BuffIsActive(403457, 0))
            {
                BaneoftheTrappedDecorator.Paint(me, me.FloorCoordinate, null);
            }
        }
        public void PaintWorld(WorldLayer layer)
        {
            if ((Hud.Game.MapMode == MapMode.WaypointMap) || (Hud.Game.MapMode == MapMode.ActMap) || (Hud.Game.MapMode == MapMode.Map))
            {
                return;
            }
            var me = Hud.Game.Me;

            if (me.Powers.BuffIsActive(403468, 0))
            {
                ZeiDecorator.Paint(me, me.FloorCoordinate, null);
            }
            if (me.Powers.BuffIsActive(403600, 0))
            {
                PainDecorator.Paint(me, me.FloorCoordinate, null);
            }
            if (me.Powers.BuffIsActive(403457, 0))
            {
                BaneoftheTrappedDecorator.Paint(me, me.FloorCoordinate, null);
            }
        }