Example #1
0
    public virtual string GetCardDescShow()
    {
        string CardDescShow = "";

        CardDescShow += SideEffectBundle.GetSideEffectsDesc();
        if (HasAuro)
        {
            string auroDesc = LanguageManager_Common.GetText("TriggerTime_Auro");
            auroDesc      = BaseInfo.AddImportantColorToText(auroDesc);
            CardDescShow += auroDesc + ":" + SideEffectBundle_BattleGroundAura.GetSideEffectsDesc();
        }

        return(CardDescShow);
    }
Example #2
0
    public override string GetCardDescShow()
    {
        string CardDescShow = "";

        if (MechInfo.IsDefense)
        {
            CardDescShow += BaseInfo.AddImportantColorToText(LanguageManager_Common.GetText("KeyWords_Defense") + ". ");
        }
        if (MechInfo.IsSniper)
        {
            CardDescShow += BaseInfo.AddImportantColorToText(LanguageManager_Common.GetText("KeyWords_Sniper") + ". ");
        }
        if (MechInfo.IsCharger)
        {
            CardDescShow += BaseInfo.AddImportantColorToText(LanguageManager_Common.GetText("KeyWords_Charger") + ". ");
        }
        if (MechInfo.IsFrenzy)
        {
            CardDescShow += BaseInfo.AddImportantColorToText(LanguageManager_Common.GetText("KeyWords_Frenzy") + ". ");
        }
        if (MechInfo.IsSentry)
        {
            CardDescShow += BaseInfo.AddImportantColorToText(LanguageManager_Common.GetText("KeyWords_Sentry") + ". ");
        }
        if (BattleInfo.BasicAttack != 0)
        {
            CardDescShow += BaseInfo.AddImportantColorToText(LanguageManager_Common.GetText("KeyWords_AttackValue")) + " " + BaseInfo.AddHighLightColorToText("=" + BattleInfo.BasicAttack.ToString()) + ". ";
        }
        if (BattleInfo.BasicArmor != 0)
        {
            CardDescShow += BaseInfo.AddImportantColorToText(LanguageManager_Common.GetText("KeyWords_Armor")) + " " + BaseInfo.AddHighLightColorToText("=" + BattleInfo.BasicArmor.ToString()) + ". ";
        }
        if (BattleInfo.BasicShield != 0)
        {
            CardDescShow += BaseInfo.AddImportantColorToText(LanguageManager_Common.GetText("KeyWords_Shield")) + " " + BaseInfo.AddHighLightColorToText("=" + BattleInfo.BasicShield.ToString()) + ". ";
        }

        CardDescShow += base.GetCardDescShow();

        CardDescShow = CardDescShow.TrimEnd().TrimEnd(",. ;\n".ToCharArray());

        return(CardDescShow);
    }
Example #3
0
    public override string GetCardDescShow()
    {
        string CardDescShow = "";

        switch (EquipInfo.SlotType)
        {
        case SlotTypes.Weapon:
        {
            if (WeaponInfo.IsFrenzy)
            {
                CardDescShow += BaseInfo.AddImportantColorToText(LanguageManager_Common.GetText("KeyWords_Frenzy")) + ". ";
            }
            if (WeaponInfo.IsSentry)
            {
                CardDescShow += BaseInfo.AddImportantColorToText(LanguageManager_Common.GetText("KeyWords_Sentry")) + ". ";
            }
            if (WeaponInfo.WeaponType == WeaponTypes.Sword)
            {
                CardDescShow += BaseInfo.AddImportantColorToText(LanguageManager_Common.GetText("KeyWords_Sword")) + ". ";
                CardDescShow += string.Format(LanguageManager_Common.GetText("KeyWords_AttackPlus"), BaseInfo.AddHighLightColorToText(WeaponInfo.Attack.ToString()));
                CardDescShow += string.Format(LanguageManager_Common.GetText("KeyWords_ChargePlus"), BaseInfo.AddHighLightColorToText(WeaponInfo.Energy + "/" + WeaponInfo.EnergyMax));
            }
            else if (WeaponInfo.WeaponType == WeaponTypes.Gun)
            {
                CardDescShow += BaseInfo.AddImportantColorToText(LanguageManager_Common.GetText("KeyWords_Gun")) + ". ";
                CardDescShow += string.Format(LanguageManager_Common.GetText("KeyWords_ShootAttackPlus"), BaseInfo.AddHighLightColorToText(WeaponInfo.Attack.ToString()));
                CardDescShow += string.Format(LanguageManager_Common.GetText("KeyWords_Bullets"), BaseInfo.AddHighLightColorToText(WeaponInfo.Energy + "/" + WeaponInfo.EnergyMax));
            }
            else if (WeaponInfo.WeaponType == WeaponTypes.SniperGun)
            {
                CardDescShow += BaseInfo.AddImportantColorToText(LanguageManager_Common.GetText("KeyWords_SniperGun")) + ". ";
                CardDescShow += string.Format(LanguageManager_Common.GetText("KeyWords_SniperBulletAttackPlus"), BaseInfo.AddHighLightColorToText(WeaponInfo.Attack.ToString()));
                CardDescShow += string.Format(LanguageManager_Common.GetText("KeyWords_SniperBulletPlus"), BaseInfo.AddHighLightColorToText(WeaponInfo.Energy + "/" + WeaponInfo.EnergyMax));
            }

            break;
        }

        case SlotTypes.Shield:
        {
            if (ShieldInfo.IsDefense)
            {
                CardDescShow += BaseInfo.AddImportantColorToText(LanguageManager_Common.GetText("KeyWords_Defense")) + ". ";
            }
            if (ShieldInfo.ShieldType == ShieldTypes.Armor)
            {
                CardDescShow += BaseInfo.AddImportantColorToText(LanguageManager_Common.GetText("KeyWords_Armor")) + ". ";
                CardDescShow += string.Format(LanguageManager_Common.GetText("KeyWords_DefenseDamage"), BaseInfo.AddHighLightColorToText(ShieldInfo.Armor.ToString()));
            }
            else if (ShieldInfo.ShieldType == ShieldTypes.Shield)
            {
                CardDescShow += BaseInfo.AddImportantColorToText(LanguageManager_Common.GetText("KeyWords_Shield")) + ". ";
                CardDescShow += string.Format(LanguageManager_Common.GetText("KeyWords_ReduceDamage"), BaseInfo.AddHighLightColorToText(ShieldInfo.Shield.ToString()));
            }
            else if (ShieldInfo.ShieldType == ShieldTypes.Mixed)
            {
                CardDescShow += BaseInfo.AddImportantColorToText(LanguageManager_Common.GetText("KeyWords_Mixed")) + ". ";
                CardDescShow += string.Format(LanguageManager_Common.GetText("KeyWords_DefenseDamage"), BaseInfo.AddHighLightColorToText(ShieldInfo.Armor.ToString()));
                CardDescShow += string.Format(LanguageManager_Common.GetText("KeyWords_ReduceDamage"), BaseInfo.AddHighLightColorToText(ShieldInfo.Shield.ToString()));
            }

            break;
        }

        case SlotTypes.Pack:
        {
            if (PackInfo.IsFrenzy)
            {
                CardDescShow += BaseInfo.AddImportantColorToText(LanguageManager_Common.GetText("KeyWords_Frenzy")) + ". ";
            }
            if (PackInfo.IsSniper)
            {
                CardDescShow += BaseInfo.AddImportantColorToText(LanguageManager_Common.GetText("KeyWords_Sniper")) + ". ";
            }
            if (PackInfo.IsDefense)
            {
                CardDescShow += BaseInfo.AddImportantColorToText(LanguageManager_Common.GetText("KeyWords_Defense")) + ". ";
            }
            break;
        }

        case SlotTypes.MA:
        {
            if (PackInfo.IsFrenzy)
            {
                CardDescShow += BaseInfo.AddImportantColorToText(LanguageManager_Common.GetText("KeyWords_Frenzy")) + ". ";
            }
            if (PackInfo.IsSniper)
            {
                CardDescShow += BaseInfo.AddImportantColorToText(LanguageManager_Common.GetText("KeyWords_Sniper")) + ". ";
            }
            if (PackInfo.IsDefense)
            {
                CardDescShow += BaseInfo.AddImportantColorToText(LanguageManager_Common.GetText("KeyWords_Defense")) + ". ";
            }
            break;
        }
        }

        CardDescShow += base.GetCardDescShow();

        CardDescShow = CardDescShow.TrimEnd(",.; \n".ToCharArray());

        return(CardDescShow);
    }