public LordInternalPersonality(string dummy) { this.goodPersonality = (LORD_INTERNAL_PERSONALITY_POSITIVE)(UnityEngine.Random.Range(0, System.Enum.GetNames(typeof(LORD_INTERNAL_PERSONALITY_POSITIVE)).Length)); this.badPersonality = (LORD_INTERNAL_PERSONALITY_NEGATIVE)(UnityEngine.Random.Range(0, System.Enum.GetNames(typeof(LORD_INTERNAL_PERSONALITY_NEGATIVE)).Length)); this.corruptChance = defaultCorruptChance; this.voilentChance = defaultVoilentChance; this.tyrantChance = defaultTyrantChance; this.destructiveChance = defaultDestructiveChance; this.gallantChance = defaultGallantChance; this.greenthumbChance = defaultGreenthumbChance; this.moneymakerChance = defaultMoneymakerChance; this.inspiringChance = defaultInspiringChance; }
public LordInternalPersonality(LORD_INTERNAL_PERSONALITY_POSITIVE goodPersonality, LORD_INTERNAL_PERSONALITY_NEGATIVE badPersonality) { this.goodPersonality = goodPersonality; this.badPersonality = badPersonality; this.corruptChance = defaultCorruptChance; this.voilentChance = defaultVoilentChance; this.tyrantChance = defaultTyrantChance; this.destructiveChance = defaultDestructiveChance; this.gallantChance = defaultGallantChance; this.greenthumbChance = defaultGreenthumbChance; this.moneymakerChance = defaultMoneymakerChance; this.inspiringChance = defaultInspiringChance; }