Skip to content

Commit 90705a3

Browse files
committed
STCHeroAdventure V0.1
1 parent ba3bae5 commit 90705a3

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/modules/HeroTest.move

+5-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
*
1010
************************************************/
1111

12-
address 0x2{
12+
address 0x7a9704aaf75fac779df5e7f802b121b0{
1313
module STCHeroAdventure{
1414
use 0x1::Signer;
1515
use 0x1::Vector;
@@ -29,7 +29,7 @@ address 0x2{
2929
/**************************/
3030

3131
//------------------>
32-
const CHAIN :bool = false;
32+
const CHAIN :bool = true;
3333

3434

3535
/************************/
@@ -197,6 +197,9 @@ address 0x2{
197197
let monster = Get_Hero_MSTR(hero);
198198
Get_Monster_GFT(&monster)
199199
}
200+
public (script)fun Game_Get_Time():u64{
201+
Timestamp::now_seconds()
202+
}
200203
/*Game Script function end*/
201204

202205
/**************************************************************/

0 commit comments

Comments
 (0)