Number of (successful) hits

Wrote new code? Fixed a bug? Want to discuss technical stuff? Feel free to post it here.

Moderator: Moderators

Message
Author
username1
Noob
Noob
Posts: 4
Joined: 08 Jun 2011, 02:23
Noob?: Yes

Number of (successful) hits

#1 Post by username1 »

Hi,

I'm planing to write a macro where I need the number of successful (and not successful) hits at the monster that is beeing attacked at the moment.

How can I get this number?

Thanks for your help!

EternalHarvest
Developers
Developers
Posts: 1798
Joined: 05 Dec 2008, 05:42
Noob?: Yes

Re: Number of (successful) hits

#2 Post by EternalHarvest »

Not related to macro.

Look in AI::Attack to understand how to get monster object for the current target; source documentation in Actor.pm has a list of fields with hit counts etc.

Post Reply