Advertisement
Guest User

Untitled

a guest
Feb 28th, 2020
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 2.08 KB | None | 0 0
  1. using System;
  2. using System.Linq;
  3. using System.Collections.Generic;
  4. using NewWidget.Core;
  5. using NewWidget.Core.Native;
  6. using NewWidget.Core.Scripting;
  7. using System.Windows.Forms;
  8. using NewWidget.Core.Chats;
  9.  
  10. public class Script : ScriptBase {
  11.    
  12.     Keys key1 = Keys.D1; // Nuke
  13.     Keys key2 = Keys.D5; // Cancel
  14.     Keys key3 = Keys.F1; // Bursts
  15.    
  16.     bool LikeMakro = true;  // like macro
  17.     int MakroDelay = 950; // Macro delay
  18.    
  19.     bool UseFearInBard = true; //
  20.     bool UseIceVortex = true;
  21.    
  22.     bool PartyManagement = true; // If you want to invite people in party auto
  23.     int[] buffs = {1470}; // Buffs after dismiss
  24.    
  25.     int[] bards = {21, 34, 100, 107};
  26.     int[] buffsIds = {1248, 28, 18, 985};
  27.  
  28.     Nuke[] Nukes = {
  29.         new Nuke(1235, 900, 1)   // Hydro
  30.     };
  31.  
  32.     Nuke[] Nukes1 = {
  33.         new Nuke(1056, 600, 8)   // Cancel
  34.     };
  35.    
  36.     Nuke[] Nukes2 = {
  37.         new Nuke(1288, 900, 5)   // BURST
  38.     };
  39.    
  40.     Nuke[] Nukes3 = {
  41.         new Nuke(1290, 900, 5)   // BURST
  42.     };
  43.    
  44.     Nuke[] Nukes4 = {
  45.         new Nuke(1293, 900, 5)   // BURST
  46.     };
  47.    
  48.     Nuke[] Nukes5 = {
  49.         new Nuke(1340, 900, 1)   // Ice Vortex
  50.     };
  51.    
  52.     Nuke[] Nukes6 = {
  53.         new Nuke(1453, 900, 1)   // Crusher
  54.     };
  55.    
  56.     Nuke[] Nukes7 = {
  57.         new Nuke(1555, 150, 2)   // Cannon
  58.     };
  59.    
  60.     Nuke[] Nukes8 = {
  61.         new Nuke(1554, 900, 2)   // Blast
  62.     };
  63.    
  64.     class Nuke{
  65.         public int Id;
  66.         public int Range;
  67.         public int Priorty;
  68.         public Nuke(int id, int range, int priorty)
  69.         {
  70.             Id = id;
  71.             Range = range;
  72.             Priorty = priorty;
  73.         }
  74.        
  75.     }
  76.  
  77.     public override void OnStart() {
  78.         base.OnStart();
  79.         BindKey(key1, SpsSkills);
  80.         BindKey(key2, Cancel);
  81.         BindKey(key3, Bursts);
  82.         BindKey(key3, Bursts1);
  83.         BindKey(key3, Bursts2);
  84.         ChatMessage(OnSystemMessage);
  85.         CastStarted(BuffsAndDismiss);
  86.         EnabledChanged(true, autoShots);
  87.         Enabled = true;
  88.     }
  89.  
  90.     public bool isDisabled(){
  91.         return (Me.IsTranced || Me.IsDead || Me.IsAnchored || Me.IsMedused || Me.Buffs.Any(b => buffsIds.Contains(b.Id)) );
  92.     }
  93.    
  94.     void autoShots() {
  95.         if ( Client.IsLoggedIn ) {
  96.             Client.AutoSoulshot(3949,true);
  97.             Client.AutoSoulshot(3950,true);
  98.             Client.AutoSoulshot(3952,true);
  99.         }
  100.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement