I would like to make a slight modification to the coding, but I'm not very experienced with rpgm and I'm having issue finding the right way to implement this change. First, my idea is simply this; the more an enemy ejaculates, the bigger his future ejaculations become. Once his ejaculation pool grows big enough, he can ejaculate one more time, and so forth... a "leveling up" mechanic for enemies, basically.
I'm guessing I have to fiddle with RemtairyEnemy.js for starters. I wrote this little function and added it in there;
Code:
Game_Enemy.prototype.updateEjaculation = function() {
this._ejaculationVolume += ENEMY_DEFAULT_EJACULATION_AMOUNT - ENEMY_DEFAULT_EJACULATION_RANGE/2;
this._ejaculationCount += Math.max(1,Math.round(this._ejaculationVolume / 10));
};
Not complicated stuff. It takes the existing ejaculationVolume (variable attached to each enemy) and adds a constant based on the default values (8 and 6, so essentially it's just adding 5 every time, but easily modified through the constants). Then it checks the total volume and divides by 10, then rounds it off; so essentially when you hit 15, you'll cum twice. When you hit 25, you'll cum thrice. And so forth...
The questions I have are;
1) Where do I call this function from? Will calling it from useOrgasmSkill with a simple this.updateEjaculation(); be fine?
2) Will me messing with this screw something else up?
3) What mistakes have I made?