-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathPlayer.lua
46 lines (42 loc) · 1.08 KB
/
Player.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
local Player = {}
Player[1] = {
life = 100,
gold = 0,
magic = 1,
ultra = 1,
level = 0,
deck = {},
extra = {},
hand = {},
field = {},
graveyard = {},
exile = {},
storm = 0,
lastsupport = {},
room = {},
temple = {},
turnevents = {lifegained = 0,lifelost = 0,cardsdrawn = 0,cardsdiscarded = 0,goldreceived = 0,goldspent = 0,cardsplayed = 0,unitssummoned = 0,supportscast = 0,spellscast = 0,alliescalled = 0,totemsbuilt = 0,
damagedealt = 0,attackingunits = 0,destroyedunits = 0
}
}
Player[2] = {
life = 100,
gold = 0,
magic = 1,
ultra = 1,
level = 0,
deck = {},
extra = {},
hand = {},
field = {},
graveyard = {},
exile = {},
storm = 0,
lastsupport = {},
room = {},
temple = {},
turnevents = {lifegained = 0,lifelost = 0,cardsdrawn = 0,cardsdiscarded = 0,goldreceived = 0,goldspent = 0,cardsplayed = 0,unitssummoned = 0,supportscast = 0,spellscast = 0,alliescalled = 0,totemsbuilt = 0,
damagedealt = 0,attackingunits = 0,destroyedunits = 0
}
}
return Player