示例#1
0
 public EVEMaterial(EVEItem item, int quantity, double damage, bool isExtra)
 {
     this.item = item;
     this.quantity = quantity;
     this.damage = damage;
     this.isExtra = isExtra;
 }
示例#2
0
 public EVEMaterial(EVEItem item, int quantity, double damage, bool isExtra)
 {
     this.item     = item;
     this.quantity = quantity;
     this.damage   = damage;
     this.isExtra  = isExtra;
 }
        public static double GetBaseInventionChance(string typeName)
        {
            EVEItem item = EVECache.GetItem(typeName);

            switch (item.GroupID)
            {
            case 25:
            case 420:
            case 513:
            case 893:
            case 902:
            case 324:
            case 830:
            case 831:
            case 541:
            case 834:
                return(0.3);

            case 26:
            case 28:
            case 894:
            case 906:
            case 833:
            case 358:
            case 832:
            case 380:
                return(0.25);

            case 27:
            case 419:
            case 898:
            case 900:
            case 540:
                return(0.2);

            default:
                return(0.4);
            }
        }