What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

Agility

I was unaware that you could change this setting as i hadn't come across any information regarding swapping it.

"private string _Routine1 = "Agility.Routines."+GameManager.LocalPlayer.Class+"_DPS";" < do you need to change DPS to Tank?
 
I was unaware that you could change this setting as i hadn't come across any information regarding swapping it.

"private string _Routine1 = "Agility.Routines."+GameManager.LocalPlayer.Class+"_DPS";" < do you need to change DPS to Tank?

Nope! That's just to set the default setting on the very first start up!

If you click on 'Agility' in the top left corner of the Wildbuddy window, there's a Hotkey section you can play with. :)
 
Ohh there is actually settings under the GUI now ^^ hadn't Realised my bad ^^

How would one go about adding channeled abilities to the CS file as the build used in the setup is no longer optimum in drop 6
 
Last edited:
Need to debug that a bit, it broke over the last set of changes, as I notice whirlwind has been breaking it's channel! Otherwise, it'll eventually work the same as everything else! :)
 
Can't get Botbase to load
Code:
Exception instantiating type Agility.Agility
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.IO.DirectoryNotFoundException: Could not find a part of the path 'D:\Downloads\6 WoW Files\WildbuddyBETA 0.1.546.258\Bots\Agility\Settings\AgilitySettings.xaml'.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
   at System.IO.FileStream..ctor(String path, FileMode mode)
   at Agility.Settings.AgilitySettings..ctor() in d:\Downloads\6 WoW Files\WildbuddyBETA 0.1.546.258\Bots\wildstar-agility\Settings\AgilitySettings.cs:line 34
   at Agility.Settings.AgilitySettings.get_Instance() in d:\Downloads\6 WoW Files\WildbuddyBETA 0.1.546.258\Bots\wildstar-agility\Settings\AgilitySettings.cs:line 48
   at Agility.Agility..ctor() in d:\Downloads\6 WoW Files\WildbuddyBETA 0.1.546.258\Bots\wildstar-agility\Agility.cs:line 100
   --- End of inner exception stack trace ---
   at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)
   at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
   at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
   at System.Activator.CreateInstance(Type type, Boolean nonPublic)
   at System.Activator.CreateInstance(Type type)
   at Buddy.Common.TypeFinder`1.(Assembly )
Exception instantiating type Agility.Agility
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.IO.DirectoryNotFoundException: Could not find a part of the path 'D:\Downloads\6 WoW Files\WildbuddyBETA 0.1.546.258\Bots\Agility\Settings\AgilitySettings.xaml'.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
   at System.IO.FileStream..ctor(String path, FileMode mode)
   at Agility.Settings.AgilitySettings..ctor() in d:\Downloads\6 WoW Files\WildbuddyBETA 0.1.546.258\Bots\wildstar-agility\Settings\AgilitySettings.cs:line 34
   at Agility.Settings.AgilitySettings.get_Instance() in d:\Downloads\6 WoW Files\WildbuddyBETA 0.1.546.258\Bots\wildstar-agility\Settings\AgilitySettings.cs:line 48
   at Agility.Agility..ctor() in d:\Downloads\6 WoW Files\WildbuddyBETA 0.1.546.258\Bots\wildstar-agility\Agility.cs:line 100
   --- End of inner exception stack trace ---

If u need the actual log pls let me know. Only have the Profile Bot and CombatBot in my list.

I'm off to work now, will check back later on. Thanks.
 
Last edited:
Can't get Botbase to load
Code:
Exception instantiating type Agility.Agility
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.IO.DirectoryNotFoundException: Could not find a part of the path 'D:\Downloads\6 WoW Files\WildbuddyBETA 0.1.546.258\Bots\Agility\Settings\AgilitySettings.xaml'.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
   at System.IO.FileStream..ctor(String path, FileMode mode)
   at Agility.Settings.AgilitySettings..ctor() in d:\Downloads\6 WoW Files\WildbuddyBETA 0.1.546.258\Bots\wildstar-agility\Settings\AgilitySettings.cs:line 34
   at Agility.Settings.AgilitySettings.get_Instance() in d:\Downloads\6 WoW Files\WildbuddyBETA 0.1.546.258\Bots\wildstar-agility\Settings\AgilitySettings.cs:line 48
   at Agility.Agility..ctor() in d:\Downloads\6 WoW Files\WildbuddyBETA 0.1.546.258\Bots\wildstar-agility\Agility.cs:line 100
   --- End of inner exception stack trace ---
   at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)
   at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
   at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
   at System.Activator.CreateInstance(Type type, Boolean nonPublic)
   at System.Activator.CreateInstance(Type type)
   at Buddy.Common.TypeFinder`1.(Assembly )
