Page 1 of 1
how can we disable a skill like rogue.poision
Posted: Thu Aug 11, 2016 7:48 am
by beanybabe
I was wondering is there a way to disable a skill so it does not cast. I want to disable rogue poison so it does not cast.
If set it to priority 0 would that make it never cast?
The only other option might be to change it from a "buff" to "none" if that does not crash the bot.
Re: how can we disable a skill like rogue.poision
Posted: Thu Aug 11, 2016 8:59 am
by ThulsaDoom
Try like this in profile skill list:
Code: Select all
<skill name="ROGUE_POISON" hotkey="MACRO" priority="10" autouse="false" />
Regards
Re: how can we disable a skill like rogue.poision
Posted: Thu Aug 11, 2016 11:00 am
by Bill D Cat
Or just remove the skill from the profile skill listing altogether. If it isn't listed, the bot won't try to use it.
If you do this, it might also be a good idea to set the merchant option for purchasing poisons to 0 as well.
Re: how can we disable a skill like rogue.poision
Posted: Fri Aug 12, 2016 2:23 pm
by beanybabe
The reason i'm looking to disable is so you can swap classes and play some combos you want the skill not to cast
but have the skill be there in case it is used in a wp so bot does not crash with some nul or other error.
I use one profile to do most classes and just adjust the profile in the onload section.
Re: how can we disable a skill like rogue.poision
Posted: Sat Aug 13, 2016 10:21 am
by Bill D Cat
Oh, well in that case, perhaps something like this would do the trick. Adding this to the onload should toggle the POISON skill off for you for R/M and enable it for all other R/X class combinations.
Code: Select all
if player.Class1 == CLASS_ROGUE then
if player.Class2 == CLASS_MAGE then
changeProfileSkill("ROGUE_POISON", "AutoUse", false)
else
changeProfileSkill("ROGUE_POISON", "AutoUse", true)
end
end