China Posted April 4, 2012 Posted April 4, 2012 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! Quote
Flaid Posted April 4, 2012 Posted April 4, 2012 (edited) 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 April 4, 2012 by Flaid Quote
China Posted April 4, 2012 Author Posted April 4, 2012 (edited) Does that script check if it's loyal first before giving the stats? Thanks btw! Nvm. Dumb question, saw the format. Thanks!! Edited April 4, 2012 by China Quote
Flaid Posted April 4, 2012 Posted April 4, 2012 Yes. The first {} is to always use the script and the last one is to just run the script when the pet is loyal. Quote
China Posted April 4, 2012 Author Posted April 4, 2012 Yeah, saw that in the format. Thanks alot! You really saved me. Quote
Question
China
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!
4 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.