diff options
author | Tor Andersson <tor@ccxvii.net> | 2024-04-24 23:29:48 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2024-04-24 23:29:48 +0200 |
commit | 92be96cfda11df428216656fb6475f7bb59a8a4b (patch) | |
tree | 7c4e0df836750044e80eacb3fbdc82bd3b3dd273 /rules.ts | |
parent | d5c94b04eaa2da09ba53ee4c2964144527b5c5f0 (diff) | |
download | plantagenet-92be96cfda11df428216656fb6475f7bb59a8a4b.tar.gz |
abbreviate "influence check 1-3" to "influence 1-3"
Diffstat (limited to 'rules.ts')
-rw-r--r-- | rules.ts | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -1961,7 +1961,7 @@ function prompt_influence_check(lord: Lord, add_cost: number = 0, add_rating: nu let cost = calc_influence_check_cost(0, add_cost) let rating = calc_influence_check_rating(lord, 0, add_rating) - view.prompt += ` Influence Check 1-${rating} for ${cost} IP.` + view.prompt += ` Influence 1-${rating} for ${cost} IP.` /* max rating is 5, no need to pay to increase more! */ if (rating <= 3) @@ -1974,14 +1974,14 @@ function prompt_influence_check(lord: Lord, add_cost: number = 0, add_rating: nu function prompt_influence_check_success(add_cost: number = 0) { let cost = calc_influence_check_cost(0, add_cost) - view.prompt += ` Influence Check success for ${cost} IP.` + view.prompt += ` Influence success for ${cost} IP.` view.actions.check_success = 1 } function roll_influence_check_success(add_cost: number = 0) { let cost = calc_influence_check_cost(0, add_cost) reduce_influence(cost) - log(`Influence Check success`) + log(`Influence success`) return true } @@ -1993,10 +1993,10 @@ function roll_influence_check(lord: Lord, bonus: number, add_cost: number = 0, a let die = roll_die() if (die <= rating) { - log(`Influence Check 1-${rating}: ${HIT[die]}`) + log(`Influence 1-${rating}: ${HIT[die]}`) return true } else { - log(`Influence Check 1-${rating}: ${MISS[die]}`) + log(`Influence 1-${rating}: ${MISS[die]}`) return false } } |