Experience-Script
Installation
Script
function getExpByLevel(level, petType, worldGroup) {
var exp = 0;
return exp;
}Differentiating between pet types and world groups
function getExpByLevel(level, petType, worldGroup) {
var exp = 10;
if(petType == "Cow") {
exp = 15;
}
return exp;
}function getExpByLevel(level, petType, worldGroup) {
var exp = 10;
if(worldGroup == "LuckyWorlds") {
exp = 20;
}
return exp;
}Debugging
Example
Last updated
Was this helpful?