Jump to content

Bot stops to auto attack


Recommended Posts

Hi all

I'm trying out running a druid toon and created a fightclass myself.

The problem is that whenever I get attacked by multiple mobs, upon switching target, the bot stops auto attacking which is crucial when It's running out of mana.

Does anyone have a solution ?

 

Link to comment
Share on other sites

Quote

23:55:50 - [Fight] Player attack before being attacked by Webwood Spider (lvl 4)
23:55:51 - [VanillaTrainLevel] Started.
[F] 23:55:51 - [Spell] Cast (on target) Moonfire (Moonfire)
23:55:51 - [VanillaTrainLevel] Started.
[F] 23:55:51 - [Spell] Cast (on target) Wrath (Wrath)
[F] 23:55:51 - [Spell] Cast (on target) Wrath (Wrath)
[F] 23:55:52 - [Spell] Cast (on target) Wrath (Wrath)
23:55:52 - [VanillaTrainLevel] Started.
[F] 23:55:52 - [Spell] Cast (on target) Wrath (Wrath)
[F] 23:55:52 - [Spell] Cast (on target) Wrath (Wrath)
[F] 23:55:52 - [Spell] Cast (on target) Wrath (Wrath)
23:55:52 - [VanillaTrainLevel] Started.
[F] 23:55:52 - [Spell] Cast (on target) Wrath (Wrath)
[F] 23:55:53 - [Spell] Cast (on target) Wrath (Wrath)
23:55:53 - [VanillaTrainLevel] Started.
23:55:53 - [VanillaTrainLevel] Started.
23:55:54 - [VanillaTrainLevel] Started.
[F] 23:55:54 - [Spell] Cast (on target) Wrath (Wrath)
23:55:55 - [VanillaTrainLevel] Started.
23:55:55 - [VanillaTrainLevel] Started.
23:55:56 - [VanillaTrainLevel] Started.
23:55:56 - [VanillaTrainLevel] Started.
23:55:57 - [VanillaTrainLevel] Started.
23:55:57 - [VanillaTrainLevel] Started.
23:55:58 - [VanillaTrainLevel] Started.
23:55:58 - [VanillaTrainLevel] Started.
23:55:59 - [VanillaTrainLevel] Started.
23:55:59 - [VanillaTrainLevel] Started.
23:56:00 - [VanillaTrainLevel] Started.
23:56:01 - [VanillaTrainLevel] Started.
23:56:01 - [VanillaTrainLevel] Started.
[F] 23:56:01 - [Spell] Cast (on target) Moonfire (Moonfire)
[F] 23:56:02 - [Spell] Cast (on target) Moonfire (Moonfire)
23:56:02 - [VanillaTrainLevel] Started.
[F] 23:56:02 - [Spell] Cast (on target) Moonfire (Moonfire)
23:56:02 - [VanillaTrainLevel] Started.
23:56:03 - [VanillaTrainLevel] Started.
23:56:03 - [VanillaTrainLevel] Started.
23:56:04 - [VanillaTrainLevel] Started.
23:56:04 - [VanillaTrainLevel] Started.
23:56:05 - [VanillaTrainLevel] Started.
23:56:06 - [VanillaTrainLevel] Started.
23:56:06 - [VanillaTrainLevel] Started.
23:56:07 - [VanillaTrainLevel] Started.
23:56:07 - [VanillaTrainLevel] Started.
23:56:08 - [VanillaTrainLevel] Started.
23:56:08 - [VanillaTrainLevel] Started.
23:56:09 - [VanillaTrainLevel] Started.
[F] 23:56:09 - [Spell] Cast (on target) Wrath (Wrath)
23:56:09 - [VanillaTrainLevel] Started.
23:56:10 - [VanillaTrainLevel] Started.
23:56:11 - [VanillaTrainLevel] Started.
23:56:11 - [VanillaTrainLevel] Started.
23:56:12 - [VanillaTrainLevel] Started.
23:56:12 - [VanillaTrainLevel] Started.
[F] 23:56:12 - [Spell] Cast (onself) Healing Touch (Healing Touch)
23:56:13 - [Fight] Player Attacked by Webwood Spider (lvl 3)
23:56:13 - [VanillaTrainLevel] Started.
23:56:13 - [VanillaTrainLevel] Started.
23:56:14 - [VanillaTrainLevel] Started.
23:56:14 - [VanillaTrainLevel] Started.
23:56:15 - [VanillaTrainLevel] Started.
23:56:15 - [VanillaTrainLevel] Started.
23:56:16 - [VanillaTrainLevel] Started.
23:56:17 - [VanillaTrainLevel] Started.
23:56:17 - [VanillaTrainLevel] Started.
23:56:18 - [VanillaTrainLevel] Started.
23:56:18 - [VanillaTrainLevel] Started.
23:56:19 - [VanillaTrainLevel] Started.
23:56:19 - [VanillaTrainLevel] Started.
23:56:20 - [VanillaTrainLevel] Started.
23:56:20 - [VanillaTrainLevel] Started.
23:56:21 - [VanillaTrainLevel] Started.
[F] 23:56:21 - [Spell] Cast (on target) Moonfire (Moonfire)
23:56:22 - [VanillaTrainLevel] Started.
23:56:22 - [VanillaTrainLevel] Started.
23:56:23 - [VanillaTrainLevel] Started.
23:56:23 - [VanillaTrainLevel] Started.
23:56:24 - [VanillaTrainLevel] Started.
23:56:24 - [VanillaTrainLevel] Started.
23:56:25 - [VanillaTrainLevel] Started.
23:56:25 - [VanillaTrainLevel] Started.
23:56:26 - [VanillaTrainLevel] Started.
23:56:26 - [VanillaTrainLevel] Started.
[F] 23:56:27 - [Spell] Cast (onself) Healing Touch (Healing Touch)
23:56:27 - [VanillaTrainLevel] Started.
23:56:28 - [VanillaTrainLevel] Started.
23:56:28 - [VanillaTrainLevel] Started.
[F] 23:56:28 - [Spell] Cast (onself) Healing Touch (Healing Touch)
23:56:29 - [VanillaTrainLevel] Started.
23:56:29 - [VanillaTrainLevel] Started.
23:56:30 - [VanillaTrainLevel] Started.
23:56:30 - [VanillaTrainLevel] Started.
23:56:31 - [VanillaTrainLevel] Started.
23:56:31 - [VanillaTrainLevel] Started.
23:56:32 - [VanillaTrainLevel] Started.
23:56:33 - [VanillaTrainLevel] Started.
23:56:33 - [VanillaTrainLevel] Started.
23:56:34 - [VanillaTrainLevel] Started.
23:56:34 - [VanillaTrainLevel] Started.
23:56:35 - [VanillaTrainLevel] Started.
23:56:35 - [VanillaTrainLevel] Started.
[F] 23:56:35 - [Spell] Cast (on target) Moonfire (Moonfire)
[F] 23:56:36 - [Spell] Cast (on target) Moonfire (Moonfire)
23:56:36 - [VanillaTrainLevel] Started.
23:56:36 - [VanillaTrainLevel] Started.
23:56:37 - [VanillaTrainLevel] Started.
23:56:37 - [VanillaTrainLevel] Started.
23:56:38 - [VanillaTrainLevel] Started.
23:56:39 - [VanillaTrainLevel] Started.
23:56:39 - [VanillaTrainLevel] Started.
23:56:40 - [VanillaTrainLevel] Started.
23:56:40 - [VanillaTrainLevel] Started.
23:56:41 - [VanillaTrainLevel] Started.
23:56:41 - [VanillaTrainLevel] Started.
23:56:42 - [VanillaTrainLevel] Started.
23:56:42 - [VanillaTrainLevel] Started.
23:56:43 - [VanillaTrainLevel] Started.
[F] 23:56:43 - [Spell] Cast (on target) Wrath (Wrath)
23:56:44 - [VanillaTrainLevel] Started.
23:56:44 - [VanillaTrainLevel] Started.
23:56:45 - [VanillaTrainLevel] Started.
[F] 23:56:45 - [Spell] Cast (onself) Healing Touch (Healing Touch)

The log does not provide anything worth while. Bot just doesnt autoattack the second mob after killing 1st one, it just casts spells which looks suspicious because the bot is stuck on low mana and keeps regening enough mana for a heal and then takes the beating again and again.

Link to comment
Share on other sites

On 6/12/2018 at 6:51 PM, triciamc said:

Hi all

I'm trying out running a druid toon and created a fightclass myself.

The problem is that whenever I get attacked by multiple mobs, upon switching target, the bot stops auto attacking which is crucial when It's running out of mana.

Does anyone have a solution ?

 

Can u post ur FC and I'll have a look, wild guess is that you dont simply have autoattack configured at FC.

Link to comment
Share on other sites

9 hours ago, Extc said:

Can u post ur FC and I'll have a look, wild guess is that you dont simply have autoattack configured at FC.

Should I have Attack spell in the rotation ? If yes what conditions should i give and what should be the priority in your opinion?

Link to comment
Share on other sites

SOLVED

add lua code as a spell name:

Quote

if not IsCurrentAction(36) then UseAction(36) end;

Move attack spell to slot 36

BcuQKTO.png

Switch lua code instead of spell to true, switch once per target to true, set additional conditions of your preferance.

Works fine ?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...