edit: I'm just going with another bestiary plugin. Hopefully STV Beastbook won't disappoint.
Hey everyone, I'm on MV and a beginner with Java. I'm trying to get elemental rates as a prominent feature in my game. Through plugins I can see my hero's rates when I'm in the status screen and monster's rates when I actively scan them. Yanfly did all that for me. However I'm trying to use Yoji Ojima's EnemyBook as a bestiary. I need to inject the elemental rates into the enemy description within the plugin.
Editing the text is trial and error but getting the rates from the enemy and displaying that info has stumped me.
I've checked out yanfly's plugins and see variables like this
var eleRate = this._actor.elementRate(eleId);
but I can't seem to be able to use these elementRate (); in the EnemyBook script.
I feel like I'm missing something. This is the output loop for the regular Enemy parameters. I want to duplicate this but with the Elemental Rates. instead of the standard parameters.
for (var i = 0; i < 8; i++) {
this.changeTextColor(this.systemColor());
this.drawText(TextManager.param(i), x, y, 160);
this.resetTextColor();
this.drawText(enemy.params, x + 160, y, 60, 'right');
y += lineHeight;
}
Can I use the system types to do this within a similar loop, or will I have to hard code the text?
Is there another Plugin I should look at instead? I'm looking to make this a commercial game. Thanks for any advice.
Hey everyone, I'm on MV and a beginner with Java. I'm trying to get elemental rates as a prominent feature in my game. Through plugins I can see my hero's rates when I'm in the status screen and monster's rates when I actively scan them. Yanfly did all that for me. However I'm trying to use Yoji Ojima's EnemyBook as a bestiary. I need to inject the elemental rates into the enemy description within the plugin.
Editing the text is trial and error but getting the rates from the enemy and displaying that info has stumped me.
I've checked out yanfly's plugins and see variables like this
var eleRate = this._actor.elementRate(eleId);
but I can't seem to be able to use these elementRate (); in the EnemyBook script.
I feel like I'm missing something. This is the output loop for the regular Enemy parameters. I want to duplicate this but with the Elemental Rates. instead of the standard parameters.
for (var i = 0; i < 8; i++) {
this.changeTextColor(this.systemColor());
this.drawText(TextManager.param(i), x, y, 160);
this.resetTextColor();
this.drawText(enemy.params, x + 160, y, 60, 'right');
y += lineHeight;
}
Can I use the system types to do this within a similar loop, or will I have to hard code the text?
Is there another Plugin I should look at instead? I'm looking to make this a commercial game. Thanks for any advice.