Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extra life potion #9

Open
Await-0x opened this issue Sep 20, 2024 · 2 comments
Open

Extra life potion #9

Await-0x opened this issue Sep 20, 2024 · 2 comments
Assignees
Labels

Comments

@Await-0x
Copy link
Member

  • Gives a beast extra life, settings its life to full after dying
@Await-0x Await-0x added the V1 label Sep 20, 2024
@loothero loothero mentioned this issue Oct 4, 2024
@loothero
Copy link
Member

loothero commented Oct 4, 2024

We need storage for this and as such, we need to define maximum number of extra lifes.

max extra lives is 127 (7 bits)

@loothero
Copy link
Member

loothero commented Oct 4, 2024

apply_consumable(beast_token_id, Array<consumable_id>)

be mindful that consumables are erc20s so 1 consumable == 1.0000000000000 erc20

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants