游戏王残局简化版

Diff
Login

Diff

Differences From Artifact [cc1ebda187]:

To Artifact [8bddf45630]:


47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
  or cache_3 then
    return true
    end
  return false
  end

_G["开局说明"] = function()
  str["我方卡组"] = Duel.GetMatchingGroupCount(0,LOCATION_DECK,0)
  str["我方墓地"] = Duel.GetMatchingGroupCount(0,LOCATION_GRAVE,0)
  str["我方怪兽区"] = Duel.GetMatchingGroupCount(0,LOCATION_MZONE,0)
  str["我方手卡"] = Duel.GetMatchingGroupCount(0,LOCATION_HAND,0)
  str["我方灵摆区"] = Duel.GetMatchingGroupCount(0,LOCATION_PZONE,0)
  str["我方除外区"] = Duel.GetMatchingGroupCount(0,LOCATION_REMOVED,0)
  str["我方额外卡组"] = Duel.GetMatchingGroupCount(0,LOCATION_EXTRA,0)
  str["我方魔陷区"] = Duel.GetMatchingGroupCount(0,LOCATION_SZONE,0)


  Debug.ShowHint(Duel.GetMatchingGroupCount(fun["是否效果卡"],0,LOCATION_GRAVE,0,nil))

--~   local cache_1 = {}

--~   cache_2 = Duel.GetFieldGroup(0,LOCATION_DECK,0)
--~   cache_1:insert(cache_2)
--~   cache_2 = Duel.GetFieldGroup(0,LOCATION_GRAVE,0)
--~   cache_1:insert(cache_2)







|
|
|
|
|
|
|
|


|







47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
  or cache_3 then
    return true
    end
  return false
  end

_G["开局说明"] = function()
  str["我方卡组"] = Duel.GetMatchingGroupCount(fun["是否效果卡"],0,LOCATION_DECK,0,nil)
  str["我方墓地"] = Duel.GetMatchingGroupCount(fun["是否效果卡"],0,LOCATION_GRAVE,0,nil)
  str["我方怪兽区"] = Duel.GetMatchingGroupCount(fun["是否效果卡"],0,LOCATION_MZONE,0,nil)
  str["我方手卡"] = Duel.GetMatchingGroupCount(fun["是否效果卡"],0,LOCATION_HAND,0,nil)
  str["我方灵摆区"] = Duel.GetMatchingGroupCount(fun["是否效果卡"],0,LOCATION_PZONE,0,nil)
  str["我方除外区"] = Duel.GetMatchingGroupCount(fun["是否效果卡"],0,LOCATION_REMOVED,0,nil)
  str["我方额外卡组"] = Duel.GetMatchingGroupCount(fun["是否效果卡"],0,LOCATION_EXTRA,0,nil)
  str["我方魔陷区"] = Duel.GetMatchingGroupCount(fun["是否效果卡"],0,LOCATION_SZONE,0,nil)


--~   Debug.ShowHint(Duel.GetMatchingGroupCount(fun["是否效果卡"],0,LOCATION_GRAVE,0,nil))

--~   local cache_1 = {}

--~   cache_2 = Duel.GetFieldGroup(0,LOCATION_DECK,0)
--~   cache_1:insert(cache_2)
--~   cache_2 = Duel.GetFieldGroup(0,LOCATION_GRAVE,0)
--~   cache_1:insert(cache_2)