8 public override bool CanAutoAdvance
18 public override bool IsRandomQuest
28 public override int RangeDeadLine
38 public override int KarmaOnFail
48 public override int FameOnComplete
52 return 4 + this.difficulty * 2;
58 public override string RefDrama1
62 return Lang._currency(this.rewardMoney,
true, 0);
67 public override void OnDropReward()
69 int num = this.bonusMoney * (55 + this.difficulty * 15) / 100;
70 int num2 = this.rewardMoney + num;
75 Msg.Say(
"reward_bonus", num.ToString() ??
"",
null,
null,
null);
77 base.DropReward(
ThingGen.CreateCurrency(num2,
"money"));
80 if ((!zone.IsTown || zone.IsPCFaction) && base.ClientZone !=
null)
82 Zone topZone = base.ClientZone.GetTopZone();
83 if (topZone.IsTown && !topZone.IsPCFaction)
88 Rand.SetSeed(this.uid);
89 string id = Util.EnumToList<
Quest.SubReward>().RandomItem<Quest.SubReward>().ToString();
92 id =
"gacha_coin_silver";
96 id =
"gacha_coin_gold";
99 if (thing.id ==
"ticket_furniture")
103 base.DropReward(thing);
104 thing =
ThingGen.Create(
"plat", -1, -1).SetNum(this.GetRewardPlat(num2));
105 base.DropReward(thing);
107 if (zone.IsTown || zone.IsPCFaction)
109 zone.GetTopZone().ModInfluence(1);
111 if (this.FameOnComplete > 0)
113 EClass.player.ModFame(
EClass.rndHalf(
this.FameOnComplete));