This repository has been archived on 2022-01-16. You can view files and clone it, but cannot push or open issues or pull requests.
2021-08-21 19:02:57 -05:00
|
|
|
/// <reference path="./Passive.ts" />
|
2021-08-21 12:45:58 -05:00
|
|
|
|
2021-08-21 19:02:57 -05:00
|
|
|
class Credibility extends Passive {
|
|
|
|
private _lastValue: number = 100;
|
2021-08-21 17:06:51 -05:00
|
|
|
|
2021-08-21 19:02:57 -05:00
|
|
|
constructor () {
|
|
|
|
super(
|
|
|
|
'Credibility',
|
|
|
|
'How trustworthy you are perceived to be. Affects your ability to recruit and retain followers.',
|
|
|
|
100, 100, 0.25);
|
2021-08-21 17:06:51 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
public max (state: GameState): number {
|
2021-08-21 19:02:57 -05:00
|
|
|
return 100;
|
2021-08-21 17:06:51 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
public inc (state: GameState): number {
|
2021-08-21 19:02:57 -05:00
|
|
|
return 0.25;
|
2021-08-21 17:06:51 -05:00
|
|
|
}
|
2021-08-21 12:45:58 -05:00
|
|
|
}
|