1using System.Collections.Generic;
28 public List<ItemGachaResult>
items =
new List<ItemGachaResult>();
34 for (
int j = 0; j < n; j++)
39 items.Add(itemGachaResult);
42 Msg.
Say(
"playedGacha", n.ToString() ??
"");
64 List<Data> list =
new List<Data>();
71 if (!row.gachaFilter.Contains(
"resident"))
77 if (!row.gachaFilter.Contains(
"livestock"))
83 if (!row.gachaFilter.Contains(
"resident") || row.quality != 4)
89 if (!row.gachaFilter.Contains(
"resident") && !row.gachaFilter.Contains(
"livestock"))
95 int num2 = ((row.chance <= 0) ? 1 : row.chance);
98 num2 = num2 * 300 / 100;
100 else if (row.LV < 20)
102 num2 = num2 * 250 / 100;
104 else if (row.LV < 30)
106 num2 = num2 * 200 / 100;
108 else if (row.LV < 50)
110 num2 = num2 * 150 / 100;
139 num +=
item.GetMedal();
141 buttonDumpAll.mainText.text =
"dumpAll".lang(num.ToString() ??
"");
static Chara Create(string id, int lv=-1)
static SourceManager sources
static SoundManager Sound
void SetChara(Chara c, LayerGachaResult _layer)
List< ItemGachaResult > items
static Chara Draw(string id="citizen")
void PlayGacha(int n, string id)
static string Say(string idLang, string ref1, string ref2=null, string ref3=null, string ref4=null)
void AddCurrency(Card owner, string id, int a, SourceMaterial.Row mat=null)