Issue information

Issue ID
#2456
Status
Invalid
Severity
None
Started
Hercules Elf Bot
Nov 18, 2008 17:59
Last Post
pan
Jul 9, 2014 4:57
Confirmation
N/A

Hercules Elf Bot - Nov 18, 2008 17:59

Originally posted by [b]Rylune[/b]
http://www.eathena.ws/board/index.php?autocom=bugtracker&showbug=2456

In the documentation, it states this...

"CanAttack: Enables the mob to attack/retaliate when you are within attack
range. Note that this only enables them to use normal attacks, skills are
always allowed."

However, in testing, this isn't true. Disabling CanAttack from their mode stops them from using skills that target enemies. They can still use skills that target friendly things or themselves, but nothing that has to target an enemy.

Hercules Elf Bot - Aug 20, 2012 17:08

Originally posted by [b]Kenpachi[/b]
Well, if this really is bugged it's a core thingy...

Hercules Elf Bot - Nov 11, 2012 5:28

Originally posted by [b]mkbu95[/b]
If my mind don't fail me I tested this a few months ago and CanAttack is not doing what the description says.

pan - Jul 9, 2014 4:57

CanAttack is working normally just try the following:[code=auto:0] @db/re/mob_skill_db.txt 1002,Poring@MG_FIREBOLT,idle,19,3,500,10000,5000,yes,randomtarget,always,0,,,,,,, [/code]Without changing 'target' to 'randomtarget' there's no way that the mob will ever cast any skill, because it only sets a target when engaging combat, unless you specify that it can choose between any available object in range.