Skip to content

Commit

Permalink
chore: optimze battle player hp logic
Browse files Browse the repository at this point in the history
  • Loading branch information
xingxinglian committed Nov 6, 2023
1 parent 74d09b1 commit 0a33023
Show file tree
Hide file tree
Showing 10 changed files with 2,809 additions and 2,873 deletions.
23 changes: 0 additions & 23 deletions packages/contracts/out/IWorld.sol/IWorld.abi.json
Original file line number Diff line number Diff line change
Expand Up @@ -1083,29 +1083,6 @@
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "_targetHP",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "_percent",
"type": "uint256"
},
{
"internalType": "address",
"name": "_player",
"type": "address"
}
],
"name": "raisePlayerHp",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
Expand Down
302 changes: 128 additions & 174 deletions packages/contracts/out/IWorld.sol/IWorld.json

Large diffs are not rendered by default.

Loading

0 comments on commit 0a33023

Please sign in to comment.