diff --git a/src/img/lza_menace.jpg b/src/img/lza_menace.jpg deleted file mode 100644 index 30355c5..0000000 Binary files a/src/img/lza_menace.jpg and /dev/null differ diff --git a/src/img/lza_menace.png b/src/img/lza_menace.png new file mode 100644 index 0000000..d6abb4c Binary files /dev/null and b/src/img/lza_menace.png differ diff --git a/src/index.js b/src/index.js index 26d0156..b9aac04 100644 --- a/src/index.js +++ b/src/index.js @@ -59,7 +59,7 @@ ReactDOM.createRoot(document.getElementById("root")).render(
diff --git a/src/template/Sections.jsx b/src/template/Sections.jsx index 58f847c..16bbf3c 100644 --- a/src/template/Sections.jsx +++ b/src/template/Sections.jsx @@ -8,7 +8,7 @@ import useWebSocket, { ReadyState } from 'react-use-websocket'; import Typewriter from 'react-ts-typewriter'; import Slider from 'rc-slider'; -import LZA from '../img/lza_menace.jpg'; +import LZA from '../img/lza_menace.png'; import Carty from '../img/cartyisme.png'; import Boomer from '../img/unaboomer.png'; import Newspapers from '../img/newspapers.png'; @@ -128,20 +128,6 @@ class GameMap extends React.Component { {this.props.unaboomersRadicalized} / {this.props.unaboomerMaxSupply} Unaboomers radicalized and ready to terrorize the metaverse. {this.props.unaboomersKilled} killed.
This round will end and the project will fully start when {this.props.unaboomerMaxSurvivorCount} or less Unaboomers remain standing.

- {this.props.leaderKillCount > 0 && ( -
- -

- Kill Leader:
- - {this.shorten(this.props.leaderAddress)} - -

-

- {this.props.leaderKillCount} kills -

-
- )}
@@ -194,6 +180,7 @@ function Section3(props) { unaboomerPrice: 0, bombPrice: ethers.utils.parseEther('.01'), unaboomersMinted: 0, + unaboomerBalance: 0, bombBalance: 0, unaboomersRadicalized: 0, bombsAssembled: 0, @@ -285,6 +272,11 @@ function Section3(props) { { ...defOpt, functionName: 'leaderboardPointer' + }, + { + ...defOpt, + functionName: 'unaboomerBalance', + args: [address] } ], watch: true, @@ -298,7 +290,8 @@ function Section3(props) { bombsExploded: Number(data[4]), unaboomersKilled: Number(data[5]), leaderboardPointer: Number(data[6]), - balancesFetched: true + balancesFetched: true, + unaboomerBalance: Number(data[7]) }); } }); @@ -467,7 +460,7 @@ function Section3(props) {

Radicalize a Boomer

Radicalizing a boomer will mint ERC-721 BOOMR tokens with images of a pixel art Web3 Unaboomers.

-

You have {options.unaboomersMinted} / {options.unaboomerMaxMintPerWallet} BOOMR

+

You have minted {options.unaboomersMinted} / {options.unaboomerMaxMintPerWallet} BOOMR. {options.unaboomersMinted - options.unaboomerBalance} of your BOOMR were killed. {options.unaboomerBalance} BOOMR left.

{options.unaboomersMinted < options.unaboomerMaxMintPerWallet && options.unaboomersKilled + options.unaboomersRadicalized < options.unaboomerMaxSupply && ( <>