Exception instantiating type Agility.Agility
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.IO.DirectoryNotFoundException: Could not find a part of the path 'D:\Downloads\6 WoW Files\WildbuddyBETA 0.1.546.258\Bots\Agility\Settings\AgilitySettings.xaml'.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
   at System.IO.FileStream..ctor(String path, FileMode mode)
   at Agility.Settings.AgilitySettings..ctor() in d:\Downloads\6 WoW Files\WildbuddyBETA 0.1.546.258\Bots\wildstar-agility\Settings\AgilitySettings.cs:line 34
   at Agility.Settings.AgilitySettings.get_Instance() in d:\Downloads\6 WoW Files\WildbuddyBETA 0.1.546.258\Bots\wildstar-agility\Settings\AgilitySettings.cs:line 48
   at Agility.Agility..ctor() in d:\Downloads\6 WoW Files\WildbuddyBETA 0.1.546.258\Bots\wildstar-agility\Agility.cs:line 100
   --- End of inner exception stack trace ---

If u need the actual log pls let me know. Only have the Profile Bot and CombatBot in my list.

I'm off to work now, will check back later on. Thanks.

I have yet to address this with a relative directory, but rename the folder 'wildstar-agility' to 'Agility' and it should work all dandy. :)
 
i dont know if it is because engineer pets are currently bugged (as you stated), but i tried this botbase today as an engineer and when i pressed 1 i had literally under 1 fps.. related to the bugs or something else going on?

