Openkore.com

OpenKore Forums
It is currently 15 Dec 2018, 05:21

All times are UTC - 5 hours [ DST ]





Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Self Condition - Aggressives and monster weight
PostPosted: 19 Apr 2015, 08:56 
Offline
Noob
Noob
User avatar

Joined: 24 Dec 2011, 13:05
Posts: 15
Openkore is using attackSkillSlot on less than 5 monsters.

I figured out that the "aggressives" self condition also takes monster weight from mon_control into account.
I do not think that this is how it is supposed to be (see wiki)

Wiki: http://wiki.openkore.com/index.php/Aggressives


Mon Control:
Code:
monster_a 1 0 1 0 0 0 0 0 3.5
monster_b 1 0 1 0 0 0 0 0 2


Config:
Code:
attackSkillSlot Cart Revolution {
   lvl 10
   dist 1.5
   sp > 100
   aggressives >= 5
   inLockOnly
}



Misc.pm (line 3898)
Code:
if (defined $config{$prefix . "_aggressives"}) {
      return 0 unless (inRange(scalar ai_getAggressives(), $config{$prefix . "_aggressives"}));
   }


I think the problem lies in the call to ai_getAggressives.
I haven't tried it yet, but would a call to ai_getPlayerAggressives instead, solve the problem?


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

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