Jump to content
  • 0
GM Aspire

Can I request Script custom drop when monster kill

Question

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

Share this post


Link to post
Share on other sites

7 answers to this question

Recommended Posts

  • 0

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.

 

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;
Edited by Via

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.