2015-10-09 12:22:14,343 [1] INFO MainWindow - Selected new bot: Profile Bot v0.0.0.1 by Bossland GmbH
2015-10-09 12:22:14,353 [1] DEBUG MainWindow - Last Routine Used: Default Combat Routine
2015-10-09 12:22:14,354 [1] DEBUG MainWindow - Found last used routine! Setting it as selected...
2015-10-09 12:22:14,393 [1] INFO SpellManager - Setting game spell cast behavior to Normal
2015-10-09 12:22:14,399 [1] INFO MainWindow - Selected Default Combat Routine version 1.0 as the current combat routine!
2015-10-09 12:22:14,399 [1] DEBUG MainWindow - Routine is a button provider, showing config button...
2015-10-09 12:22:27,564 [1] INFO MainWindow - Selected new bot: Agility v0.5 by Deathdisguise
2015-10-09 12:22:30,960 [1] INFO Default Routine - Vorwärts bewegen [MoveForward] Device: 1, Modifier: 0, CharCode: 17, Key: W Device: 1, Modifier: 0, CharCode: 328, Key: None Category: 3, CanHaveUpDownState: True, IsDown: False
2015-10-09 12:23:05,640 [1] DEBUG AgilitySettings - Group Auto Loot : False
2015-10-09 12:23:07,889 [1] DEBUG AgilitySettings - Group Auto Loot : True
2015-10-09 12:23:44,792 [Pulsator Thread] DEBUG Agility [VariableController] - Saving original combat settings.
2015-10-09 12:23:45,001 [Pulsator Thread] DEBUG Agility [VariableController] - Loading preferred combat settings.
2015-10-09 12:23:45,001 [Pulsator Thread] INFO SpellManager - Setting game spell cast behavior to Normal
2015-10-09 12:23:45,249 [Pulsator Thread] WARN Agility - Agility Hotkeys:
2015-10-09 12:23:45,249 [Pulsator Thread] WARN Agility - 1 - Full DPS
2015-10-09 12:23:45,249 [Pulsator Thread] WARN Agility - 2 - Slow DPS
2015-10-09 12:23:45,249 [Pulsator Thread] WARN Agility - 3 - Stun
2015-10-09 12:23:45,249 [Pulsator Thread] WARN Agility - 4 - Heal
2015-10-09 12:23:50,644 [Pulsator Thread] INFO Agility [SpellController] - [2] [55187] [000] Flüchtige Injektion 0
2015-10-09 12:23:50,708 [Pulsator Thread] INFO Agility [SpellController] - [2] [55187] [000] Flüchtige Injektion 0
2015-10-09 12:23:50,761 [Pulsator Thread] INFO Agility [SpellController] - [2] [55187] [000] Flüchtige Injektion 0
2015-10-09 12:23:50,870 [Pulsator Thread] INFO Agility [SpellController] - [1] [47866] [000] Modus: Liquidieren 0
2015-10-09 12:23:50,982 [Pulsator Thread] INFO Agility [SpellController] - [1] [47866] [000] Modus: Liquidieren 0
2015-10-09 12:23:51,128 [Pulsator Thread] INFO Agility [SpellController] - [5] [56252] [000] Artilleriebot 0
2015-10-09 12:23:51,250 [Pulsator Thread] INFO Agility [SpellController] - [5] [56252] [000] Artilleriebot 0
2015-10-09 12:23:51,400 [Pulsator Thread] INFO Agility [SpellController] - [5] [56252] [016] Artilleriebot 0
2015-10-09 12:23:51,586 [Pulsator Thread] INFO Agility [SpellController] - [5] [56252] [016] Artilleriebot 0
2015-10-09 12:23:51,802 [Pulsator Thread] INFO Agility [SpellController] - [5] [56252] [016] Artilleriebot 0
2015-10-09 12:23:52,068 [Pulsator Thread] INFO Agility [SpellController] - [5] [56252] [016] Artilleriebot 0
2015-10-09 12:23:52,266 [Pulsator Thread] INFO Agility [SpellController] - [9] [55339] [000] Biogranate 0
2015-10-09 12:23:52,463 [Pulsator Thread] INFO Agility [SpellController] - [9] [55339] [000] Biogranate 0
2015-10-09 12:23:52,692 [Pulsator Thread] INFO Agility [SpellController] - [9] [55552] [000] Energiebolzen 0
2015-10-09 12:23:52,936 [Pulsator Thread] INFO Agility [SpellController] - [9] [55552] [000] Energiebolzen 0
2015-10-09 12:23:53,205 [Pulsator Thread] INFO Agility [SpellController] - [9] [55552] [014] Energiebolzen 0
2015-10-09 12:23:53,481 [Pulsator Thread] INFO Agility [SpellController] - [9] [55552] [000] Energiebolzen 0
2015-10-09 12:23:53,708 [Pulsator Thread] INFO Agility [SpellController] - [9] [55552] [000] Energiebolzen 0
2015-10-09 12:23:54,008 [Pulsator Thread] INFO Agility [SpellController] - [9] [55552] [014] Energiebolzen 0
2015-10-09 12:23:54,315 [Pulsator Thread] INFO Agility [SpellController] - [9] [55552] [000] Energiebolzen 0
2015-10-09 12:23:54,653 [Pulsator Thread] INFO Agility [SpellController] - [9] [55552] [014] Energiebolzen 0
2015-10-09 12:23:54,988 [Pulsator Thread] INFO Agility [SpellController] - [9] [55552] [000] Energiebolzen 0
2015-10-09 12:23:55,347 [Pulsator Thread] INFO Agility [SpellController] - [9] [55552] [014] Energiebolzen 0
2015-10-09 12:23:55,721 [Pulsator Thread] INFO Agility [SpellController] - [9] [55552] [014] Energiebolzen 0
2015-10-09 12:23:56,099 [Pulsator Thread] INFO Agility [SpellController] - [9] [55552] [014] Energiebolzen 0
2015-10-09 12:23:56,511 [Pulsator Thread] INFO Agility [SpellController] - [9] [55552] [014] Energiebolzen 0
2015-10-09 12:23:56,919 [Pulsator Thread] INFO Agility [SpellController] - [9] [55552] [000] Energiebolzen 0
2015-10-09 12:23:57,334 [Pulsator Thread] INFO Agility [SpellController] - [9] [55552] [000] Energiebolzen 0
2015-10-09 12:23:57,758 [Pulsator Thread] INFO Agility [SpellController] - [9] [55552] [014] Energiebolzen 0
2015-10-09 12:23:58,145 [Pulsator Thread] INFO Agility [SpellController] - [9] [55339] [000] Biogranate 220
2015-10-09 12:23:58,508 [Pulsator Thread] INFO Agility [SpellController] - [9] [55339] [000] Biogranate 0
2015-10-09 12:23:58,963 [Pulsator Thread] INFO Agility [SpellController] - [9] [55552] [000] Energiebolzen 0
2015-10-09 12:23:59,430 [Pulsator Thread] INFO Agility [SpellController] - [9] [55552] [000] Energiebolzen 0
2015-10-09 12:23:59,914 [Pulsator Thread] INFO Agility [SpellController] - [9] [55552] [014] Energiebolzen 0
2015-10-09 12:24:00,410 [Pulsator Thread] INFO Agility [SpellController] - [9] [55552] [000] Energiebolzen 0
2015-10-09 12:24:00,921 [Pulsator Thread] INFO Agility [SpellController] - [9] [55552] [014] Energiebolzen 0
2015-10-09 12:24:01,441 [Pulsator Thread] INFO Agility [SpellController] - [9] [55552] [014] Energiebolzen 0
2015-10-09 12:24:01,981 [Pulsator Thread] INFO Agility [SpellController] - [9] [55552] [014] Energiebolzen 0
2015-10-09 12:24:02,526 [Pulsator Thread] INFO Agility [SpellController] - [9] [55552] [000] Energiebolzen 0
2015-10-09 12:24:03,081 [Pulsator Thread] INFO Agility [SpellController] - [9] [55552] [000] Energiebolzen 0
2015-10-09 12:24:03,653 [Pulsator Thread] INFO Agility [SpellController] - [9] [55552] [014] Energiebolzen 0
2015-10-09 12:24:04,239 [Pulsator Thread] INFO Agility [SpellController] - [9] [55552] [000] Energiebolzen 0
2015-10-09 12:24:04,835 [Pulsator Thread] INFO Agility [SpellController] - [9] [55552] [014] Energiebolzen 0
2015-10-09 12:24:05,448 [Pulsator Thread] INFO Agility [SpellController] - [9] [55552] [014] Energiebolzen 0
2015-10-09 12:24:05,984 [Pulsator Thread] INFO Agility [SpellController] - [9] [55339] [015] Biogranate 61
2015-10-09 12:24:06,507 [Pulsator Thread] INFO Agility [SpellController] - [9] [55339] [000] Biogranate 0
2015-10-09 12:24:07,035 [Pulsator Thread] INFO Agility [SpellController] - [9] [55339] [000] Biogranate 0
2015-10-09 12:24:07,703 [Pulsator Thread] INFO Agility [SpellController] - [9] [55552] [000] Energiebolzen 0
2015-10-09 12:24:08,004 [Pulsator Thread] INFO Agility [SpellController] - [2] [55187] [000] Flüchtige Injektion 63
2015-10-09 12:24:08,308 [Pulsator Thread] INFO Agility [SpellController] - [2] [55187] [000] Flüchtige Injektion 0
2015-10-09 12:24:08,996 [Pulsator Thread] INFO Agility [SpellController] - [9] [55552] [014] Energiebolzen 0
2015-10-09 12:24:09,702 [Pulsator Thread] INFO Agility [SpellController] - [9] [55552] [000] Energiebolzen 0
2015-10-09 12:24:10,423 [Pulsator Thread] INFO Agility [SpellController] - [9] [55552] [014] Energiebolzen 0
2015-10-09 12:24:11,152 [Pulsator Thread] INFO Agility [SpellController] - [9] [55552] [014] Energiebolzen 0
2015-10-09 12:24:11,939 [Pulsator Thread] INFO Agility [SpellController] - [9] [55552] [014] Energiebolzen 0
2015-10-09 12:24:12,758 [Pulsator Thread] INFO Agility [SpellController] - [9] [55552] [000] Energiebolzen 0
2015-10-09 12:24:13,542 [Pulsator Thread] INFO Agility [SpellController] - [9] [55552] [000] Energiebolzen 0
2015-10-09 12:24:20,797 [Pulsator Thread] INFO Agility [SpellController] - [9] [55552] [000] Energiebolzen 0
2015-10-09 12:24:23,866 [Pulsator Thread] INFO Agility [SpellController] - [9] [55552] [000] Energiebolzen 0
2015-10-09 12:24:24,712 [Pulsator Thread] INFO Agility [SpellController] - [9] [55552] [000] Energiebolzen 0
2015-10-09 12:24:33,732 [Pulsator Thread] INFO Agility [SpellController] - [2] [55187] [000] Flüchtige Injektion 0
2015-10-09 12:24:34,084 [Pulsator Thread] INFO Agility [SpellController] - [2] [55187] [000] Flüchtige Injektion 0
2015-10-09 12:24:34,927 [Pulsator Thread] INFO Agility [SpellController] - [9] [55552] [000] Energiebolzen 0
2015-10-09 12:24:35,783 [Pulsator Thread] INFO Agility [SpellController] - [9] [55552] [000] Energiebolzen 0
2015-10-09 12:24:36,481 [Pulsator Thread] INFO Agility [SpellController] - [9] [55339] [000] Biogranate 0
2015-10-09 12:24:37,218 [Pulsator Thread] INFO Agility [SpellController] - [9] [55339] [014] Biogranate 0
2015-10-09 12:24:37,955 [Pulsator Thread] INFO Agility [SpellController] - [9] [55339] [000] Biogranate 0
2015-10-09 12:24:38,705 [Pulsator Thread] INFO Agility [SpellController] - [9] [55339] [000] Biogranate 0
2015-10-09 12:24:39,624 [Pulsator Thread] INFO Agility [SpellController] - [9] [55552] [000] Energiebolzen 0
2015-10-09 12:24:40,560 [Pulsator Thread] INFO Agility [SpellController] - [9] [55552] [000] Energiebolzen 0
2015-10-09 12:24:41,501 [Pulsator Thread] INFO Agility [SpellController] - [9] [55552] [000] Energiebolzen 0
2015-10-09 12:24:45,017 [Pulsator Thread] DEBUG Agility [VariableController] - Reverting back to original combat settings.
2015-10-09 12:24:50,688 [1] INFO MainWindow - Selected new bot: Profile Bot v0.0.0.1 by Bossland GmbH

