Can I request Script custom drop when monster kill

GM Aspire

New member
Messages
26
Points
0
When you kill monster in a specific place you may customize the monster item drops

example : when you kill poring from prontera this monster will drop gold

 
Just add another getitem <item id>,<quantity>; to the script and you're good to go.

 
how to add auto summon monster from this script?


Here's a more aesthetically appealing version of your request, with a little notation to help you read it.

Code:
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;
 
Last edited by a moderator:
Back
Top