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

Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

Enemy ability usage detection

bobbarker69

New Member
Joined
Jul 14, 2018
Messages
7
I know how to check for spells that are being casted via target.IsCasting and target.SpellCastInfo etc. How do I detect an instant casted ability though that had no cast bar?

Edit: Plan B could be to read the battle chat log for "Enemy uses Ability Name". Is this possible?
 
Last edited:
The only way would be to look at the game log.

To find the messages while developing you can use.
Code:
ClearLog();
foreach(var item in GamelogManager.CurrentBuffer)
{
Log(item.FullLine);
}

But after that I would use the

Code:
GamelogManager.MessageRecevied

event handler so to process the messages.

The MessageType enum might be missing the id you need but you can just use the ushort value.
 
The only way would be to look at the game log.

To find the messages while developing you can use.
Code:
ClearLog();
foreach(var item in GamelogManager.CurrentBuffer)
{
Log(item.FullLine);
}

But after that I would use the

Code:
GamelogManager.MessageRecevied

event handler so to process the messages.

The MessageType enum might be missing the id you need but you can just use the ushort value.

This is for a combat routine I'm working on. Can you provide an example of how I should go about using GamelogManager.MessageReceived ? Everything I've worked with so far with the API has been classes and methods, never any Event stuff yet.
 
Back
Top