seems like it wants to cast every spell more times than it needs to?!
 
i dont know if it is because engineer pets are currently bugged (as you stated), but i tried this botbase today as an engineer and when i pressed 1 i had literally under 1 fps.. related to the bugs or something else going on?



seems like it wants to cast every spell more times than it needs to?!

Someone else reported of having extreme lag issues because of their language settings, something I will have to look into! But, while not ideal, the lag stopped when they switched to english. :(
 
What is the best DPS warrior build for Agility ?
Does the routine take account of AMP abilities like kinetic fury where we have to stay above a certain amount of kinetic energy to exploit them ? Or Power link ?
Thanks.
 
What is the best DPS warrior build for Agility ?
Does the routine take account of AMP abilities like kinetic fury where we have to stay above a certain amount of kinetic energy to exploit them ? Or Power link ?
Thanks.

Right now considering all the stuff that needs to be fixed and updated, I would suggest the relentless 8 / rampage 8 / breaching / tremor / augmented variants.

AMP detection is still working, yes. :)

Whirlwind and other channels I'll be working on today, as well as looking into alternate languages going FUBAR for frame lag.
 
Deathdisguise, can u add Annihilation and Nullifier for DD medic pls pls ?? <3 :o
 
wow this is very smooth! its a shame you have to hold a key down and it dosent just do its thing once you enter combat like CR's from HonorBuddy
 
