BibliothecaDAO / realms-contracts

Realms Monorepo for Ethereum contracts and Starknet contracts.
https://bibliothecadao.xyz/
MIT License
86 stars 33 forks source link

Loot Survivor | Only allow lvl2+ adventurers to access auction market #308

Closed loothero closed 1 year ago

loothero commented 1 year ago

Summary: We currently arrange the first battle the adventurer encounters to be an easy win. The adventurer will always discover a low level beast and it will always be the opposite elemental of their starting item. To keep this part of the code simple and predictable, we should prevent the adventurer from buying any items at the auction until they complete it which will result in them leveling up to level 2

To Do: Add an assert to LootAracadeMarket.cairo bid_on_item() to ensure the adventurer level is level 2 or higher

starknetdev commented 1 year ago

this has been added in https://github.com/BibliothecaDAO/realms-contracts/pull/303/commits/1896c51c7a2a6e16fc940a9a171fe2f6788e7070 so now closing