Openkore.com

OpenKore Forums
It is currently 28 Jul 2017, 05:00

All times are UTC - 5 hours [ DST ]





Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Minor improvement to attack conditions
PostPosted: 03 Oct 2013, 23:50 
Offline
Human
Human

Joined: 01 Jun 2011, 01:59
Posts: 29
Currently kore does not trigger aggression against monsters that have been provoked by a party member.

Kore can tell if players are using cast skills.

Is there some method to improve detection for used skills, such as Lex Aeterna, Lex Divina, and Provoke, so that if a party member (or designated tank/support) uses any of these skills on a monster, that monster is added to the array of acceptable targets?

in actor.pm, there is
# Hash $Actor->{castOnByPlayer}

And it seems to return for things that show up in the console like
"Player X is casting Skill Y on Target Z."

But not for
"Player X uses Skill Y on Target Z."

Of course, this isn't the biggest of problems but it seems easy to remedy by either changing "uses" skills to return for $Actor->{castOnByPlayer}, or adding another hash member that returns specifically for used skills.

This would be beneficial because of the triggering potential for ai routines based on non-damaging debuff skills, primarily Lex Aeterna and Provoke, but even more interesting things such as offensive status recovery, blessing, mind breaker, or Tarot Card.


Top
 Profile  
 
 Post subject: Re: Minor improvement to attack conditions
PostPosted: 12 Oct 2013, 01:15 
Offline
Human
Human

Joined: 01 Jun 2011, 01:59
Posts: 29
problem solved. I posted the code I wrote into my own openkore files in order to make kore do what I want.

the link here:
viewtopic.php?f=36&t=144582


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group