8 public static int Negotiate(
int a,
float mod = 1.5f)
10 return Mathf.Max(a * 100 / (
int)(100f + (
float)Mathf.Max(0,
EClass.pc.CHA / 2 +
EClass.pc.Evalue(291)) * mod), 1);
14 public static int Invest(
int a,
float mod = 2f)
16 return Mathf.Max(a * 100 / (
int)(100f + (
float)Mathf.Max(0,
EClass.pc.CHA / 2 +
EClass.pc.Evalue(292)) * mod), 1);
20 public static int Meal(
Chara c)
26 public static int Heal(
Chara c)
34 return CalcMoney.Negotiate(
Guild.Fighter.ServicePrice(t.c_lockLv * 65 + 75), 1.5f);
38 public static int Identify(
Chara c,
bool superior)
40 return CalcMoney.Negotiate(
Guild.Fighter.ServicePrice(superior ? 750 : 50), 1.5f);
44 public static int Revive(
Chara c)
46 return CalcMoney.Negotiate((c.LV + 5) * (c.LV + 5) * 3, 1.5f);
50 public static int BuySlave(
Chara c)
52 return CalcMoney.Negotiate((c.LV + 5) * (c.LV + 5) * 20 + Rand.rndSeed(c.LV * 20, c.uid), 1.5f);
56 public static int SellSlave(
Chara c)
58 return (c.LV + 5) * (c.LV + 5) * 5;
62 public static int Whore(
Chara c)
64 return CalcMoney.Negotiate(c.CHA * 4 + 20 +
EClass.player.tempFame / 10, 1.5f);
68 public static int InvestShop(
Chara c,
Chara tc)
70 return CalcMoney.Invest(
Guild.Merchant.InvestPrice(Mathf.Max(tc.c_invest * 700, tc.c_invest * tc.c_invest * 80) + 200), 2f);
74 public static int InvestZone(
Chara c)
76 return CalcMoney.Invest(Mathf.Max(
EClass._zone.development * 50,
EClass._zone.development *
EClass._zone.development / 4) + 500, 2f);