public void _CallAllTriggeredAffixs() { info = string.Empty; for (int i = 0; i < AllFragment.Instance.fragments.Count; i++) { F_Data fragData = AllFragment.Instance.fragments[i].m_Data; string affixInfo = fragData.PrintAndExeAffixs(fragData.fName); info += "\n\n" + affixInfo; Debug.Log(affixInfo); } }
protected override bool isRaigBattleCommand() { List <BattleCommand> deckBattleCommand = F_Data.GetDeckBattleCommand(); IEnumerable <BattleCommand> source = deckBattleCommand.Take(deckBattleCommand.Count - 1); bool flag = source.Any((BattleCommand x) => x == BattleCommand.Raigeki); if (flag && deckBattleCommand[0] == BattleCommand.Raigeki) { raigType = 1; } else if (flag) { raigType = 2; } return(flag); }