Set a flag variable with a delay when first skill triggered... same for second, then you know when u can use third... or read some post as someone posted this code not too long ago -- possibly earlier in this thread even...
Set a flag variable with a delay when first skill triggered... same for second, then you know when u can use third... or read some post as someone posted this code not too long ago -- possibly earlier in this thread even...
or you just check for the mainhand, offhand, dualattacks ^^
@ yes, my daggerstatus function works like "GetDaggerStatus($target)"
and it just returns a number between 0 and 3 and you can base your fight func off that
Edit: A simple function that just daggerspams the lowes enemy in range would look like:
Code:
Func DaggerLowest()
$target = GetLowestEnemyToAgent(-2)
if GetDaggerStatus($target) = 1 Then
UseSkillEx($ff, $target)
ElseIf GetDaggerStatus($target) = 2 Then
UseSkillEx($db, $target)
ElseIf (GetDaggerStatus($target) = 0 or GetDaggerStatus($target) = 3) Then
UseskillEx($js, $target)
EndIf
EndFunc
@ yes, my daggerstatus function works like "GetDaggerStatus($target)"
and it just returns a number between 0 and 3 and you can base your fight func off that
Edit: A simple function that just daggerspams the lowes enemy in range would look like:
Code:
Func DaggerLowest()
$target = GetLowestEnemyToAgent(-2)
if GetDaggerStatus($target) = 1 Then
UseSkillEx($ff, $target)
ElseIf GetDaggerStatus($target) = 2 Then
UseSkillEx($db, $target)
ElseIf (GetDaggerStatus($target) = 0 or GetDaggerStatus($target) = 3) Then
UseskillEx($js, $target)
EndIf
EndFunc
Hello guys, since one of our members posted his collection of old broken bots, I'm working on making some Up to date.
Here is the Bo Farming bot !
Requirements :
Faction + HM + Minister Cho estate coop mission
The build I use ATM : OwFi0xjMRA5wwwcwEnJ6p/8WCA
You need to add some heroes, that can heal togo and Yijo mostly
(I use :
hero 1 : Owkj4wQopO+sqPel67S6i74aMA
Hero 2 : OACjAyhDJPYTnp17xFOhmWzLGA
Hero 3 : OAhjUwGYoOLV0QVoqKNncU7LGA)
You can take any heroes it's an easy mission but you'll need to modify the file if you change your build.
Change the 3 fonctions depending on your build :
$intSkillEnergy : tell the energy each skill needs
$intSkillAdrenaline : tell the adrenaline each skill needs
$intSkillCastTime : tell each time your skill needs to be casted. Add more time to be sure next skill will be used on time (ex : skill says 1/4, tell 1,5)
Hope it's cool, I've been chasing this one for years ( fixed it today dropped 4 Bo staff but they were only ****, hope you have more luck.) It takes between 7 to 10mn/run and can make up to 3golds a run. They, of course, are all uninscriptable.
If you have some unupdated bots since years, I can take a look at it for you !
Have fun
EDIT : If your connection drops out, it will reconnect but it will block as it thinks it's the beggining of the mission I need some more time to work on this
Not sure cause I don't use it.... but in that case you can use..
Code:
Local $lLastStrike
$lLastStrike = GetDaggerStatus(GetCurrentTarget())
seems like you guys had it and like I had said it was in previous post... just trying to get people to think for themselves and study the different functions available to them that allow people to come up with many ways to accomplish the same goals.