Hey folks,
So I'm looking to build a plugin that will adjust enemy parameters based on a variable but I'm not sure how to go about it.
So far I have it set based on if you kill it a certain amount of times, you get a kill rank (variable A)
I want to set it so that if (variable A) is equal to what ever the rank is, it will change the parameters of that enemy.
Example:
Any and all help is appreciated.
So I'm looking to build a plugin that will adjust enemy parameters based on a variable but I'm not sure how to go about it.
So far I have it set based on if you kill it a certain amount of times, you get a kill rank (variable A)
I want to set it so that if (variable A) is equal to what ever the rank is, it will change the parameters of that enemy.
Example:
Code:
if(killRank == 0) {
// adjust this enemies DEF stat to half
// Increase the drop rates of items by 5%
} else if(killRank ==1) {
// do additional stuff
}
Any and all help is appreciated.