Jump to content
  • 0
GM Aspire

Can I request Script custom drop when monster kill

Question

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...

Important Information

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