So i figured out how to make the "Resist Orgasm" skill last through however many rounds you chose for PLeasure Stance.
Initial testing checks out
In www > Js > plugins > RemtairyEnergy you need to find the passage labeled
[Open PLeasure Pleasure Stance]. The Last part of it needs to look like this:
Game_Actor.prototype.afterEval_openPleasure = function(extraTurns) {
__this.resetAttackSkillConsUsage();
__this.resetSexSkillConsUsage(false);
__if(extraTurns > 1) {
____this.setStateTurns(STATE_PLEASURE_STANCE_ID, extraTurns);
____if(this.isStateAffected(STATE_KARRYN_RESIST_ORGASM_ID)) {
_______this.setStateTurns(STATE_KARRYN_RESIST_ORGASM_ID, extraTurns + 2);
_______this.setStateTurns(STATE_KARRYN_RESIST_ORGASM_ICON_ID, extraTurns);
____}
__}
};
edit: the underscores on the left are just there to demonstrate the indentations, notice how the added "if(this.isStateAffected" prompt is a subclause of the "if(extraTurns)" prompt.
Initial testing checks out
In www > Js > plugins > RemtairyEnergy you need to find the passage labeled
[Open PLeasure Pleasure Stance]. The Last part of it needs to look like this:
Game_Actor.prototype.afterEval_openPleasure = function(extraTurns) {
__this.resetAttackSkillConsUsage();
__this.resetSexSkillConsUsage(false);
__if(extraTurns > 1) {
____this.setStateTurns(STATE_PLEASURE_STANCE_ID, extraTurns);
____if(this.isStateAffected(STATE_KARRYN_RESIST_ORGASM_ID)) {
_______this.setStateTurns(STATE_KARRYN_RESIST_ORGASM_ID, extraTurns + 2);
_______this.setStateTurns(STATE_KARRYN_RESIST_ORGASM_ICON_ID, extraTurns);
____}
__}
};
edit: the underscores on the left are just there to demonstrate the indentations, notice how the added "if(this.isStateAffected" prompt is a subclause of the "if(extraTurns)" prompt.
Last edited: