Esempio n. 1
0
        public static string FullMagicalDisplay(WeaponItemWeaver magicWeapon)
        {
            var sb = new StringBuilder();
            sb.AppendLine(string.Format("{0}:\t'{1} gp'\t('+{2} value'){12}To Hit: '+{3}'{12}Damage: '{4}{5}{6}' {7}{12}Hardness: '{8}'{12}Hit Points: '{9}'{12}Weight: '{10} pound(s)'{12}{11}",
                magicWeapon.GetName(),
                magicWeapon.GetCost(),
                magicWeapon.GetEnhancementBonusForCost(),
                magicWeapon.GetEnhancementBonus(),
                magicWeapon.GetDamage(),
                magicWeapon.GetThreat(),
                magicWeapon.GetEnchantmentCriticalDamage(),
                magicWeapon.GetDamageType(),
                magicWeapon.GetModifiedHardness(),
                magicWeapon.GetModifiedHitPoints(),
                magicWeapon.GetWeight(),
                magicWeapon.GetDescription(),
                Environment.NewLine));
            sb.Append(string.Format("{5}Creator Caster Level: '{0}'{5}Time to Create: '{1} Days'{5}Creation XP Cost: '{2}'{5}Creation Raw Material Cost: '{3}'{5}{4}",
                magicWeapon.GetMinimumCasterLevel(),
                magicWeapon.GetDaysToCreate(),
                magicWeapon.GetCreationXpCost(),
                magicWeapon.GetCreationRawMaterialCost(),
                magicWeapon.GetCreationRequirements(),
                Environment.NewLine));

            return sb.ToString();
        }