Example #1
0
 public static int GetCurrentLuck(this CharacterInstance ch)
 {
     return((ch.PermanentLuck + ch.ModLuck).GetNumberThatIsBetween(3, ch.GetCurrentStat(StatisticTypes.PermanentLuck)));
 }
Example #2
0
 public static int GetCurrentDexterity(this CharacterInstance ch)
 {
     return((ch.PermanentDexterity + ch.ModDexterity).GetNumberThatIsBetween(3,
                                                                             ch.GetCurrentStat(StatisticTypes.PermanentDexterity)));
 }
Example #3
0
 public static int GetCurrentConstitution(this CharacterInstance ch)
 {
     return((ch.PermanentConstitution + ch.ModConstitution).GetNumberThatIsBetween(3,
                                                                                   ch.GetCurrentStat(StatisticTypes.PermanentConstitution)));
 }
Example #4
0
 public static int GetCurrentIntelligence(this CharacterInstance ch)
 {
     return((ch.PermanentIntelligence + ch.ModIntelligence).GetNumberThatIsBetween(3,
                                                                                   ch.GetCurrentStat(StatisticTypes.PermanentIntelligence)));
 }