8 public TraitGacha.GachaType type
12 return base.GetParam(1,
null).ToEnum(
true);
17 public string GetIdCoin()
19 string text =
"gacha_coin";
20 TraitGacha.GachaType type = this.type;
37 public virtual string suffixCoin
47 public virtual int refVal
56 public override void TrySetAct(
ActPlan p)
62 p.TrySetAct(
"gacha", delegate()
66 }, this.owner,
null, 1,
false,
true,
false);
70 public void PlayGacha(
int num)
72 Thing thing =
ThingGen.Create(
"gachaBall", -1, -1).SetNum(num);
73 thing.refVal = (int)this.type;
74 EClass.player.DropReward(thing,
true);