Beispiel #1
0
    public BodyArmorData(ItemQuality quality, float level, BodyArmorType type, int armorClass) : base(quality, level)
    {
        this.type       = type;
        this.armorClass = armorClass;

        name        = type.name();
        description = type.description();
        volume      = type.volume();
        itemType    = ItemType.BODY_ARMOR;
    }
Beispiel #2
0
 public static string description(this BodyArmorType type)
 {
     return(type.name());
 }