smartEncore bug | SVN r7704

This place is for Closed bug reports only. NOT for asking help!

Moderators: Moderators, Developers

crackerzbad
Noob
Noob
Posts: 4
Joined: 24 May 2010, 16:31
Noob?: Yes

smartEncore bug | SVN r7704

#1 Post by crackerzbad »

openkore ignore smartEncore option on useSelf_skill block

idiot way to fix this?

Code: Select all

Index: src/AI/CoreLogic.pm
===================================================================
--- src/AI/CoreLogic.pm	(revision 7704)
+++ src/AI/CoreLogic.pm	(working copy)
@@ -2310,6 +2310,9 @@
 			$char->{encoreSkill}->getHandle() eq $self_skill{ID}) {
 			# Use Encore skill instead if applicable
 			$self_skill{ID} = 'BD_ENCORE';
+			$self_skill{skillObject} = Skill->new(auto => 'BD_ENCORE');
+			$self_skill{owner} = $self_skill{skillObject}->getOwner();
+			$self_skill{lvl} = $char->getSkillLevel($self_skill{skillObject});
 		}
 		if ($self_skill{ID}) {
 			debug qq~Auto-skill on self: $config{$self_skill{prefix}} (lvl $self_skill{lvl})\n~, "ai";

DrKN
Developers
Developers
Posts: 79
Joined: 06 Oct 2010, 09:22
Noob?: No

Re: smartEncore bug | SVN r7704

#2 Post by DrKN »

the *idiot* way to fix yours is turn off your computer.
smartEncore is there in useSelf_Skill option??
EternalHarvest
Developers
Developers
Posts: 1798
Joined: 05 Dec 2008, 05:42
Noob?: Yes

Re: smartEncore bug | SVN r7704

#3 Post by EternalHarvest »

It works fine with that patch?
crackerzbad
Noob
Noob
Posts: 4
Joined: 24 May 2010, 16:31
Noob?: Yes

Re: smartEncore bug | SVN r7704

#4 Post by crackerzbad »

DrKN wrote:the *idiot* way to fix yours is turn off your computer.
smartEncore is there in useSelf_Skill option??
probably?
EternalHarvest wrote:It works fine with that patch?
at least it works fine on my char, hehe
EternalHarvest
Developers
Developers
Posts: 1798
Joined: 05 Dec 2008, 05:42
Noob?: Yes

Re: smartEncore bug | SVN r7704

#5 Post by EternalHarvest »