Issue information

Issue ID
#4841
Status
Working as Intended
Severity
None
Started
Hercules Elf Bot
Mar 30, 2011 14:39
Last Post
Hercules Elf Bot
Mar 30, 2011 14:39
Confirmation
N/A

Hercules Elf Bot - Mar 30, 2011 14:39

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

QUOTE
*killmonster "<map name>","<event label>"{,<type>};

This command will kill all monsters that were spawned with 'monster' or
'addmonster' and have a specified event label attached to them. Commonly used to
get rid of remaining quest monsters once the quest is complete.

If the label is given as "All", all monsters which have their respawn times set
to -1 (like all the monsters summoned with 'monster' or 'areamonster' script
command, and all monsters summoned with GM commands, but no other ones - that
is, all non-permanent monsters) on the specified map will be killed regardless
of the event label value.


As of r12876 killmonster now supports an optional argument type. Using 1 for type
will make the command fire "OnMyMobDead" events from any monsters that do die
as a result of this command.

As the bold part says, when you set to even label to "All" it'll kill all permanent monsters.
But when it's executed it gets rid of all timed clones,alchemist summons,...