Thank you Deathdisguise.

@Quick : Wildstar combat system is different than WoW, all ur attacks are AE so u can enter combat anytime you want, with or without targets.
 
wow this is very smooth! its a shame you have to hold a key down and it dosent just do its thing once you enter combat like CR's from HonorBuddy

There isn't really much ability to do this efficiently just yet, and you'd probably be enjoying the default combat routine with the combat bot profile instead! :)
 
don't get me wrong you doing a great job and i tyvm! :D what makes your better than combatbot is that fact that it does not face/move you to the target
 
@Stormtrooper11 i know buddy, but id imagine you could set a in combat in range kinda thing the api must support it if combatbot can do it
 
@Stormtrooper11 i know buddy, but id imagine you could set a in combat in range kinda thing the api must support it if combatbot can do it

With a strict policy of no movement/targeting, it would put users in danger of looking severely bottish if they were to accidentally AFK or anything of the sort, so it likely won't be implemented in Agility in the near future, as protecting you lovelies is a priority to me! :)
 
The stalker routine has been freezing up a bit on me when trying to use it so I changed it to this (based off this post)

I'm sure it could still use some work & doesn't accommodate every situation but it doesn't hang & it performs better IMO than the standard build.

Code:
using Buddy.Wildstar.Game;
using Buddy.Wildstar.Game.Actors;
using System;
using System.Linq;

