From f1cf34946c0485bc13a0b83381f5e9300008ee18 Mon Sep 17 00:00:00 2001
From: Pregmodder <pregmodder@gmail.com>
Date: Sun, 27 May 2018 03:01:59 -0400
Subject: [PATCH] tweaks to age related gains/losses

---
 src/pregmod/widgets/bodySwapReaction.tw | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/pregmod/widgets/bodySwapReaction.tw b/src/pregmod/widgets/bodySwapReaction.tw
index a81722303b7..fb7999cc8b8 100644
--- a/src/pregmod/widgets/bodySwapReaction.tw
+++ b/src/pregmod/widgets/bodySwapReaction.tw
@@ -2259,7 +2259,7 @@ Now you only have to wait for her to wake up.
 		Her eyes slip down to focus on her body.
 
 		/*(age)*/
-		<<if $args[0].visualAge >= $args[1].visualAge+5 || ($args[0].physicalAge > 18 && $args[1].physicalAge < 16)>> /*(older)*/
+		<<if $args[0].physicalAge >= $args[1].physicalAge+5 || ($args[0].physicalAge > 18 && $args[1].physicalAge < 16)>> /*(older)*/
 			<<if $args[0].physicalAge > 18 && $args[1].physicalAge < 16>>
 				She starts at just how much @@.red;older her <<if canSee($args[0])>>face and body are<<else>>body is<</if>>.@@
 				<<if $args[0].physicalAge > 100>>
@@ -2281,12 +2281,12 @@ Now you only have to wait for her to wake up.
 						life. She does her best to shrug this off and tries to think of all the fun things a lewd older body can do.
 					<<else>>
 						as that means she will be @@.mediumorchid;unable to spend as much time on this earth.@@
-						<<set $args[0].devotion -= ($args[1].physicalAge-$args[0].physicalAge*5)>>
+						<<set $args[0].devotion -= ($args[0].physicalAge-$args[1].physicalAge)>>
 						<<if $PhysicalRetirementAgePolicy == 1>>
 							On the other hand, it means she won’t have as much time to spend with you before she is retired.
 						<<else>>
 							This is compounded with the fact that she @@.gold;may well die before she becomes a freed slave.@@
-							<<set $args[0].trust -= ($args[1].physicalAge-$args[0].physicalAge*5)>>
+							<<set $args[0].trust -= ($args[0].physicalAge-$args[1].physicalAge)>>
 						<</if>>
 					<</if>>
 					<<if ($args[0].ovaries == 1 || $args[0].mpreg == 1) && $args[0].pubertyXX == 1 && $args[1].pubertyXX == 0 && isFertile($args[0])>>
@@ -2306,12 +2306,12 @@ Now you only have to wait for her to wake up.
 					life. She does her best to shrug this off and tries to think of all the fun things a lewd older body can do.
 				<<else>>
 					as that means she will be @@.mediumorchid;unable to spend as much time on this earth.@@
-					<<set $args[0].devotion -= ($args[1].visualAge-$args[0].visualAge*5)>>
+					<<set $args[0].devotion -= ($args[0].physicalAge-$args[1].physicalAge)>>
 					<<if $PhysicalRetirementAgePolicy == 1>>
 						On the other hand, it means she won’t have as much time to spend with you before she is retired.
 					<<else>>
 						This is compounded with the fact that she @@.gold;may well die before she becomes a freed slave.@@
-						<<set $args[0].trust -= ($args[1].visualAge-$args[0].visualAge*5)>>
+						<<set $args[0].trust -= ($args[0].physicalAge-$args[1].physicalAge)>>
 					<</if>>
 				<</if>>
 			<</if>>
@@ -2353,7 +2353,7 @@ Now you only have to wait for her to wake up.
 						It will be frustrating to go through the rigors of sexual development all over again, especially when combined with the fact that she must also
 					<<else>>
 						This is both a @@.hotpink;blessing@@ and a @@.gold;curse,@@ as while she now has a younger and healthier body, she must also
-						<<set $args[0].devotion += Math.max($args[1].physicalAge-$args[0].physicalAge, 10), $args[0].trust -= 5>>
+						<<set $args[0].devotion += Math.min($args[1].physicalAge-$args[0].physicalAge, 10), $args[0].trust -= 5>>
 					<</if>>
 					<<if $PhysicalRetirementAgePolicy == 1>>
 						spend more time with you before the end of her service.
-- 
GitLab