游戏王残局简化版

Diff
Login

Diff

Differences From Artifact [f9662a6a72]:

To Artifact [7c51041bb1]:


97
98
99
100
101
102
103
104

105
106
107
108
109
110
111
97
98
99
100
101
102
103

104
105
106
107
108
109
110
111







-
+







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

  Debug.ShowHint(str["开局说明"])
function splimit(e,c,tp,sumtp,sumpos)
  Debug.ShowHint(bit.band(sumtp,SUMMON_TYPE_LINK)==SUMMON_TYPE_LINK)
	return bit.band(sumtp,SUMMON_TYPE_LINK)==SUMMON_TYPE_LINK
end
	local e1=Effect.CreateEffect(c)
	local e1=Effect.CreateEffect()
	e1:SetType(EFFECT_TYPE_FIELD)
	e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
	e1:SetCode(EFFECT_CANNOT_SPECIAL_SUMMON)
	e1:SetTargetRange(1,1)
	e1:SetTarget(splimit)
	e1:SetReset(RESET_PHASE+PHASE_END)
	Duel.RegisterEffect(e1,tp)