Index: script/c0.lua ================================================================== --- script/c0.lua +++ script/c0.lua @@ -67,10 +67,16 @@ cache_1:insert(cache_2) cache_2 = Duel.GetFieldGroup(0,0,LOCATION_EXTRA) cache_1:insert(cache_2) cache_2 = Duel.GetFieldGroup(0,0,LOCATION_SZONE) cache_1:insert(cache_2) + + cache_2 = Duel.GetOverlayGroup(0,LOCATION_MZONE,0) + cache_1:insert(cache_2) + cache_2 = Duel.GetOverlayGroup(0,0,LOCATION_SZONE) + cache_1:insert(cache_2) + str["这个残局的效果卡数量"] = 0 --~ str["我方卡组"] = Duel.GetFieldGroupCount(0,LOCATION_DECK,0) --~ str["我方墓地"] = Duel.GetFieldGroupCount(0,LOCATION_GRAVE,0) @@ -106,15 +112,15 @@ --~ str["这个残局的效果卡数量"] = str["这个残局的效果卡数量"] + str["对方灵摆区"] --~ str["这个残局的效果卡数量"] = str["这个残局的效果卡数量"] + str["对方除外区"] --~ str["这个残局的效果卡数量"] = str["这个残局的效果卡数量"] + str["对方额外卡组"] --~ str["这个残局的效果卡数量"] = str["这个残局的效果卡数量"] + str["对方魔陷区"] - str["我方超量素材"] = Duel.GetOverlayCount(0, LOCATION_MZONE, 0) - str["对方超量素材"] = Duel.GetOverlayCount(0, 0, LOCATION_MZONE) +--~ str["我方超量素材"] = Duel.GetOverlayCount(0, LOCATION_MZONE, 0) +--~ str["对方超量素材"] = Duel.GetOverlayCount(0, 0, LOCATION_MZONE) - str["这个残局的效果卡数量"] = str["这个残局的效果卡数量"] + str["我方超量素材"] - str["这个残局的效果卡数量"] = str["这个残局的效果卡数量"] + str["对方超量素材"] +--~ str["这个残局的效果卡数量"] = str["这个残局的效果卡数量"] + str["我方超量素材"] +--~ str["这个残局的效果卡数量"] = str["这个残局的效果卡数量"] + str["对方超量素材"] - Debug.ShowHint(str["这个残局的效果卡数量"]) +--~ Debug.ShowHint(str["这个残局的效果卡数量"]) end