Elin:Race/Succubus/talk
Here are the relevant code snippets from the game:
Determination of stamina cost:
static int StaminaCost(Chara c1, Chara c2)
{
return (int)Mathf.Max(10f * (float)c1.END / (float)Mathf.Max(c2.END, 1), 0f);
}
SP cost is determined by difference in MaxSP of both parties. Determination of stat to be boosted:
foreach (Element item in tg.elements.ListBestAttributes())
{
if (c.elements.ValueWithoutLink(item.id) < item.ValueWithoutLink)
{
c.elements.ModTempPotential(item.id, 1 + EClass.rnd(item.ValueWithoutLink - c.elements.ValueWithoutLink(item.id) / 5 + 1));
c.Say("succubus_exp", c, item.Name.ToLower());
break;
}
}
And the potential is determined by the stat which has the highest base value, value being the difference divided by 5, plus 1 (modulated by rnd). Succubi do not gain stat XP from seduction in and of itself.