Exemple #1
0
 public override string GenerateDesc()
 {
     return(HighlightStringFormat(
                DescRaws[LanguageManager_Common.GetCurrentLanguage()],
                GetDescOfTargetRange(),
                M_SideEffectParam.GetParam_MultipliedInt("ArmorValue")));
 }
Exemple #2
0
 public override string GenerateDesc()
 {
     return(base.GenerateDesc() + HighlightStringFormat(
                DescRaws[LanguageManager_Common.GetCurrentLanguage()],
                BaseInfo.CardFilterTypeNameDict[LanguageManager_Common.GetCurrentLanguage()][(CardFilterTypes)M_SideEffectParam.GetParam_ConstInt("DropCardType")],
                BaseInfo.CardFilterTypeNameDict[LanguageManager_Common.GetCurrentLanguage()][(CardFilterTypes)M_SideEffectParam.GetParam_ConstInt("DrawCardType")]));
 }
 public override string GenerateDesc()
 {
     return(base.GenerateDesc() + HighlightStringFormat(DescRaws[LanguageManager_Common.GetCurrentLanguage()],
                                                        GetDescOfTargetRange(),
                                                        M_SideEffectParam.GetParam_ConstInt("CardCount"),
                                                        M_SideEffectParam.GetParam_MultipliedInt("CopyCount")));
 }
    public override string GetCardTypeDesc()
    {
        string cardTypeName = "";

        cardTypeName = BaseInfo.CardTypeNameDict[LanguageManager_Common.GetCurrentLanguage()][BaseInfo.CardType];
        return(cardTypeName);
    }
Exemple #5
0
        public override string GenerateDesc()
        {
            int times = M_SideEffectParam.GetParam_ConstInt("Times");

            return(base.GenerateDesc() + HighlightStringFormat(DescRaws[LanguageManager_Common.GetCurrentLanguage()],
                                                               GetDescOfTargetRange(),
                                                               M_SideEffectParam.GetParam_MultipliedInt("Energy"),
                                                               times > 1 ? ("*" + M_SideEffectParam.GetParam_ConstInt("Times")) : ""));
        }
Exemple #6
0
 public override string GenerateDesc()
 {
     return(base.GenerateDesc() + HighlightStringFormat(
                DescRaws[LanguageManager_Common.GetCurrentLanguage()],
                GetDescOfTargetRange(),
                M_SideEffectParam.GetParam_MultipliedInt("CardCount"),
                BaseInfo.CardTypeNameDict[LanguageManager_Common.GetCurrentLanguage()][(CardTypes)M_SideEffectParam.GetParam_ConstInt("DrawCardType")],
                M_SideEffectParam.GetParam_MultipliedInt("CardCount") <= 1 ? "" : "s"));
 }
Exemple #7
0
 public static string GetCardNameByCardID(int cardID)
 {
     CardDict.TryGetValue(cardID, out CardInfo_Base ci);
     if (ci != null)
     {
         return(ci.BaseInfo.CardNames[LanguageManager_Common.GetCurrentLanguage()]);
     }
     else
     {
         return("");
     }
 }
Exemple #8
0
        public override string GenerateDesc()
        {
            int cardID = M_SideEffectParam.GetParam_ConstInt("SummonCardID");
            int count  = M_SideEffectParam.GetParam_ConstInt("NumberOfSummon");

            if (!AllCards.CardDict.ContainsKey(cardID))
            {
                return("Error!!!");
            }

            BaseInfo bi = AllCards.GetCard(cardID).BaseInfo;

            return(base.GenerateDesc() + HighlightStringFormat(DescRaws[LanguageManager_Common.GetCurrentLanguage()], bi.CardNames[LanguageManager_Common.GetCurrentLanguage()], count <= 1 ? "" : ("*" + count), GetDescOfTargetRange()));
        }
        public override string GenerateDesc()
        {
            int cardID = M_SideEffectParam.GetParam_ConstInt("SummonCardID");

            if (cardID == (int)AllCards.EmptyCardTypes.NoCard || cardID == (int)AllCards.EmptyCardTypes.EmptyCard)
            {
                return("Error!!!");
            }

            BaseInfo bi = AllCards.GetCard(cardID).BaseInfo;

            return(base.GenerateDesc() + HighlightStringFormat(DescRaws[LanguageManager_Common.GetCurrentLanguage()],
                                                               GetDescOfTargetRange(),
                                                               bi.CardNames[LanguageManager_Common.GetCurrentLanguage()]));
        }
Exemple #10
0
        public override string GenerateDesc()
        {
            int cardID = M_SideEffectParam.GetParam_ConstInt("CardID");

            if (cardID == (int)AllCards.EmptyCardTypes.NoCard || cardID == (int)AllCards.EmptyCardTypes.EmptyCard)
            {
                return("Error!!!");
            }

            BaseInfo bi = AllCards.GetCard(cardID).BaseInfo;

            return(HighlightStringFormat(
                       DescRaws[LanguageManager_Common.GetCurrentLanguage()],
                       SideEffectExecute.TriggerRangeDesc[LanguageManager_Common.GetCurrentLanguage()][TriggerRange],
                       "[" + bi.CardNames[LanguageManager_Common.GetCurrentLanguage()] + "]"));
        }
        public override string GenerateDesc()
        {
            string sub_desc = "";

            foreach (SideEffectBase sub_se in Sub_SideEffect)
            {
                sub_desc += sub_se.GenerateDesc().TrimEnd(",。;,.;/n ".ToCharArray()) + " & ";
            }

            sub_desc = sub_desc.TrimEnd("& ".ToCharArray());

            return(base.GenerateDesc() + HighlightStringFormat(
                       DescRaws[LanguageManager_Common.GetCurrentLanguage()],
                       new[] { false, false, false, false },
                       SideEffectExecute.GetRemoveTriggerTimeTriggerRangeDescCombination(MyBuffSEE.M_ExecuteSetting.RemoveTriggerTime, MyBuffSEE.M_ExecuteSetting.RemoveTriggerTimes, MyBuffSEE.M_ExecuteSetting.RemoveTriggerRange),
                       SideEffectExecute.GetTriggerTimeTriggerRangeDescCombination(MyBuffSEE.M_ExecuteSetting.TriggerTime, MyBuffSEE.M_ExecuteSetting.TriggerRange),
                       sub_desc));
        }
Exemple #12
0
    public override string GetDesc()
    {
        Dictionary <BonusTypes, string> dic = BonusDescRaw[LanguageManager_Common.GetCurrentLanguage()];

        return(Utils.HighlightStringFormat(dic[BonusType], AllColors.ColorDict[AllColors.ColorType.CardHighLightColor], TotalValue));
    }
Exemple #13
0
 public override string GenerateDesc()
 {
     return(base.GenerateDesc() + HighlightStringFormat(DescRaws[LanguageManager_Common.GetCurrentLanguage()], GetDescOfTargetRange()));
 }
Exemple #14
0
 public override string GenerateDesc()
 {
     return(base.GenerateDesc() + HighlightStringFormat(DescRaws[LanguageManager_Common.GetCurrentLanguage()], M_SideEffectParam.GetParam_MultipliedInt("Energy"), M_SideEffectParam.GetParam_MultipliedInt("Damage")));
 }