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