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.
irreligious/src/model/resource/Credibility.ts

21 lines
423 B
TypeScript

/// <reference path="./Passive.ts" />
class Credibility extends Passive {
private _lastValue: number = 100;
constructor () {
super(
'Credibility',
'How trustworthy you are perceived to be. Affects your ability to recruit and retain followers.',
100, 100, 0.25);
}
public max (state: GameState): number {
return 100;
}
public inc (state: GameState): number {
return 0.25;
}
}