Beispiel #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();
        }
Beispiel #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);
 }
Beispiel #3
0
        public static string BasicDisplay(WeaponItemWeaver weapon)
        {
            string damageMod;
            if (weapon.GetDamageModifier() == 0)
            {
                damageMod = "";
            }
            else
            {
                damageMod = string.Format(" {0}", weapon.GetDamageModifier());
            }

            return string.Format("{0}:\t'{1} gp'{9}Weight: '{2} pound(s)'{9}To Hit: '{3}'{9}Damage: '{4}{5}'{9}Hardness: '{6}'{9}Hit Points: '{7}'{9}{8}",
                weapon.GetName(),
                weapon.GetCost(),
                weapon.GetWeight(),
                weapon.GetToHit(),
                weapon.GetDamage(),
                damageMod,
                weapon.GetHardness(),
                weapon.GetHitPoints(),
                weapon.GetDescription(),
                Environment.NewLine);
        }