游戏王残局简化版

Diff
Login

Diff

Differences From Artifact [99e5aef771]:

To Artifact [6aa3249dfd]:


32
33
34
35
36
37
38



39
40
41
42
43
44
45
_G["开局说明"] = function()
  str["这个残局的效果卡数量"] = 0
  str["我方墓地"] = Duel.GetFieldGroupCount(0,LOCATION_GRAVE,0)
  str["我方怪兽区"] = Duel.GetFieldGroupCount(0,LOCATION_MZONE,0)
  str["我方手卡"] = Duel.GetFieldGroupCount(0,LOCATION_HAND,0)
  str["我方灵摆区"] = Duel.GetFieldGroupCount(0,LOCATION_PZONE,0)
  str["我方魔陷区"] = Duel.GetFieldGroupCount(0,LOCATION_SZONE,0)




  str["这个残局的效果卡数量"] = str["这个残局的效果卡数量"] + str["我方怪兽区"]
  str["这个残局的效果卡数量"] = str["这个残局的效果卡数量"] + str["我方墓地"]

--~   Debug.ShowHint(str["这个残局的效果卡数量"])
  end








>
>
>







32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
_G["开局说明"] = function()
  str["这个残局的效果卡数量"] = 0
  str["我方墓地"] = Duel.GetFieldGroupCount(0,LOCATION_GRAVE,0)
  str["我方怪兽区"] = Duel.GetFieldGroupCount(0,LOCATION_MZONE,0)
  str["我方手卡"] = Duel.GetFieldGroupCount(0,LOCATION_HAND,0)
  str["我方灵摆区"] = Duel.GetFieldGroupCount(0,LOCATION_PZONE,0)
  str["我方魔陷区"] = Duel.GetFieldGroupCount(0,LOCATION_SZONE,0)
  str["我方除外区"] = Duel.GetFieldGroupCount(0,LOCATION_REMOVED,0)
  str["我方额外卡组"] = Duel.GetFieldGroupCount(0,LOCATION_EXTRA,0)
  str["我方卡组"] = Duel.GetFieldGroupCount(0,LOCATION_DECK,0)

  str["这个残局的效果卡数量"] = str["这个残局的效果卡数量"] + str["我方怪兽区"]
  str["这个残局的效果卡数量"] = str["这个残局的效果卡数量"] + str["我方墓地"]

--~   Debug.ShowHint(str["这个残局的效果卡数量"])
  end