Skip to content

Commit

Permalink
fix: should add curse wen enter round 4
Browse files Browse the repository at this point in the history
  • Loading branch information
noyyyy committed Sep 23, 2024
1 parent a6ac98b commit b45cf04
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/contracts/src/home.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -1396,6 +1396,11 @@ mod home {
dangerous = true;
}

// add player curse when enter round 4
if (newRound == 4) {
player.curse = 10;
}

set!(
world,
(
Expand Down

0 comments on commit b45cf04

Please sign in to comment.