Kitteh6660 / Corruption-of-Champions-Mod

CoC source from fenoxo, modded by Kitteh6660
233 stars 98 forks source link

380 #380

Closed CapriciousClowns closed 7 years ago

Darth-Cthoras commented 7 years ago

Looking at CoCED, the save editor, there IS no such thing as Satyr Sexuality. https://github.com/tmedwards/CoCEd

Darth-Cthoras commented 7 years ago

Hmmm, digging around in the files, I see there 'is' something called Satyr Sexuality. But it's not listed anywhere in the CoCED itself, and should be gained automatically when turning into a Satyr. Not having any success attempting to get it, either, even on a fresh character with unlimited Satyr Wine. No related Flags I could find regarding it, either, in the raw data of CoCED. Weird.

Stadler76 commented 7 years ago

Found the problem: In Player.satyrScore() the wrong lowerBody-type is being checked for. Here's the diff:

diff --git a/classes/classes/Player.as b/classes/classes/Player.as
index 9dc6ba5..08ab31d 100644
--- a/classes/classes/Player.as
+++ b/classes/classes/Player.as
@@ -1640,7 +1640,7 @@ use namespace kGAMECLASS;
        public function satyrScore():Number
        {
            var satyrCounter:Number = 0;
-           if (lowerBody == LOWER_BODY_TYPE_HOOFED)
+           if (lowerBody == LOWER_BODY_TYPE_CLOVEN_HOOFED)
                satyrCounter++;
            if (tailType == TAIL_TYPE_GOAT)
                satyrCounter++;
Darth-Cthoras commented 7 years ago

Oh, good job, Stadler. Thanks!

Kitteh6660 commented 7 years ago

From the look, it should now be resolved already and will come in 1.4.