Read this: http://rathena.org/wiki/Category:Script_Commandhow to add auto summon monster from this script?
how to add auto summon monster from this script?
OnNPCKillEvent: if( strcharinfo(3) == "prt_fild08" && killedrid == 1002 ){ // If a Poring (1002) was killed on "prt_fild08" getmapxy(@m$,@x,@y,0); // Get map and coords from invoking player makeitem 501,1,@m$,@x+rand(3,5),@y+rand(3,5); // Drop item at your feet, randomly between 3-5 cells away monster @m$,0,0,"Poring",1002,1; // Summon a new Poring (1002) named "Poring" on the map } end;
We use essential cookies to make this site work, and optional cookies to enhance your experience.