namespace Agility.Routines
{
    class Stalker_DPS : IAgilityRoutine
    {
        public string Name { get { return "DPS"; } }
        public string Version { get { return "0.1"; } }
        public string Author { get { return "Deathdisguise"; } }

        private Player Me { get { return GameManager.LocalPlayer; } }

        public string Routine()
        {
            if (Me.IsCasting
                && Me.CurrentCast.Name.Equals("Preparation")
                && Me.SuitPower < 100
                && !((SpellController.HasSpell("Concussive Kicks")
                        && SpellController.Cooldown("Concussive Kicks") < 1000)
                    || (SpellController.HasSpell("Punish")
                        && SpellController.Cooldown("Punish") < 1000)))
                return "";
            if (SpellController.CanCast("Preparation")
                && !Me.HasBuff("Preparation")
                && (!SpellController.HasSpell("Concussive Kicks")
                    || (SpellController.HasSpell("Concussive Kicks")
                        && SpellController.Cooldown("Concussive Kicks") > 3000))
                && (!SpellController.HasSpell("Punish")
                    || (SpellController.HasSpell("Punish")
                        && SpellController.Cooldown("Punish") > 3000)))
            {
                //if (SpellController.HasAMP("Follow Up"))
                //    SpellController.SetStance("Nano Skin: Evasive");
                return "Preparation";
            }
            SpellController.SetStance("Nano Skin: Lethal");
            if (SpellController.CanCast("Nano Skin: Lethal") && Me.SuitPower >= 90)
                return "Nano Skin: Lethal";
            if (Me.SuitPower < 35)
            {
                if (SpellController.CanCast("Analyze Weakness"))
                    return "Analyze Weakness";
                if (SpellController.CanCast("Punish") && Me.HasBuff("Punish"))
                    return "Punish";
            }
            else
            {
                if (SpellController.HasSpell("Impale") && SpellController.CanCast("Impale") && !Me.HasBuff("Punish") && !SpellController.CanCast("Punish"))
                    return "Impale";
                if (SpellController.HasSpell("Neutralize") && SpellController.CanCast("Neutralize"))
                    return "Neutralize";
            }
            if (SpellController.CanCast("Concussive Kicks"))
                return "Concussive Kicks";
            else if (SpellController.HasSpell("Impale") && SpellController.CanCast("Impale") && Me.SuitPower >= 30)
                return "Impale";
            if (SpellController.CanCast("Shred"))
                return "Shred";
            return "";
        }
    }
}
 
Back
Top