Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Seduction cap?  (Read 1463 times)

someone12345

  • Bay Watcher
    • View Profile
Seduction cap?
« on: July 08, 2016, 07:17:13 am »

Is the seduction cap in the 4.07.0 1+1 per every 2 points of seduction skill?
Logged
GENERATION 26:The first time you see this, copy it into your sig on any forum and add 1 to the generation. Social experime

Kamal-Sadek

  • Bay Watcher
    • View Profile
Re: Seduction cap?
« Reply #1 on: July 08, 2016, 11:25:37 pm »

Well, if you mean the number of potential Liberals that a member can seduce and convince to join the Elite Liberal Cause, then here's the snippet of code from version 4.07 that deals with this (src/common/commonactions.cpp, line 681, comments not mine)

Code: [Select]
// Determines the number of love slaves a creature may recruit,
// based on max minus number they already command
int loveslavesleft(const Creature& cr)
{
   // Get maximum lovers
   int loveslavecap = cr.get_skill(SKILL_SEDUCTION)/2+1;

   // -1 if they're a love slave (their boss is a lover)
   if(cr.flag & CREATUREFLAG_LOVESLAVE)loveslavecap--;

   // Subtract number of love slaves they have
   loveslavecap -= loveslaves(cr);

   // If they can have more, return that number
   if(loveslavecap > 0) return loveslavecap;
   // If they're at 0 or less, return 0
   else return 0;
}

So it is the Seduction skill divided by 2, and then plus 1. And if they themselves are a love slave, then you subtract one from that number.

Hopefully that's what you're looking for!
Logged