1using System.Collections.Generic;
46 public override IEnumerable<Status>
Run()
67 cc.
Say(
Type.ToString() +
"_start", cc, tc);
87 cc.
Say(
"ntr", cc, tc);
116 if (!tc.
race.IsAnimal)
136 tc.interest -= (tc.IsPCFaction ? 20 : (2 * num / 100));
137 if (i == 0 || i == 10)
144 int num2 = cc.CHA / 2 + cc.
Evalue(237) - tc.CHA * 2;
148 num3 = 5 + Mathf.Clamp(num2 / 20, 0, 20);
152 num3 = -5 + ((!tc.
IsPCFaction) ? Mathf.Clamp(num2 / 10, -30, 0) : 0);
189 for (
int i = 0; i < 2; i++)
191 Chara chara3 = ((i == 0) ? chara : chara2);
213 chara.
Talk(
"tail_after");
219 EClass.player.forceTalk =
true;
220 chara2.
Talk(
"seduced");
224 Chara chara4 = chara;
225 Chara chara5 = chara2;
231 Debug.Log(
"buyer:" + chara.
Name +
" seller:" + chara2.
Name +
" money:" + num3);
243 chara.
Talk(
"tail_pay");
247 chara.
Talk(
"tail_nomoney");
249 chara2.
Say(
"angry", chara2);
250 chara2.
Talk(
"angry");
251 flag = (
sell ? true :
false);
271 chara2.c_allowance += num3;
290 SuccubusExp(chara, chara2);
291 SuccubusExp(chara2, chara);
316 int num = ((!chara2.
IsPCFaction) ? (chara2.
IsHuman ? 10 : 5) : (chara2.IsHuman ? 5 : 0));
349 chara.
Say(
"tame_fail", chara, chara2);
355 chara2.calmCheckTurn *= 3;
362 return (
int)Mathf.Max(10f * (
float)c1.
END / (
float)Mathf.Max(c2.
END, 1), 0f);
375 c.
Say(
"succubus_exp", c,
item.Name.ToLower());
Status DoGoto(Point pos, int dist=0, bool ignoreConnection=false, Func< Status > _onChildFail=null)
override bool CancelWhenDamaged
override IEnumerable< Status > Run()
override bool CancelOnAggro
override int CurrentProgress
static int Whore(Chara seller, Chara buyer)
void PlayAnime(AnimeID id, bool force)
ElementContainerCard elements
bool HasElement(int ele, int req=1)
SoundSource PlaySound(string id, float v=1f, bool spatial=true)
void Talk(string idTopic, string ref1=null, string ref2=null, bool forceSync=false)
int GetCurrency(string id="money")
Effect PlayEffect(string id, bool useRenderPos=true, float range=0f, Vector3 fix=default(Vector3))
void ShowEmo(Emo _emo=Emo.none, float duration=0f, bool skipSame=true)
void ModCurrency(int a, string id="money")
void ModExp(string alias, int a)
void Say(string lang, string ref1=null, string ref2=null)
override bool IsAliveInCurrentZone
Condition AddCondition(string id, int p=100, bool force=false)
void ModAffinity(Chara c, int a, bool show=true, bool showOnlyEmo=false)
override bool IsPCFaction
override bool IsDeadOrSleeping
void MakeAlly(bool msg=true)
FactionMemberType memberType
void SetTempHand(int right=0, int left=0)
void DoHostileAction(Card _tg, bool immediate=false)
override void LookAt(Card c)
static int rndHalf(int a)
Element ModTempPotential(int ele, int v, int threshMsg=0)
int ValueWithoutLink(int ele)
void ModExp(int ele, int a, bool chain=false)
List< Element > ListBestAttributes()
static string Say(string idLang, string ref1, string ref2=null, string ref3=null, string ref4=null)
Thing DropReward(Thing t, bool silent=false)
static TargetTypeChara Chara
static Thing Create(string id, int idMat=-1, int lv=-1)