Exemplo n.º 1
0
 public double getMultiplier(Industries.IndustryTypesEnum type)
 {
     if (affectedType == type)
     {
         return(ranks * multiplier);
     }
     return(1);
 }
Exemplo n.º 2
0
 public float questValueMultiplier(Industries.IndustryTypesEnum forType)
 {
     if (quest_value == null || (int)forType >= quest_value.Length)
     {
         return(1);
     }
     return(quest_value[(int)forType]);
 }
Exemplo n.º 3
0
 public float industryTypeMultiplier(Industries.IndustryTypesEnum forType)
 {
     if ((int)forType >= industry.Length)
     {
         return(1);
     }
     return(industry[(int)forType]);
 }
Exemplo n.º 4
0
 public SkillIndustryType(string name, double multi, BigInteger cost, double costIncrease, Industries.IndustryTypesEnum type) : base(name, multi, cost, costIncrease)
 {
     affectedType = type;
 }
Exemplo n.º 5
0
 public Industry setIndustryType(Industries.IndustryTypesEnum type)
 {
     industryType = type;
     return(this);
 }