Harrenhall Curse

Report any problems with the mod here

Harrenhall Curse

PostPosted by Blackguard » Thu Jul 13, 2017 22:43

Code: Select all
         fertility = -0.25
         health = -2
         if = {
            limit = {
               NOR = {
                  trait = clubfooted
                  trait = harelip
                  trait = hunchback
                  trait = ugly
                  trait = dwarf
                  trait = slow
                  trait = imbecile
               }
            }
            random_list = {
               90 = { }
               3 = { add_trait = clubfooted }
               3 = { add_trait = harelip }
               3 = { add_trait = hunchback }
               3 = { add_trait = ugly remove_trait = fair }
               3 = { add_trait = dwarf remove_trait = tall remove_trait = strong }
               3 = { add_trait = slow remove_trait = quick remove_trait = genius  }
               3 = { add_trait = imbecile remove_trait = quick remove_trait = genius  }
            }
         }
      }


ok so if I read it correct each child born to Harrenhall's holder before restoration gets slapped with health and fertility penalty, but after that it gets funky. Math is a bit off. 90 % chance no negative traits are added and then 21% cumulative chance for negative genetic traits. How exactly that works in practice I wonder
Blackguard
 
Posts: 114
Joined: Sat Aug 25, 2012 12:53

Re: Harrenhall Curse

PostPosted by blackninja9939 » Fri Jul 14, 2017 08:53

Not a bug WAD.

The values you see are weights, it isn't a 90% chance it is weight of 90 which then compared with the sum of all options is then calculated as a percentage chance to happen.
The game automatically calculates the percentage from all the numbers you give regardless of if they add to 100.
Graduate Content Designer on Crusader Kings 2

If a post is edited in this colour then it was done by me for moderation.

My Sub-Mods:
Bloodlines Sub-Mod
More Decisions Sub-Mod
Colonise Valyiria and Challenge to Duel
Duel Recorder
More Bookmarks
User avatar
blackninja9939
Moderator
 
Posts: 5606
Joined: Tue Oct 01, 2013 10:50
Location: England

Re: Harrenhall Curse

PostPosted by Blackguard » Fri Jul 14, 2017 14:29

Oh, thats handy :P If I find anymore "bugs" where should I post them? lol
Blackguard
 
Posts: 114
Joined: Sat Aug 25, 2012 12:53


Return to Bug Reports

Who is online

Users browsing this forum: No registered users and 1 guest