![]() |
I'm not sure if I did something wrong when I changed the price of training but I absentmindedly pressed the button for training while I testing and noticed my money was in the negative.
need help with this |
Quote:
Quote:
|
ok :smile: and would you like to work with me an make a battling system where two user can battle online ??
|
Sorry, that is quite beyond my capabilities!
|
What would you suggest to limit the amount of training?
Say, you can only train any pet up to 5 times (regardless of stat) so you don't end up with a billion highly trained pets? It forces you to breed and train for better stats? |
I would add a new column to the owned_adoptables table in phpMyAdmin and call it something like "timestrained," with the default set to 0. Then each time that pet is trained add +1 to that column...then just include an if/else statement to exclude any pets that have been trained 5 times. So...something like...
http://orig01.deviantart.net/862c/f/...re-dbd0s8e.jpg Add this under the list of defined variables for training: PHP Code:
PHP Code:
PHP Code:
Let me know if that makes sense/works out! |
For what its worth, going back in all this time later, this brilliant Mod just needs all the attributes (sense, etc) changed to public instead of private.
I am much more php savvy a few years in -- and found it easy to get it working just fine! Highly recommend this awesome and fun Mod! Thanks again for it! |
All times are GMT -5. The time now is 10:29 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.