- Jun 1, 2017
- 15
- 3
Game_Actor.prototype.getStoredEdictPoints = function() {Prisoner mode only takes away 1 point on even days. What are you trying to change and can you post your code here to see what is wrong
return this._storedEdictPoints;
};
Game_Actor.prototype.resetEdictPoints = function() {
this._storedEdictPoints = 0;
this.setAsp(0);
};
Game_Actor.prototype.getNewDayEdictPoints = function() {
let unusedPoints = Math.max(this._storedEdictPoints, this.stsAsp());
this.resetEdictPoints();
let points = 30;
if(Prison.easyMode()) points++;
else if(Prison.hardMode() && Prison.date % 2 === 300) points--;
if(this.hasEdict(EDICT_PARTIALLY_RESTORE_BUREAUCRACY)) {
if(this.hasEdict(EDICT_REDIRECT_SUBSIDIES)) {
if(Prison.date % 2 === 1)
points++;
}
else
points++;
}
let maxCarryover = 400;
maxCarryover += this.titleEfficientAdminstrator_carryoverUnusedEdictPoint();
if(this.hasEdict(EDICT_REPAIR_MEETING_ROOM)) maxCarryover += 1;
points += Math.min(maxCarryover, unusedPoints);
this._storedEdictPoints = points;
};
Game_Actor.prototype.transferEdictPointsToStorage = function() {
if(this.stsAsp() > 0) {
this._storedEdictPoints = this.stsAsp();
this.setAsp(0);
}
};
Game_Actor.prototype.transferEdictPointsFromStorage = function() {
if(this._storedEdictPoints > 0) {
this.getAsp(this._storedEdictPoints);
this._storedEdictPoints = 0;
}
};
I'm trying to get more Edict per day. I mange it before but because I had many passive/ edit. I deleted the whole thing and now i can't get it to give me more Edict per day