游戏王残局简化版

Diff
Login

Diff

Differences From Artifact [f70a3d27cb]:

To Artifact [e50d240c08]:


49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
    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,LOCATION_MZONE,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)
  str["我方超量素材"] = Duel.GetMatchingGroupCount(fun["是否效果卡"],0,LOCATION_OVERLAY,0,nil)

  str["对方卡组"] = Duel.GetMatchingGroupCount(fun["是否效果卡"],0,0,LOCATION_DECK,nil)







|
|







49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
    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,6,LOCATION_MZONE,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)
  str["我方超量素材"] = Duel.GetMatchingGroupCount(fun["是否效果卡"],0,LOCATION_OVERLAY,0,nil)

  str["对方卡组"] = Duel.GetMatchingGroupCount(fun["是否效果卡"],0,0,LOCATION_DECK,nil)
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99

100
101
102
  str["对方超量素材"] = Duel.GetMatchingGroupCount(fun["是否效果卡"],0,0,LOCATION_OVERLAY,nil)

  str["这个残局的效果卡数量"] = 0

  str["这个残局的效果卡数量"] = str["这个残局的效果卡数量"] + str["我方卡组"]
  str["这个残局的效果卡数量"] = str["这个残局的效果卡数量"] + str["我方墓地"]
  str["这个残局的效果卡数量"] = str["这个残局的效果卡数量"] + str["我方怪兽区"]
  str["这个残局的效果卡数量"] = str["这个残局的效果卡数量"] + str["我方手卡"]
  str["这个残局的效果卡数量"] = str["这个残局的效果卡数量"] + str["我方灵摆区"]
  str["这个残局的效果卡数量"] = str["这个残局的效果卡数量"] + str["我方除外区"]
  str["这个残局的效果卡数量"] = str["这个残局的效果卡数量"] + str["我方额外卡组"]
  str["这个残局的效果卡数量"] = str["这个残局的效果卡数量"] + str["我方魔陷区"]
  str["这个残局的效果卡数量"] = str["这个残局的效果卡数量"] + str["我方超量素材"]

  str["这个残局的效果卡数量"] = str["这个残局的效果卡数量"] + str["对方卡组"]
  str["这个残局的效果卡数量"] = str["这个残局的效果卡数量"] + str["对方墓地"]
--~   str["这个残局的效果卡数量"] = str["这个残局的效果卡数量"] + str["对方怪兽区"]
  str["这个残局的效果卡数量"] = str["这个残局的效果卡数量"] + str["对方手卡"]
  str["这个残局的效果卡数量"] = str["这个残局的效果卡数量"] + str["对方灵摆区"]
  str["这个残局的效果卡数量"] = str["这个残局的效果卡数量"] + str["对方除外区"]
  str["这个残局的效果卡数量"] = str["这个残局的效果卡数量"] + str["对方额外卡组"]
  str["这个残局的效果卡数量"] = str["这个残局的效果卡数量"] + str["对方魔陷区"]
  str["这个残局的效果卡数量"] = str["这个残局的效果卡数量"] + str["对方超量素材"]

  str["开局说明"] = "效果卡:"
  str["开局说明"] = str["开局说明"] .. str["这个残局的效果卡数量"]

  Debug.ShowHint(str["开局说明"])

  end









|




















>



72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
  str["对方超量素材"] = Duel.GetMatchingGroupCount(fun["是否效果卡"],0,0,LOCATION_OVERLAY,nil)

  str["这个残局的效果卡数量"] = 0

  str["这个残局的效果卡数量"] = str["这个残局的效果卡数量"] + str["我方卡组"]
  str["这个残局的效果卡数量"] = str["这个残局的效果卡数量"] + str["我方墓地"]
  str["这个残局的效果卡数量"] = str["这个残局的效果卡数量"] + str["我方怪兽区"]
--~   str["这个残局的效果卡数量"] = str["这个残局的效果卡数量"] + str["我方手卡"]
  str["这个残局的效果卡数量"] = str["这个残局的效果卡数量"] + str["我方灵摆区"]
  str["这个残局的效果卡数量"] = str["这个残局的效果卡数量"] + str["我方除外区"]
  str["这个残局的效果卡数量"] = str["这个残局的效果卡数量"] + str["我方额外卡组"]
  str["这个残局的效果卡数量"] = str["这个残局的效果卡数量"] + str["我方魔陷区"]
  str["这个残局的效果卡数量"] = str["这个残局的效果卡数量"] + str["我方超量素材"]

  str["这个残局的效果卡数量"] = str["这个残局的效果卡数量"] + str["对方卡组"]
  str["这个残局的效果卡数量"] = str["这个残局的效果卡数量"] + str["对方墓地"]
--~   str["这个残局的效果卡数量"] = str["这个残局的效果卡数量"] + str["对方怪兽区"]
  str["这个残局的效果卡数量"] = str["这个残局的效果卡数量"] + str["对方手卡"]
  str["这个残局的效果卡数量"] = str["这个残局的效果卡数量"] + str["对方灵摆区"]
  str["这个残局的效果卡数量"] = str["这个残局的效果卡数量"] + str["对方除外区"]
  str["这个残局的效果卡数量"] = str["这个残局的效果卡数量"] + str["对方额外卡组"]
  str["这个残局的效果卡数量"] = str["这个残局的效果卡数量"] + str["对方魔陷区"]
  str["这个残局的效果卡数量"] = str["这个残局的效果卡数量"] + str["对方超量素材"]

  str["开局说明"] = "效果卡:"
  str["开局说明"] = str["开局说明"] .. str["这个残局的效果卡数量"]

  Debug.ShowHint(str["开局说明"])
  Debug.ShowHint(str["我方怪兽区"])
  end