Scoundrel Night's Veil & Cord Of The Sherma plugins menu

User Tag List

Results 1 to 1 of 1
  1. #1
    Stormreaver's Avatar Contributor
    Reputation
    152
    Join Date
    Jul 2012
    Posts
    290
    Thanks G/R
    40/136
    Trade Feedback
    0 (0%)
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)

    Scoundrel Night's Veil & Cord Of The Sherma plugins

    Here are two plugins I made today to mark the effect radius of the Scoundrel Night's Veil skill and Cord Of The Sherma belt.
    Change the namespace at the start of each to point to whatever directory suits you.


    SR_ScoundrelNightVeilPlugin.cs
    Code:
    // by StormReaver
    
    namespace Turbo.Plugins._SR.Items
    {
        using SharpDX.Direct2D1;
        using System.Collections.Generic;
        using System.Linq;
        using Turbo.Plugins.Default;
    	
        public class SR_ScoundrelNightVeilPlugin : BasePlugin, IInGameWorldPainter
        {
    		
            public WorldDecoratorCollection ScoundrelNVDecorator { get; set; }
    		
    		
            public SR_ScoundrelNightVeilPlugin()
            {
                Enabled = true;
            }
    		
    		
            public void Customize()
            {
    			
    			Hud.RunOnPlugin<PlayerSkillPlugin>(plugin =>
    			{
    				// disable DEFAULT
    				plugin.Enabled = false;
    			
    			});
    			
            }
    		
    		
            public override void Load(IController hud)
            {
                base.Load(hud);
    			
    			
                // Scoundrel Night's Veil skill, effect radius
    			
                ScoundrelNVDecorator = new WorldDecoratorCollection(
                    new GroundCircleDecorator(Hud)
                    {
                        Brush = Hud.Render.CreateBrush(180, 0, 200, 200, -2),
                        Radius = 20,
                    });
    				
            }
    		
    		
    		// ISnoPower Generic_ScoundrelDebuffCloud { get; } // 484974
    		// _scoundrel_debuffcloud = 484972
    		
    		
    		public void PaintWorld(WorldLayer layer)
    		{
                if (Hud.Game.IsInTown)
                    return;
    		
    			var actors = Hud.Game.Actors;
                foreach (var actor in actors)
    			
    			switch (actor.SnoActor.Sno)
    			{
    				case ActorSnoEnum._scoundrel_debuffcloud /*484972*/:
    					ScoundrelNVDecorator.Paint(layer, actor, actor.FloorCoordinate, null);
    				break;
    			}
    		}
    		
    		
        }
    }

    SR_CordOfTheShermaPlugin.cs
    Code:
    // by StormReaver
    
    namespace Turbo.Plugins._SR.Items
    {
        using SharpDX.Direct2D1;
        using System.Collections.Generic;
        using System.Linq;
        using Turbo.Plugins.Default;
    	
        public class SR_CordOfTheShermaPlugin : BasePlugin, IInGameWorldPainter
        {
    		
            public WorldDecoratorCollection COTShermaDecorator { get; set; }
    		
    		
            public SR_CordOfTheShermaPlugin()
            {
                Enabled = true;
            }
    		
    		
            public void Customize()
            {
    			
    			Hud.RunOnPlugin<PlayerSkillPlugin>(plugin =>
    			{
    				// disable DEFAULT
    				plugin.Enabled = false;
    			
    			});
    			
            }
    		
    		
            public override void Load(IController hud)
            {
                base.Load(hud);
    			
    			
                // Cord Of The Sherma belt, effect radius
    			
                COTShermaDecorator = new WorldDecoratorCollection(
                    new GroundCircleDecorator(Hud)
                    {
                        Brush = Hud.Render.CreateBrush(150, 200, 0, 170, -1.0f),
                        Radius = 27.5f, // https://www.d3planner.com/game/76761/powers/ItemPassive_Unique_Ring_560_p2
                    });
    				
            }
    		
    		
            // ISnoPower CordOfTheSherma { get; } // 434008 - ItemPassive_Unique_Ring_560_p2
            // _x1_itempassive_unique_belt_104_chaosfield = 367794
    
    		
    		public void PaintWorld(WorldLayer layer)
    		{
                if (Hud.Game.IsInTown)
                    return;
    		
    			var actors = Hud.Game.Actors;
                foreach (var actor in actors)
    			
    			switch (actor.SnoActor.Sno)
    			{
    				case ActorSnoEnum._x1_itempassive_unique_belt_104_chaosfield:
    					COTShermaDecorator.Paint(layer, actor, actor.FloorCoordinate, null);
    				break;
    			}
    		}
    		
    		
        }
    }
    Last edited by Stormreaver; 08-05-2021 at 04:40 PM.
    _________________________________________________________

    My TurboHUD Theme: >> https://bit.ly/SRJ_Theme
    Copy paste the link?

    Scoundrel Night's Veil &amp; Cord Of The Sherma plugins

Similar Threads

  1. [Selling] 60 level WARRIOR Fury Night Elf | Gold: 838 |Reins of the Swift Stormsaber
    By Skora in forum WoW Classic Buy Sell Trade
    Replies: 1
    Last Post: 08-20-2020, 06:33 PM
  2. Is there a compliation of the "favorite" plugins?
    By Snarlax in forum TurboHUD Discussions
    Replies: 0
    Last Post: 11-14-2019, 11:18 PM
  3. [Request] Can anyone help me find a Bane of the Stricken plugin!
    By amarpatel826 in forum TurboHUD Discussions
    Replies: 2
    Last Post: 06-11-2019, 12:07 AM
  4. Replies: 0
    Last Post: 03-27-2019, 03:46 PM
  5. Make money on the start of the winter veil.
    By Disphotic in forum World of Warcraft Exploits
    Replies: 9
    Last Post: 12-15-2007, 10:01 PM
All times are GMT -5. The time now is 11:27 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search