From 6e3aef7087cbf72d5fd3c51cdbe6cfc763e2d770 Mon Sep 17 00:00:00 2001
From: Svornost <11434-svornost@users.noreply.gitgud.io>
Date: Sun, 2 Feb 2020 00:12:40 -0800
Subject: [PATCH] Fix SP cost

---
 src/js/modification.js | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/src/js/modification.js b/src/js/modification.js
index 8395922af6a..9d545125833 100644
--- a/src/js/modification.js
+++ b/src/js/modification.js
@@ -167,7 +167,12 @@ App.Medicine.Modification.addBulkScars = function(slave, location, type, weight)
  * @returns {string} slave reaction
  */
 App.Medicine.Modification.setPiercing = function(slave, location, weight) {
-	cashX(forceNeg(V.modCost), "slaveMod", slave);
+	if (weight === 3) {
+		// smart piercings cost more
+		cashX(forceNeg(V.SPcost), "slaveMod", slave);
+	} else {
+		cashX(forceNeg(V.modCost), "slaveMod", slave);
+	}
 
 	// reaction
 	const {He, he, His, his, him} = getPronouns(slave);
-- 
GitLab