Plugin for Bone Spirit menu

These ads disappear when you log in.

Results 1 to 3 of 3
  1. #1
    ArnesMeyer's Avatar Member
    Reputation
    1
    Join Date
    May 2019
    Posts
    16
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)

    Plugin for Bone Spirit

    Is ther any plugin or someone can make too show 450y distance from boss for necro bone spirit bk?
    Last edited by ArnesMeyer; 10-24-2019 at 12:25 PM. Reason: (Question)

  2. #2
    knight84's Avatar Member CoreCoins User
    Reputation
    14
    Join Date
    Mar 2017
    Posts
    186
    Thanks G/R
    16/13
    Trade Feedback
    0 (0%)
    // BoneSpiritPlugin by HaKache
    // Draw a line on minimap & world screen and a label showing the distance between Bosses and Bone Spirit Necromancer.

    using SharpDX.DirectInput;
    using System.Linq;
    using System;
    using System.Collections.Generic;
    using Turbo.Plugins.Default;
    using System.Text;

    namespace Turbo.Plugins.User
    {
    public class BoneSpiritPlugin : BasePlugin, IInGameWorldPainter
    {
    public WorldDecoratorCollection YardIndicator { get; set; }
    public WorldDecoratorCollection LineIndicator { get; set; }
    private IBrush OrangeLineDrawing { get; set; }
    public bool OnlyGR { get; set; }

    public BoneSpiritPlugin()
    {
    Enabled = true;
    OnlyGR = true;
    }

    public override void Load(IController hud)
    {
    base.Load(hud);

    YardIndicator = new WorldDecoratorCollection(
    new GroundLabelDecorator(Hud) {
    BackgroundBrush = Hud.Render.CreateBrush(200, 0, 0, 0, 0),
    BorderBrush = Hud.Render.CreateBrush(128, 90, 75, 60, 2),
    TextFont = Hud.Render.CreateFont("tahoma", 8f, 255, 255, 50, 50, true, false, false),
    });

    LineIndicator = new WorldDecoratorCollection(
    new MapShapeDecorator(Hud) {
    Brush = Hud.Render.CreateBrush(192, 255, 50, 50, -1),
    ShapePainter = new LineFromMeShapePainter(Hud),
    });

    OrangeLineDrawing = Hud.Render.CreateBrush(225, 242, 40, 40, 4, SharpDX.Direct2D1.DashStyle.Dash);
    }

    public void PaintWorld(WorldLayer layer)
    {
    if ((OnlyGR) && (Hud.Game.Me.InGreaterRiftRank == 0)) return;

    // Yards Indicator if there is a necromancer w/ Stricken Gem and Bone Spirit Skill equipped
    var SpiritNecroIG = Hud.Game.Players.FirstOrDefault(p => (p.HasValidActor && p.Powers.BuffIsActive(428348, 0) && p.Powers.UsedSkills.Any(s => s.SnoPower.Sno == Hud.Sno.SnoPowers.Necromancer_BoneSpirit.Sno)));

    if (SpiritNecroIG != null && SpiritNecroIG == Hud.Game.Me) {
    var markers = Hud.Game.Markers.OrderBy(i => Hud.Game.Me.FloorCoordinate.XYDistanceTo(i.FloorCoordinate));
    if (markers != null)
    {
    foreach (var marker in markers)
    {
    if (marker.SnoActor != null && marker.SnoActor.Code.Contains("_Boss_")) {
    var DistYards = (int)(marker.FloorCoordinate.XYDistanceTo(Hud.Game.Me.FloorCoordinate));
    if (DistYards > 40) {
    YardIndicator.Paint(layer, null, Hud.Game.Me.FloorCoordinate.Offset(0, 0, 10f), DistYards.ToString()); // We draw a label w/ the yards on us
    LineIndicator.Paint(layer, null, marker.FloorCoordinate, null); // We draw a minimap line to the boss
    OrangeLineDrawing.DrawLineWorld(Hud.Game.Me.FloorCoordinate, marker.FloorCoordinate.Offset(0, 0, -8f)); // We draw a world line to the boss
    }
    }
    }
    }
    }


    }

    }
    }

  3. #3

Similar Threads

  1. [Plugin][Honorbuddy] Project Sn0wbuddy - A Sn0wball plugin for Honorbuddy.
    By Thunderofnl in forum WoW Bot Maps And Profiles
    Replies: 6
    Last Post: 05-16-2012, 04:27 PM
  2. Plugin for Lazybot
    By oric in forum WoW Bots Questions & Requests
    Replies: 0
    Last Post: 03-08-2012, 01:34 PM
  3. [Bot] Archaeology Plugin For Honorbuddy
    By Aicd in forum World of Warcraft Bots and Programs
    Replies: 82
    Last Post: 01-10-2011, 04:48 PM
  4. Pattern verifier plugin for IDA
    By ostapus in forum WoW Memory Editing
    Replies: 7
    Last Post: 11-11-2009, 05:55 PM
  5. [Plugin whit tut] A little plugin for Photoshop i just found.[Big pic]
    By Lord-kapser in forum Art & Graphic Design
    Replies: 3
    Last Post: 12-03-2007, 04:15 PM
All times are GMT -5. The time now is 06:44 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved. Digital Point modules: Sphinx-based search