游戏王残局简化版

Check-in [c55787c7ac]
Login

Check-in [c55787c7ac]

Overview
Comment:0.0.405
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: c55787c7ac490db2d3be96fdc4b165e7634d3a7c0bf193bdbec4686e4922278e
User & Date: 顽雨沉风 on 2023-06-29 23:54:25
Other Links: manifest | tags
Context
2023-06-29
23:55
0.0.406 check-in: 813804521b user: 顽雨沉风 tags: trunk
23:54
0.0.405 check-in: c55787c7ac user: 顽雨沉风 tags: trunk
23:34
0.0.404 check-in: 170c16a25e user: 顽雨沉风 tags: trunk
Changes

Modified script/c0.lua from [2d41f3aa2f] to [f9662a6a72].

93
94
95
96
97
98
99












100
101
102
  str["这个残局的效果卡数量"] = str["这个残局的效果卡数量"] + str["对方魔陷区"]
  str["这个残局的效果卡数量"] = str["这个残局的效果卡数量"] + str["对方超量素材"]

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

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












  end









>
>
>
>
>
>
>
>
>
>
>
>



93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
  str["这个残局的效果卡数量"] = str["这个残局的效果卡数量"] + str["对方魔陷区"]
  str["这个残局的效果卡数量"] = str["这个残局的效果卡数量"] + str["对方超量素材"]

  str["开局说明"] = "效果卡:"
  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)
	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)
  end