Exemplo 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();
        }
Exemplo n.º 2
0
 public static string BasicMagicalDisplay(WeaponItemWeaver weapon)
 {
     return string.Format("{0}:\t'{1} gp'\t('+{2} value'){9}Weight: '{3} pound(s)'{9}To Hit: '+{4}'{9}Damage: '{5}'{9}Hardness: '{6}'{9}Hit Points: '{7}'{9}{8}",
         weapon.GetName(),
         weapon.GetCost(),
         weapon.GetEnhancementBonusForCost(),
         weapon.GetWeight(),
         weapon.GetEnhancementBonus(),
         weapon.GetDamage(),
         weapon.GetModifiedHardness(),
         weapon.GetModifiedHitPoints(),
         weapon.GetDescription(),
         Environment.NewLine);
 }