Jump to content
  • 0

Need Assistance regards disguise event


Yonko

Question


  • Group:  Members
  • Topic Count:  166
  • Topics Per Day:  0.04
  • Content Count:  789
  • Reputation:   50
  • Joined:  04/16/12
  • Last Seen:  

Hi,

 I've been using the default disguise event by GMOcean on the svn but how will i modify this that the npc will provide only pre-renewal mobs upon disguising. thanks! Note: I'm using pre-renewal not renewal

Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  21
  • Topics Per Day:  0.01
  • Content Count:  182
  • Reputation:   22
  • Joined:  12/30/12
  • Last Seen:  

This is the part of the code that sets the monster ID:

iDisguise:
    if (.Rule==1) {
        set .Winner,0;
        set .Monster,1000+rand(1,995);

 

It randomly sets a monster from 1000-1995. Just lower the second function input for rand depending to what extent you want it to be (based on the mob_db.txt)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  166
  • Topics Per Day:  0.04
  • Content Count:  789
  • Reputation:   50
  • Joined:  04/16/12
  • Last Seen:  

ohh i see thanks!

Link to comment
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.   Paste as plain text instead

  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.

×
×
  • Create New...