Attack with Warden pet attack (ctrl+3) first?
Re: Attack with Warden pet attack (ctrl+3) first?
how to put in profile and waypoint>>??
Re: Attack with Warden pet attack (ctrl+3) first?
Still haven't decided best way to do it yet.
If added to profile-skills then it would need to be added to skills database and then also added into skills.lua as usage for it. Not sure if it is necessary to add in 3 different places just to do 1 thing.
At the moment I am thinking along the lines of making it a function that is only called if main class is a warden and just have a profile option for pet to initiate attack or not.
That way all the code to deal with warden pet is all in one place.
I am half thinking to just make a classes/wardenpet.lua and put any code in there, that way if things are developed further there is already a place for any code to be added.
Since you obviously have a high lvl warden can you make up a list/table of each pet and what skills are in which action bar.
Something like this
Oak
6 -- punch -- can auto attack -- auto attack is good.
auto attack is when you right click skill and you get the swirl around the icon.
Also any important information like the crystal thingy doesn't actually attack and it's skills are buffs.
If added to profile-skills then it would need to be added to skills database and then also added into skills.lua as usage for it. Not sure if it is necessary to add in 3 different places just to do 1 thing.
At the moment I am thinking along the lines of making it a function that is only called if main class is a warden and just have a profile option for pet to initiate attack or not.
That way all the code to deal with warden pet is all in one place.
I am half thinking to just make a classes/wardenpet.lua and put any code in there, that way if things are developed further there is already a place for any code to be added.
Since you obviously have a high lvl warden can you make up a list/table of each pet and what skills are in which action bar.
Something like this
Oak
6 -- punch -- can auto attack -- auto attack is good.
auto attack is when you right click skill and you get the swirl around the icon.
Also any important information like the crystal thingy doesn't actually attack and it's skills are buffs.
Remember no matter you do in life to always have a little fun while you are at it 
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
Re: Attack with Warden pet attack (ctrl+3) first?
In the mean time you could test this out in your profile.
So it will check target is a mob and you are a warden and also not in combat yet then it will tell pet to attack and wait 5 seconds to give pet a chance to attack.
I assume if you are in combat then the pet will be defending you so no need to tell it to attack if in combat. Also means you won't be constantly telling pet to attack every time you go to use a skill.
--=== Edit ===--
I did a little testing and it always tries to get in 50 range before melee and then takes a swing at mob before even attempting to use a skill.
Would be a different story if you had a ranged skill to pull, like Wd/S
Code: Select all
<onPreSkillCast>
target = player:getTarget();
if player.Class1 == 7 and target.Type == 2 and (not player.Battling) then
RoMScript("UsePetAction(3)")
yrest(5000) -- pause to let pet attack before bot
end
</onPreSkillCast>
I assume if you are in combat then the pet will be defending you so no need to tell it to attack if in combat. Also means you won't be constantly telling pet to attack every time you go to use a skill.
--=== Edit ===--
I did a little testing and it always tries to get in 50 range before melee and then takes a swing at mob before even attempting to use a skill.
Would be a different story if you had a ranged skill to pull, like Wd/S
Remember no matter you do in life to always have a little fun while you are at it 
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
Re: Attack with Warden pet attack (ctrl+3) first?
6----Centaur's Arrow---Range:250---Casting Time:2sec---(Right-Click to initiate automatic attack) CD:0 sec.
7----Valiant Shot------Range:250---Casting Time:2sec---(Right-Click to initiate automatic attack) CD:6 secs.
3----Attack
7----Valiant Shot------Range:250---Casting Time:2sec---(Right-Click to initiate automatic attack) CD:6 secs.
3----Attack
Re: Attack with Warden pet attack (ctrl+3) first?
I agree pet skills need to be separate to player skills as most of the checks done on player skills don't apply to pet skills. Eg. pet skill needs 30 energy, is it player energy or pet energy. Pet skill has casttime of 2 seconds, does that mean the player will be casting for 2 seconds? No it doesn't. You get the picture.
- Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
- I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
- How to: copy and paste in micromacro
________________________
Quote:- “They say hard work never hurt anybody, but I figure, why take the chance.”
- Ronald Reagan
Re: Attack with Warden pet attack (ctrl+3) first?
lisa wrote:In the mean time you could test this out in your profile.
So it will check target is a mob and you are a warden and also not in combat yet then it will tell pet to attack and wait 5 seconds to give pet a chance to attack.Code: Select all
<onPreSkillCast> target = player:getTarget(); if player.Class1 == 7 and target.Type == 2 and (not player.Battling) then RoMScript("UsePetAction(3)") yrest(5000) -- pause to let pet attack before bot end </onPreSkillCast>
I assume if you are in combat then the pet will be defending you so no need to tell it to attack if in combat. Also means you won't be constantly telling pet to attack every time you go to use a skill.
--=== Edit ===--
I did a little testing and it always tries to get in 50 range before melee and then takes a swing at mob before even attempting to use a skill.
Would be a different story if you had a ranged skill to pull, like Wd/S
as of now onPreSkillCast are working fine for me... i use ("UsePetAction(6)") to use Centaur's Arrow.. Because Centaur's Arrow has 250 range.. my pet cast the arrow in his range..
Re: Attack with Warden pet attack (ctrl+3) first?
Just so you know, latest revision has had a total redo for pet usage.
Keep in mind it is still set to have pet attack when in combat and not before hand, so you will still need to use the code you currently have to deal with that.
revision notes are here.
http://www.solarstrike.net/phpBB3/viewt ... =30&t=3341
Keep in mind it is still set to have pet attack when in combat and not before hand, so you will still need to use the code you currently have to deal with that.
revision notes are here.
http://www.solarstrike.net/phpBB3/viewt ... =30&t=3341
Remember no matter you do in life to always have a little fun while you are at it 
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
Who is online
Users browsing this forum: Bing [Bot] and 14 guests