Jump to content
  • 0

Pets.


China

Question


  • Group:  Members
  • Topic Count:  34
  • Topics Per Day:  0.01
  • Content Count:  152
  • Reputation:   4
  • Joined:  11/25/11
  • Last Seen:  

I was wondering how to script that if a pet becomes loyal ( like a rice cake ) , it gives you +20 all stats? It has to be loyal before giving you the stats. Thanks in advance!

Link to comment
Share on other sites

4 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  20
  • Topics Per Day:  0.00
  • Content Count:  398
  • Reputation:   140
  • Joined:  01/04/12
  • Last Seen:  

1815,EVENT_RICECAKE,Rice Cake,0,9028,0,511,80,60,50,100,250,20,2000,150,1,0,500,500,200,{},{ bonus bAllStats,20; }

Edited by Flaid
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  34
  • Topics Per Day:  0.01
  • Content Count:  152
  • Reputation:   4
  • Joined:  11/25/11
  • Last Seen:  

Does that script check if it's loyal first before giving the stats? Thanks btw!

Nvm. Dumb question, saw the format. Thanks!!

Edited by China
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  20
  • Topics Per Day:  0.00
  • Content Count:  398
  • Reputation:   140
  • Joined:  01/04/12
  • Last Seen:  

Yes. The first {} is to always use the script and the last one is to just run the script when the pet is loyal.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  34
  • Topics Per Day:  0.01
  • Content Count:  152
  • Reputation:   4
  • Joined:  11/25/11
  • Last Seen:  

Yeah, saw that in the format. Thanks alot! You really saved me. :P

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...