Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using Turbo.Plugins.Default;
- namespace Turbo.Plugins.Styckz
- {
- public class AdditionalMonsterSkills : BasePlugin, IInGameWorldPainter
- {
- public WorldDecoratorCollection RGTornadoDecorator { get; set; }
- public WorldDecoratorCollection RGAoEPoisonDecorator { get; set; }
- public WorldDecoratorCollection RGFirePentagrampDecorator { get; set; }
- public WorldDecoratorCollection RGDangerousSkillspDecorator { get; set; }
- public WorldDecoratorCollection RGRimeSmallDecorator { get; set; }
- public WorldDecoratorCollection RGRimeBigDecorator { get; set; }
- public WorldDecoratorCollection DiabloRingOfFireDecorator { get; set; }
- public WorldDecoratorCollection MaghdaPunishDecorator { get; set; }
- public WorldDecoratorCollection ZKSlowTimeDecorator { get; set; }
- public WorldDecoratorCollection BruteLeapDecorator { get; set; }
- public WorldDecoratorCollection Projectiles1Decorator { get; set; }
- public WorldDecoratorCollection Projectiles2Decorator { get; set; }
- public WorldDecoratorCollection WoodWraithSporeEmitterDecorator { get; set; }
- public WorldDecoratorCollection WoodWraithSporeDecorator { get; set; }
- public WorldDecoratorCollection MorluMeteorDecorator { get; set; }
- public WorldDecoratorCollection ExplodingMaggotDecorator { get; set; }
- public WorldDecoratorCollection ElementalProjectile1Decorator { get; set; }
- public WorldDecoratorCollection BogBearTrapDecorator { get; set; }
- public AdditionalMonsterSkills()
- {
- Enabled = true;
- }
- public override void Load(IController hud)
- {
- base.Load(hud);
- RGTornadoDecorator = new WorldDecoratorCollection(
- new GroundCircleDecorator(Hud)
- {
- Brush = Hud.Render.CreateBrush(160, 181, 100, 57, 2, SharpDX.Direct2D1.DashStyle.Dash),
- Radius = 10f,
- }
- );
- RGAoEPoisonDecorator = new WorldDecoratorCollection(
- new GroundCircleDecorator(Hud)
- {
- Brush = Hud.Render.CreateBrush(160, 70, 109, 0, 2, SharpDX.Direct2D1.DashStyle.Dash),
- Radius = 10f,
- }
- );
- RGFirePentagrampDecorator = new WorldDecoratorCollection(
- new GroundCircleDecorator(Hud)
- {
- Brush = Hud.Render.CreateBrush(100, 191, 86, 8, 4, SharpDX.Direct2D1.DashStyle.Dash),
- Radius = 10f,
- }
- );
- RGDangerousSkillspDecorator = new WorldDecoratorCollection(
- new GroundCircleDecorator(Hud)
- {
- Brush = Hud.Render.CreateBrush(160, 255, 50, 50, 2, SharpDX.Direct2D1.DashStyle.Dash),
- Radius = 20f,
- }
- );
- RGRimeSmallDecorator = new WorldDecoratorCollection(
- new GroundCircleDecorator(Hud)
- {
- Brush = Hud.Render.CreateBrush(100, 121, 146, 186, 2, SharpDX.Direct2D1.DashStyle.Dash),
- Radius = 12f,
- }
- );
- RGRimeBigDecorator = new WorldDecoratorCollection(
- new GroundCircleDecorator(Hud)
- {
- Brush = Hud.Render.CreateBrush(100, 121, 146, 186, 2, SharpDX.Direct2D1.DashStyle.Dash),
- Radius = 22f,
- }
- );
- DiabloRingOfFireDecorator = new WorldDecoratorCollection(
- new GroundCircleDecorator(Hud)
- {
- Brush = Hud.Render.CreateBrush(160, 191, 86, 8, 3, SharpDX.Direct2D1.DashStyle.Dash),
- Radius = 15f,
- }
- );
- MaghdaPunishDecorator = new WorldDecoratorCollection(
- new GroundCircleDecorator(Hud)
- {
- Brush = Hud.Render.CreateBrush(160, 255, 50, 50, 2, SharpDX.Direct2D1.DashStyle.Dash),
- Radius = 0.8f,
- }
- );
- ZKSlowTimeDecorator = new WorldDecoratorCollection(
- new GroundCircleDecorator(Hud)
- {
- Brush = Hud.Render.CreateBrush(160, 255, 50, 50, 2, SharpDX.Direct2D1.DashStyle.Dash),
- Radius = 20f,
- }
- );
- BruteLeapDecorator = new WorldDecoratorCollection(
- new GroundCircleDecorator(Hud)
- {
- Brush = Hud.Render.CreateBrush(220, 255, 50, 50, 3, SharpDX.Direct2D1.DashStyle.Dash),
- Radius = 15f,
- }
- );
- Projectiles1Decorator = new WorldDecoratorCollection(
- new GroundCircleDecorator(Hud)
- {
- Brush = Hud.Render.CreateBrush(200, 157, 207, 48, 0),
- Radius = 0.3f,
- }
- );
- Projectiles2Decorator = new WorldDecoratorCollection(
- new GroundCircleDecorator(Hud)
- {
- Brush = Hud.Render.CreateBrush(200, 157, 207, 48, 0),
- Radius = 0.5f,
- }
- );
- WoodWraithSporeDecorator = new WorldDecoratorCollection(
- new GroundCircleDecorator(Hud)
- {
- Brush = Hud.Render.CreateBrush(160, 189, 192, 67, 2, SharpDX.Direct2D1.DashStyle.Dash),
- Radius = 5f,
- }
- );
- MorluMeteorDecorator = new WorldDecoratorCollection(
- new GroundCircleDecorator(Hud)
- {
- Brush = Hud.Render.CreateBrush(100, 191, 86, 8, 4, SharpDX.Direct2D1.DashStyle.Dash),
- Radius = 20f,
- }
- );
- ExplodingMaggotDecorator = new WorldDecoratorCollection(
- new GroundCircleDecorator(Hud)
- {
- Brush = Hud.Render.CreateBrush(160, 255, 255, 0, 2, SharpDX.Direct2D1.DashStyle.Dash),
- Radius = 3f,
- }
- );
- }
- public void PaintWorld(WorldLayer layer)
- {
- var actors = Hud.Game.Actors;
- foreach (var actor in actors)
- {
- switch (actor.SnoActor.Sno)
- {
- case 289827:
- BruteLeapDecorator.Paint(layer, actor, actor.FloorCoordinate, null);
- break;
- case 312942:
- case 5212:
- case 5215:
- case 337030:
- case 323212:
- case 368392:
- case 120957:
- Projectiles1Decorator.Paint(layer, actor, actor.FloorCoordinate, null);
- break;
- case 353256:
- case 349564:
- Projectiles2Decorator.Paint(layer, actor, actor.FloorCoordinate, null);
- break;
- case 5482:
- WoodWraithSporeDecorator.Paint(layer, actor, actor.FloorCoordinate, null);
- break;
- case 159369:
- case 159368:
- case 159367:
- MorluMeteorDecorator.Paint(layer, actor, actor.FloorCoordinate, null);
- break;
- case 254175:
- ExplodingMaggotDecorator.Paint(layer, actor, actor.FloorCoordinate, null);
- break;
- case 139741:
- RGTornadoDecorator.Paint(layer, actor, actor.FloorCoordinate, null);
- break;
- case 360046:
- RGAoEPoisonDecorator.Paint(layer, actor, actor.FloorCoordinate, null);
- break;
- case 159163:
- case 359693:
- RGFirePentagrampDecorator.Paint(layer, actor, actor.FloorCoordinate, null);
- break;
- case 93837:
- case 368453:
- case 374732:
- case 3026:
- case 378237:
- RGDangerousSkillspDecorator.Paint(layer, actor, actor.FloorCoordinate, null);
- break;
- case 359703:
- RGRimeSmallDecorator.Paint(layer, actor, actor.FloorCoordinate, null);
- break;
- case 363356:
- RGDangerousSkillspDecorator.Paint(layer, actor, actor.FloorCoordinate, null);
- break;
- case 226350:
- DiabloRingOfFireDecorator.Paint(layer, actor, actor.FloorCoordinate, null);
- break;
- case 278340:
- MaghdaPunishDecorator.Paint(layer, actor, actor.FloorCoordinate, null);
- break;
- case 185924:
- ZKSlowTimeDecorator.Paint(layer, actor, actor.FloorCoordinate, null);
- break;
- }
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement