@eval($playerID attacks $mon)

Forum closed. All further discussion to be discussed at https://github.com/OpenKore/

Moderator: Moderators

Message
Author
setsunaseiei
Human
Human
Posts: 38
Joined: 17 May 2011, 07:09
Noob?: No

@eval($playerID attacks $mon)

#1 Post by setsunaseiei »

How do I obtain what my current followTarget is attacking? Which source files should I read to get an idea?
For example, I could use @eval or access @partymonsters array?
オペンコレ!

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

Re: @eval($playerID attacks $mon)

#2 Post by EternalHarvest »

setsunaseiei wrote:Which source files should I read to get an idea?

Code: Select all

$ grep -r attackAuto_followTarget .
./src/AI/CoreLogic.pm:				if ($following && $config{'attackAuto_followTarget'} && $attackOnRoute && !AI::is("take", "items_take")

Locked