What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

monsters telegraphing attacks

Nepthys

Community Developer
Joined
Oct 13, 2014
Messages
89
Reaction score
1
hey all :)

is there any way to tell when a mob is using a certain attack, or telegraphing they are about to?
This would be useful in boss fights, to make the bot run away and not have to facetank vaal smash / dominus lightning fist etc


Thanks!


Free up my time to release more code, help me pay my bills, and be awesome Support Me
 
Last edited:
There's:

Actor.HasCurrentAction - Returns true if this actor has a current action.

which if that's true you can then use:

Actor.CurrentAction - Returns the current action the actor is performing.

The ActionWrapper object returned will have various fields, such as Destination / Target / Skill. Check to make sure Target / Skill are not null before accessing their properties.

Monster skills don't all have "nice names" for what they are, so you'll be working with 'InternalName' and coding around those, which will be a bit of trial and error.
 
This gives me an idea of a CR addon, will release it tonight if everything goes as planned.
 
Back
Top