Openkore.com

OpenKore Forums
It is currently 19 Nov 2018, 12:23

All times are UTC - 5 hours [ DST ]





Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Configuring Venom Splasher (need to drop target)
PostPosted: 14 Aug 2017, 17:56 
Offline
Noob
Noob

Joined: 08 Aug 2017, 07:48
Posts: 9
Hello, I am trying to configure Venom Splasher but am having difficulties to get it to work in a way that after it has been used on a target, the bot will no longer attack it, and target something else until the timer for Venom Splasher is over.

So far I have the basic Venom Splasher config: (haven't tested)

Quote:
attackSkillsSlot Venom Splasher {
lvl 10
sp > 20%
maxUses 1
aggressives > 3
onAction attack
target_hp < 75%
inLockOnly 1
notWhileSitting 1
notInTown 1
disabled 0
}


Not sure how to drop the target after.

And while I understand I can set the attack to 3 in mon_control; I am not interested in hitting once as I would need to bring them down to 75% hp, and would want it as an any time ability and not just completely for mobbing purposes.

Any ideas or suggestions? MonsterSkills instead? Priority targets? complicated macro?

Thanks.


Top
 Profile  
 
 Post subject: Re: Configuring Venom Splasher (need to drop target)
PostPosted: 14 Aug 2017, 18:38 
Offline
Super Moderators
Super Moderators
User avatar

Joined: 16 May 2008, 08:28
Posts: 218
Is there some post-delay status after using Venom Splasher? Like "Venom Splasher Delay" or something? Type "s" to check immediately after using the skill. My idea is that you can use that status on a doCommand block to trigger an "a stop" command so openkore will have a chance to switch target if there are more than one aggressives.

Your attackSkillSlot needs some polishing. Replace target_hp with previousDamage >= the actual value of 25% of the monster's hp. You can also add target_whenStatusInactive if Venom Splasher leaves a recognizable status to the monster. Also, never use onAction attack on an attackSkillSlot; it's rather redundant.

If what you actually want is to completely ignore monsters you already casted Venom Splasher to, that is a bit more complicated but not impossible. You will primarily need to modify openkore's autoAttack AI by actively changing monster flags via eval command.

Try attackSkillSlot + doCommmand first if that would already work. Usually, simpler is better.

_________________
Whatever...


Top
 Profile  
 
 Post subject: Re: Configuring Venom Splasher (need to drop target)
PostPosted: 16 Oct 2018, 05:53 
Offline
Noob
Noob

Joined: 29 Mar 2014, 09:42
Posts: 6
does event attack_end can be usefull ?


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 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