From 83fea64f38dc3f5562aa393436e3397b20b26bc0 Mon Sep 17 00:00:00 2001
From: Anu <anulithic@gmail.com>
Date: Thu, 13 Oct 2022 20:23:03 -0700
Subject: [PATCH] Buff and clamp Aggressive Schoolteacher education gains

---
 src/events/PETS/petsAggressiveSchoolteacher.js | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/events/PETS/petsAggressiveSchoolteacher.js b/src/events/PETS/petsAggressiveSchoolteacher.js
index e0e45dd8cdd..7dcda2b4a5e 100644
--- a/src/events/PETS/petsAggressiveSchoolteacher.js
+++ b/src/events/PETS/petsAggressiveSchoolteacher.js
@@ -39,7 +39,7 @@ App.Events.petsAggressiveSchoolteacher = class petsAggressiveSchoolteacher exten
 		function encourage() {
 			App.Entity.facilities.schoolroom.employees().forEach(function(s) {
 				if (s.intelligenceImplant < 30) {
-					s.intelligenceImplant += 0.1;
+					s.intelligenceImplant = Math.min(s.intelligenceImplant + 1, 30);
 					seX(s, "oral", S.Schoolteacher, S.Schoolteacher.dick > 0 ? "penetrative" : "vaginal");
 				}
 			});
@@ -57,8 +57,8 @@ App.Events.petsAggressiveSchoolteacher = class petsAggressiveSchoolteacher exten
 			}
 			r.push(`for you this time. After class is over, you tell ${him2} that since ${he2} can't have been paying particularly good attention, ${he2}'ll have to take <span class="green">remedial classes</span> after everyone else is done. ${S.Schoolteacher.slaveName} gives ${subSlave.slaveName} a very thorough grope at 'remedial classes,' making sure to pinch ${his} student's nipples.`);
 			seX(subSlave, "oral", S.Schoolteacher, "penetrative");
-			if (subSlave.intelligenceImplant < 29.5) {
-				subSlave.intelligenceImplant += 0.5;
+			if (subSlave.intelligenceImplant < 30) {
+				subSlave.intelligenceImplant = Math.min(subSlave.intelligenceImplant + 5, 30);
 			}
 			App.Events.addParagraph(frag, r);
 			return frag;
-- 
GitLab