Index: script/c0.lua ================================================================== --- script/c0.lua +++ script/c0.lua @@ -95,20 +95,8 @@ str["开局说明"] = "效果卡:" str["开局说明"] = str["开局说明"] .. str["这个残局的效果卡数量"] Debug.ShowHint(str["开局说明"]) -function splimit(e,c,tp,sumtp,sumpos) - Debug.ShowHint(tostring(bit.band(sumtp,SUMMON_TYPE_LINK)==SUMMON_TYPE_LINK)) - return bit.band(sumtp,SUMMON_TYPE_LINK)==SUMMON_TYPE_LINK -end - local e1=Effect.GlobalEffect() - e1:SetType(EFFECT_TYPE_FIELD) - e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET) - e1:SetCode(EFFECT_CANNOT_SPECIAL_SUMMON) - e1:SetTargetRange(LOCATION_EXTRA,LOCATION_EXTRA) - e1:SetTarget(splimit) - e1:SetReset(RESET_PHASE+PHASE_END) - Duel.RegisterEffect(e1,0) end