コード例 #1
0
 public double getMultiplier(Industries.IndustryTypesEnum type)
 {
     if (affectedType == type)
     {
         return(ranks * multiplier);
     }
     return(1);
 }
コード例 #2
0
ファイル: Master.cs プロジェクト: kyapp69/IdleArtificer
 public float questValueMultiplier(Industries.IndustryTypesEnum forType)
 {
     if (quest_value == null || (int)forType >= quest_value.Length)
     {
         return(1);
     }
     return(quest_value[(int)forType]);
 }
コード例 #3
0
ファイル: Master.cs プロジェクト: kyapp69/IdleArtificer
 public float industryTypeMultiplier(Industries.IndustryTypesEnum forType)
 {
     if ((int)forType >= industry.Length)
     {
         return(1);
     }
     return(industry[(int)forType]);
 }
コード例 #4
0
 public SkillIndustryType(string name, double multi, BigInteger cost, double costIncrease, Industries.IndustryTypesEnum type) : base(name, multi, cost, costIncrease)
 {
     affectedType = type;
 }
コード例 #5
0
 public Industry setIndustryType(Industries.IndustryTypesEnum type)
 {
     industryType = type;
     return(this);
 }