Index: script/c0.lua ================================================================== --- script/c0.lua +++ script/c0.lua @@ -49,21 +49,21 @@ 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) + 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)) +--~ 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)