Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Linq;
- using System.Collections.Generic;
- using NewWidget.Core;
- using NewWidget.Core.Native;
- using NewWidget.Core.Scripting;
- using System.Windows.Forms;
- using NewWidget.Core.Chats;
- public class Script : ScriptBase {
- Keys key1 = Keys.D1; // Nuke
- Keys key2 = Keys.D5; // Cancel
- Keys key3 = Keys.F1; // Bursts
- bool LikeMakro = true; // like macro
- int MakroDelay = 950; // Macro delay
- bool UseFearInBard = true; //
- bool UseIceVortex = true;
- bool PartyManagement = true; // If you want to invite people in party auto
- int[] buffs = {1470}; // Buffs after dismiss
- int[] bards = {21, 34, 100, 107};
- int[] buffsIds = {1248, 28, 18, 985};
- Nuke[] Nukes = {
- new Nuke(1235, 900, 1) // Hydro
- };
- Nuke[] Nukes1 = {
- new Nuke(1056, 600, 8) // Cancel
- };
- Nuke[] Nukes2 = {
- new Nuke(1288, 900, 5) // BURST
- };
- Nuke[] Nukes3 = {
- new Nuke(1290, 900, 5) // BURST
- };
- Nuke[] Nukes4 = {
- new Nuke(1293, 900, 5) // BURST
- };
- Nuke[] Nukes5 = {
- new Nuke(1340, 900, 1) // Ice Vortex
- };
- Nuke[] Nukes6 = {
- new Nuke(1453, 900, 1) // Crusher
- };
- Nuke[] Nukes7 = {
- new Nuke(1555, 150, 2) // Cannon
- };
- Nuke[] Nukes8 = {
- new Nuke(1554, 900, 2) // Blast
- };
- class Nuke{
- public int Id;
- public int Range;
- public int Priorty;
- public Nuke(int id, int range, int priorty)
- {
- Id = id;
- Range = range;
- Priorty = priorty;
- }
- }
- public override void OnStart() {
- base.OnStart();
- BindKey(key1, SpsSkills);
- BindKey(key2, Cancel);
- BindKey(key3, Bursts);
- BindKey(key3, Bursts1);
- BindKey(key3, Bursts2);
- ChatMessage(OnSystemMessage);
- CastStarted(BuffsAndDismiss);
- EnabledChanged(true, autoShots);
- Enabled = true;
- }
- public bool isDisabled(){
- return (Me.IsTranced || Me.IsDead || Me.IsAnchored || Me.IsMedused || Me.Buffs.Any(b => buffsIds.Contains(b.Id)) );
- }
- void autoShots() {
- if ( Client.IsLoggedIn ) {
- Client.AutoSoulshot(3949,true);
- Client.AutoSoulshot(3950,true);
- Client.AutoSoulshot(3952,true);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement