-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* #295: Contracts for starting adventurers with basic weapon * adventure mart work * itemmart work with generative seed * market work * cli work, cleanup contracts * work on Adventurers, readme * readme * chmod fix * downgrade protostar version * add ownership for nfts to adventurer * cli work, minor tweaks * feat: add upgrade stat and purchase health - add upgrade and purchase health and parameters in adventurer dynamic data - add functions to upgrade stat and purchase health - add purchase param reset if adventurer explores - NOTE: upgrade stat doesn't take into account multi-level - begin tests - add gui.py and begin writing gui tasks * fix internal functions with beast, clean cli, add in world balance * fixes, add purchase health test * cli work * cli work * fixes - fix purchase health and upgrade stat functions - add working tests - change to camel case * fixes: - change naming conventions from camelCase to snake_case (other than OZ funcs and events) - fix `mint_with_starting_weapon`, no `adventurer_token_id` needed — add checks for ids in `mint_starting_weapon` - fix deploy script — add feature in `wrapped_declare` to recognise file names for container and non-container - changed python formatting (needs checking) - fix adventurer tests * readme * fix tests for loot and beasts - fix deployment script names * fix metadata tests * market fix * cli updates * add loot subcommand * add starting weapon assertions * fix market emit * complete some todos - overflow checks - add adventurer level in `damage_from_beast` calc - add adventurer owner as storage in Loot - assert adventurer is owner in equip item * all tests passing - fix contract bugs - remove unnecessary prank stops * add beast health to ambush calc * add randomness to gold drop * fix test * fix * fixes, add gold discovery formula * fix * items can now increase in greatness (wip) * fix ifs, all tests passing * fix mint_starting bug - add calc for health discovery - add calc for xp discovery - change lords deployment to non proxy * cli work * minor contract tweaks and cli work * move over increase xp, all tests passing * fix * tweaks * cli * - add adventurer alive assertion in `bid_on_item` - Begin market tests * add market tests * fix cli issue * cli work * Adds Gnome and Golem as bottom tier Beasts * wip starting beast * Beasts now attack different body parts * work on starting beastS * add .sh script for easy setup, cli work, fix beast bug where it did not unassign after killing it * add level damage boost and critical hit boost * add images * fix, all tests passing - fix beast level to be 1 in damage calc (to improve) * add dynamic obstacle damage to armor locations * fixed print_beast_img and reduced starter beast to 2hp * Level adventurer up after defeating first beast * removed hardcode variables * fix beast * slight bug in obstacle id * make market fetch all available items * added some beasts, fix market cli to print current available * add adventurer packing utils * obstacle_ id fix * fix adventurer packing util - swap warp for roll (block number over block timestamp) * fixes - remove unnecessary adventurer storage var - fix obstacle test - fix getting item id from equipped slot - tidy damage calculations - switch item and adventurer discovery type (else item never discovered) - improve explore test cases * fixes - remove unnecessary adventurer storage var - fix obstacle test - fix getting item id from equipped slot - tidy damage calculations - switch item and adventurer discovery type (else item never discovered) - improve explore test cases - change beast rand to block number - all tests passing - block number causing severe issues in protostar * Make obstacle levels dynamic * Adjust test_discover_obstacle for dynamic obstacles * loot arcade bug fix * cli work, fix gautlet bug being assigned to the foot slot * Makes Beast HP dynamic * change combat calculation - damage = (base_damage - armor_strength) * efficacy - improve tests - add test util to create adventurer with level * fixes - grant mint role in deploy script - tweak attack print output - fix purchase health cli command * fix config * - improve potion health logs - calculate damages in cli * add todos, item weight * add gui complexity * flesh out gui WIP * continue gui * fix logs, continue gui work * modify flee input to adventurer ID, continue gui * - fix some info in cli - gui fetch adventurers on load, only allow selecting these * add king tibute payment - add become_king in adventurer - add pay_king_tribute in adventurer - add test - fix config - change pyproject to python 3.9 * add gui to pyproject - improve gui * clean * add king cli commands and gui functions * add king timer reset on payout * improvements - improve logging - fix mint daily items guy - add gold balance outputs to UI - add update gold balance functions to ones that change it * add health to gui * gui work - add loader on transactions - add get king contract function, cli etc.. - add king and kings gold widgets - add your gold dynamic text - add get items on load - add market item dropdown - dynamically update adventurers list WIP * fix your gold text color * fix market items * handling invoke outputs - add get result from invoke - add logs for obstacle results - add logs for flee result - add gui handlers * continue gui - add more loading text - fix become king logic - update king on become king - add king reign time - add dynamic king recognition * add equipped items display --------- Co-authored-by: loothero <[email protected]> Co-authored-by: starknetdev <[email protected]>
- Loading branch information
1 parent
5f092ef
commit 70cb98e
Showing
333 changed files
with
7,265 additions
and
1,077 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
Empty file.
Empty file.
Empty file modified
0
contracts/desiege/tokens/ERC1155/ERC1155_Mintable_Ownable.cairo
100644 → 100755
Empty file.
Empty file.
Empty file modified
0
contracts/desiege/tokens/ERC1155/IERC1155_Mintable_Ownable.cairo
100644 → 100755
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Oops, something went wrong.