From c724e71f0e8487cdb3c1016c30e7a739f73497ef Mon Sep 17 00:00:00 2001 From: sketchyphoenix Date: Sun, 22 Jun 2008 00:27:30 +0000 Subject: * Modified *killmonsterall to support a new argument that will allow it to kill monsters using the new OnMyMobDead behavior (in order to avoid breaking older scripts) (bugreport:1734) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12873 54d463be-8e91-2dee-dedb-b68131a5f0ec --- doc/script_commands.txt | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'doc') diff --git a/doc/script_commands.txt b/doc/script_commands.txt index 9ebfdb381..091ad5293 100644 --- a/doc/script_commands.txt +++ b/doc/script_commands.txt @@ -4623,10 +4623,17 @@ of the event label value. --------------------------------------- -*killmonsterall ""; +*killmonsterall ""{,}; This command will kill all monsters on a specified map name, regardless of how -they were spawned or what they are. +they were spawned or what they are. As of r12873, The behavior has changed slightly. +In light of a label behavior fix for mob spawning commands that will now allow the label to +trigger when there is no player, killmonsterall has also been modified to support this. + +Using this the normal/old way means labels dont trigger when a player didn't +attack/kill a monster. This is because it breaks compatability with older scripts if +forced to use the new method. However, if you wish to use the new label type with this +command, simply use 1 for type. Any other number won't be recognized. --------------------------------------- -- cgit v1.2.3-70-g09d2