1: --[[message
2: 规则:大师3
3: 星圣vs入魔
4: ]]
5: --~ 加载残局函数库
6: Debug.AddCard(0,0,0,LOCATION_MZONE,-1,POS_FACEUP)
7: --~ a=Debug.ShowHint
8: --~ Debug.ShowHint=function()
9: --~ a(aa)
10: --~ end
11: --~ mymetatable = {}
12: --~ mymetatable.__tostring=function()
13: --~ Debug.ShowHint("残局群181175613")
14: --~ return "残局群181175613"
15: --~ end
16: --~ setmetatable(Debug,mymetatable)
17: --~ print(Debug)
18:
19: Debug.SetAIName("四妹")
20: Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN+DUEL_SIMPLE_AI+DUEL_PSEUDO_SHUFFLE,3)
21: Debug.SetPlayerInfo(0,100,0,0)
22: Debug.SetPlayerInfo(1,3250,0,0)
23: Debug.AddCard(70908596,0,0,LOCATION_HAND,0,POS_FACEDOWN)
24: Debug.AddCard(78358521,0,0,LOCATION_HAND,0,POS_FACEDOWN)
25: Debug.AddCard(78364470,0,0,LOCATION_HAND,0,POS_FACEDOWN)
26: Debug.AddCard(57103969,0,0,LOCATION_HAND,0,POS_FACEDOWN)
27: Debug.AddCard(2091298,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
28: Debug.AddCard(98012938,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
29: Debug.AddCard(33420078,0,0,LOCATION_GRAVE,0,POS_FACEUP)
30: Debug.AddCard(16906241,0,0,LOCATION_GRAVE,0,POS_FACEUP)
31: Debug.AddCard(41269771,0,0,LOCATION_GRAVE,0,POS_FACEUP)
32: Debug.AddCard(94634433,0,0,LOCATION_SZONE,2,POS_FACEDOWN)
33: Debug.AddCard(359563,1,1,LOCATION_MZONE,1,POS_FACEUP_DEFENSE,true)
34: Debug.AddCard(77542832,1,1,LOCATION_MZONE,1,POS_FACEUP)
35: Debug.AddCard(91279700,1,1,LOCATION_MZONE,2,POS_FACEUP_ATTACK,true)
36: Debug.AddCard(77542832,1,1,LOCATION_MZONE,2,POS_FACEUP)
37: Debug.AddCard(37926346,1,1,LOCATION_MZONE,3,POS_FACEUP_ATTACK,true)
38: Debug.AddCard(77542832,1,1,LOCATION_MZONE,3,POS_FACEUP)
39:
40: Debug.ReloadFieldEnd()
41: aux.BeginPuzzle()
42:
43: _G["开局说明"]()
44: _G["通关邀请"]()
45: --~ load("Debu", "example.lua", "t")
46: --~ rawlen(_G)
47: --~ a=0
48: --~ for k, v in pairs(_G) do
49: --~ Debug.ShowHint(tostring(Debug))
50: --~ Debug.ShowHint(tostring(v))
51: --~ a=a+1
52: --~ if a > 100 then
53: --~ break
54: --~ end
55: --~ end
56: --~ Debug.ShowHint(tostring(#_G))
57: --~ Debug.ShowHint(tostring(#_G))
58: --~ load("Debug.ShowHint(\"残局群181175613\")")
59: --~ a,b= next(_G)
60: --~ Debug.ShowHint(tostring(a))
61: --~ Debug.ShowHint(tostring(b))
62: --~ print(23)