![]() |
Hexera EK advanced attack template - Printable Version +- BBot - The best bot of the world (https://forums.bmega.net) +-- Forum: Scripts & Macros (https://forums.bmega.net/forum-4.html) +--- Forum: Free Scripts (https://forums.bmega.net/forum-10.html) +--- Thread: Hexera EK advanced attack template (/thread-20860.html) |
Hexera EK advanced attack template - Catar - 04-19-2018 I present to you clean script / template for Hexera EK with example of using new , easier to edit advanced attack system. Each of Attack Sequences have set conditions on which they will be used. By double clicking action, you can edit things like:
![]() Examples of full check I made:
List of monsters to attack is clean, u need to adjust it yourself. ![]() Added few useful macros witch Variables that makes them easy to edit FollowCreature Macro requires adjustment as explained IN HERE ![]() ![]() ![]() RE: Hexera EK advanced attack template - Kazan - 04-20-2018 you forgot to tell that if you will made every spell in different sequences it will use only first sequence all time and sometimes 2nd ![]() RE: Hexera EK advanced attack template - Catar - 04-20-2018 (04-20-2018, 07:33 PM)Kazan Wrote: you forgot to tell that if you will made every spell in different sequences it will use only first sequence all time and sometimes 2nd Not sure what ya mean, try it, it works as it supposed to And please stop using "reply" and quoting whole long post RE: Hexera EK advanced attack template - Kazan - 04-20-2018 (04-20-2018, 07:41 PM)Catar Wrote:(04-20-2018, 07:33 PM)Kazan Wrote: you forgot to tell that if you will made every spell in different sequences it will use only first sequence all time and sometimes 2nd I mean that; On your screen you got many sequences (brutal strike, annihilation etc.) - Only first sequence will be used all the time and if it will be exhausted than bot will sometimes use 2nd sequence, but next ones will be never used... I tried that way with you around one year ago on spike script - we was havin' exori frigo sequence, avalanche sequence and SD sequence - it was using all time exori frigo ![]() But when i have built macro with variables (every variable was for other state of players on screen, target, mana etc.) and used those variables in full checks of sequences USING SAME VARIABLE BUT WITH OTHER VALUE it started working good. I mean like {C Avalanche}@ 0 0 100 3161 Check !AvaON!==1 ECheck:; {Target spike spelle}! 0 0 100 2000 Check !SDON!==1 ECheck:;$ 0 0 100 0 Check !SDON!==1 ECheck:exori gran frigo;! 0 0 100 2000 Check !SDON!==1 ECheck:;$ 0 0 100 0 Check !SDON!==1 ECheck:exori max frigo;! 0 0 100 2000 Check !SDON!==1 ECheck:;$ 0 0 100 0 Check !SDON!==1 ECheck:exori gran frigo;! 0 0 100 1900 Check !SDON!==1 ECheck:;$ 0 0 100 0 Check !SDON!==1 ECheck:exori frigo;! 0 0 100 1900 Check !SDON!==1 ECheck:;$ 0 0 100 0 Check !SDON!==1 ECheck:exori gran frigo;! 0 0 100 1900 Check !SDON!==1 ECheck:;$ 0 0 100 0 Check !SDON!==1 ECheck:exori frigo; {Target spike SD}! 0 0 100 2000 Check ECheck:;@ 0 0 100 3155 Check !SDON!==0 ECheck:; 10 {SD/spell check} SDON:=0 !w8safe!>!rdm! SDON:=1 10 {human timer} jestplr:=Creatures.PlayersOnScreen() !jestplr!>=2 [jest] w8safe:=0 exit() {jest} VarAdd(w8safe, 2) exit() 10 {AvaTimer} AvaON:=0 !w8safe!>!rdm! Creatures.PlayersOnScreen()==1 Self.Attacking()==1 AvaON:=1 RE: Hexera EK advanced attack template - Catar - 04-20-2018 No, its not true, you dont rly understand how advanced attack works then, it uses all of them one year ago, advanced attack had some issues, and i didnt exactly understand how exhausts work in bbot. When i have Exori gran with higher priority and exori, under it, it uses it alternately, cooldown of exori gran in hexera is 3 seconds, cooldown of regular exori is 2 seconds global exhaust on offensive spells is 2 seconds Therefore, u set BBot.Exhaust.Offensive to near 2 seconds (i set it to 1990 + adds up latency to server) If conditions for exori gran are met, meaning it has enough mana that is set in sequence, It will first use exori gran and puts it on regular 2 second Exhaust + extra 1000 miliseconds i put in wait, = 3 seconds, then after 2 seconds it will use exori, because it cannot use yet exori gran again, its on cooldown for 1 more seconds. after exori it will use exori gran again, and so on, so on. all other sequences have their own conditions it has to meet to be used as well, bot will check all of them them, one by one comparing conditions to current situation, until it finds the one he is allowed to use. RE: Hexera EK advanced attack template - MegaNo0body - 04-20-2018 (04-20-2018, 08:26 PM)Kazan Wrote: On your screen you got many sequences (brutal strike, annihilation etc.) - Only first sequence will be used all the time and if it will be exhausted than bot will sometimes use 2nd sequence, but next ones will be never used... I tried that way with you around one year ago on spike script - we was havin' exori frigo sequence, avalanche sequence and SD sequence - it was using all time exori frigo To fix this, you can add a Wait to the Attack Sequence, after using an spell. That way, the Attack Sequence stays in Waiting State, allowing Advanced Attacker to move to next items. It's my failure, I definitely need to write about how to use the Advanced Attacks. RE: Hexera EK advanced attack template - Catar - 06-13-2018 Updated template , added new attachment in first post, Mind if someone test it? |