From 5d9d3adf3fd4795bf2483ec8549ddc30e01629db Mon Sep 17 00:00:00 2001 From: momacabu Date: Sat, 10 Nov 2012 19:44:12 +0000 Subject: - Modified *monster and *areamonster script commands to allow size and ai parameters. -- Event parameter now no longer works as size & ai replacement. -- If not defined, it'll assume the default size (0 = medium) and default ai (0 = none). - Changed all hardcoded AI states to recently created enum. Please test, if you find any bugs, report on our Bug Tracker. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16904 54d463be-8e91-2dee-dedb-b68131a5f0ec --- doc/script_commands.txt | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) (limited to 'doc') diff --git a/doc/script_commands.txt b/doc/script_commands.txt index bcb632443..7d893f75d 100644 --- a/doc/script_commands.txt +++ b/doc/script_commands.txt @@ -5201,8 +5201,8 @@ Example(s): ================================== --------------------------------------- -*monster "",,,"",,{,""}; -*areamonster "",,,,,"",,{,""}; +*monster "",,,"",,{,"",,}; +*areamonster "",,,,,"",,{,"",,}; This command will spawn a monster on the specified coordinates on the specified map. If the script is invoked by a character, a special map name, "this", will @@ -5224,11 +5224,17 @@ and upon the monster being killed, it will execute the script inside of the specified NPC object starting from the label given. The RID of the player attached at this execution will be the RID of the killing character. -The Event field can be used alternatively to specify other mob properties. Use -2 to specify that the mob should be small, 4 for big monsters, and 8 for -special ai mobs (which by default attack other monsters instead of players). -You can add these, so using 10 will spawn small monsters that attack other -mobs (if you specify both 2 and 4, the small version takes priority). + can be: + 0 = medium (default) + 1 = small + 2 = big + + can be: + 0 = none (default) + 1 = attack/friendly + 2 = sphere (Alchemist skill) + 3 = flora (Alchemist skill) + 4 = zanzou (Kagerou/Oboro skill) monster "place",60,100,"Poring",1002,1,"NPCNAME::OnLabel"; -- cgit v1.2.3-60-g2f50