Skip to content

Commit

Permalink
Merge pull request #217 from Ido-Barnea/208-increase-with-age-comes-w…
Browse files Browse the repository at this point in the history
…isdom-rule-trigger

[#208] Increased number of turns for "with age comes wisdom" rule
  • Loading branch information
Ido-Barnea authored Feb 21, 2024
2 parents aad5ef8 + 1f92176 commit 229ae1e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions development/code/logic/rules/WithAgeComesWisdomRule.ts
Original file line number Diff line number Diff line change
@@ -5,13 +5,13 @@ import { BaseRule } from './BaseRule';
export class WithAgeComesWisdomRule extends BaseRule {
constructor(isRevealed = false) {
const description = 'With age comes wisdom.';
const condition = () => game.getRoundCounter() === 20;
const condition = () => game.getRoundCounter() === 50;
const onTrigger = () => {
new RuleLog(
'Children of war, you have grown old. Each player gains five XP.',
).addToQueue();
game.getPlayers().forEach((player) => {
player.xp += 5;
player.xp += 10;
});
};

0 comments on commit 229ae1e

Please sign in to comment.