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?
@eval($playerID attacks $mon)
Moderator: Moderators
-
- Human
- Posts: 38
- Joined: 17 May 2011, 07:09
- Noob?: No
-
- Developers
- Posts: 1798
- Joined: 05 Dec 2008, 05:42
- Noob?: Yes
Re: @eval($playerID attacks $mon)
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")