Pf 1 3 13c M • u pIow s 2 3bd j u t d -3 3 c D 3 – • dr v v a _ 3 l eSjc gma _OUM let HeroAsset = artifacts.require('HeroAsset') let DeckManager = artifacts.require('DeckManager') let address = '0x123456…' module.exports = function (deployer) { deployer.then(async function() { let deckManager = await DeckManager.deployed() let heroAsset = await HeroAsset.deployed() let currentDeck = await deckManager.getDeck(address) let hero1 = await heroAsset.tokenOfOwnerByIndex(address,0) let hero2 = await heroAsset.tokenOfOwnerByIndex(address,1) • 1 b _ i M • ynp d . 3 3 31 7 c Mb _ 3 3 3 . 2 c Mb x p v j Mb j
8 A 8 6BA 6 82 AE 6 BA 5 J 8 BA 8I 5 J 8 8 5 J 81 6 8A E 6 8 E 6 3A f c x i uknji h c ol e E A 9B 9 A6 BAi 6 8 h c 8 i HE T rtsma T 1. start 3. end 2. battle 8H8A 81 8H8A 8 A7 8H8A 8 6 BA 6 8A b v p ma8H8A y 6 8A b v p ma8H8A y A g A g U Sh M a P f d . H 16 C h
9 e S S 63 y kohe S e ykoh c plr c • dae c 9 3 1 09 0 39 e 2 S log j s c cJ J c • ne 63 c c c a I b J uint256 digit = 77; uint256 tmp = 0; digit -= 1; tmp += uint256(1) * (10**digit); // 1 digit -= 1; tmp += uint256(unit.position) * (10**digit); // 1 digit -= 9; tmp += uint256(unit.heroId) * (10**digit); // 9 digit -= 9; tmp += uint256(unit.itemId1) * (10**digit); // 9 digit -= 9; tmp += uint256(unit.itemId2) * (10**digit); // 9 eu c 3 c emor a 3 3 1 tib fllv J b J
yCC Aae lo E mi I ITB • 1 3 t mi mi y I • kj 31 S 1 3 b Aur S 1 vI M i 1 21 1 3 31 1. start 3. end 2. next 1 1 1 1 1 1 0 1 1 1 3 x n 00 1 3 : 00 1 ig 3 n pEC mi s
dm bdo a j 3 4 et o g g d I s ye h raL I y jek y e To g u k e raL p L • s y u e_L g ) e s y o eg dL j L pe k a • po n g l e 3 4 iL b a o 3 4 g e pdLS mL o SmL ad m
1. start 3. end 2. Battle 2. Battle 3 3 3 3 ) - (. r a B ) V o d i P B r P P B) y I 3wmcpa L B 3y MG G b IB n jkekgIlIaP BV (. c Ga uID P P n G E 3 3ct P
r v ty J b r s” hy J r c • fh m J fm v “ fe • y J h -A/A / g Wegb g f P k h J ala w w aSpd i St R j n l suIIL • 0 cy J t h f fe . 0Gt r g A 0 4b /C/-1 Aco r e gb g b