Overview
Comment: | 好 |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
091f486d37223d8e860ea152d83f6a1a |
User & Date: | 顽雨沉风 on 2024-02-13 11:46:00 |
Other Links: | manifest | tags |
Context
2024-02-13
| ||
11:49 | 好 check-in: f7d8ee14bc user: 顽雨沉风 tags: trunk | |
11:46 | 好 check-in: 091f486d37 user: 顽雨沉风 tags: trunk | |
11:40 | 好 check-in: 6bc844fccc user: 顽雨沉风 tags: trunk | |
Changes
Modified script/c0.lua from [a7f5e806b8] to [08284fbbde].
︙ | ︙ | |||
44 45 46 47 48 49 50 | if u2 then str["规则"] = str["规则表"][u2] else str["规则"] = str["规则表"][5] end fun["Debug.ReloadFieldBegin"](u1, u2) end | | | 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 | if u2 then str["规则"] = str["规则表"][u2] else str["规则"] = str["规则表"][5] end fun["Debug.ReloadFieldBegin"](u1, u2) end function s["开局随机抽卡"](u1) local h1, h2 str["随机抽卡的数量"] = u1 --~ 效果 h1 = Effect.GlobalEffect() h1:SetType(EFFECT_TYPE_FIELD + EFFECT_TYPE_CONTINUOUS) h1:SetCode(EVENT_ADJUST) h1:SetCondition(aux.TRUE) |
︙ | ︙ | |||
162 163 164 165 166 167 168 | local cache_8 local cache_9 local _ fun["Debug.ReloadFieldEnd"] = Debug.ReloadFieldEnd Debug.ReloadFieldEnd = function(u1) fun["Debug.ReloadFieldEnd"]() if u1 then | | | 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 | local cache_8 local cache_9 local _ fun["Debug.ReloadFieldEnd"] = Debug.ReloadFieldEnd Debug.ReloadFieldEnd = function(u1) fun["Debug.ReloadFieldEnd"]() if u1 then s["开局随机抽卡"](u1) end end fun["二_印卡"] = function(u1, u2, u3) u3 = u3 or u2 Debug.ShowHint( "点击对方额外卡组可以进行印卡。\n手卡只能印 " .. u2 |
︙ | ︙ | |||
203 204 205 206 207 208 209 210 211 212 213 214 215 | end end end str["效果"]:SetOperation(print_hand) u1:RegisterEffect(str["效果"]) end fun["二_开局说明"] = function() str["这个残局的效果卡数量"] = Duel.GetMatchingGroupCount(fun["是否效果卡"], 0, str["所有区域"], str["所有区域"], nil) str["超量素材组"] = Duel.GetOverlayGroup(0, LOCATION_MZONE, LOCATION_MZONE) for k in aux.Next(str["超量素材组"]) do if fun["一_是否效果卡"](k) then str["这个残局的效果卡数量"] = str["这个残局的效果卡数量"] + 1 | > | | > | | | | | | | | | | | | | | | | | 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 | end end end str["效果"]:SetOperation(print_hand) u1:RegisterEffect(str["效果"]) end fun["二_开局说明"] = function() local h1 str["这个残局的效果卡数量"] = Duel.GetMatchingGroupCount(fun["是否效果卡"], 0, str["所有区域"], str["所有区域"], nil) str["超量素材组"] = Duel.GetOverlayGroup(0, LOCATION_MZONE, LOCATION_MZONE) for k in aux.Next(str["超量素材组"]) do if fun["一_是否效果卡"](k) then str["这个残局的效果卡数量"] = str["这个残局的效果卡数量"] + 1 end end --~ 开局说明 h1 = str["这个残局的效果卡数量"] .. "卡 " .. str["规则"] if str["不洗牌"] == 0 then else h1 = h1 .. "伪洗牌 " end if str["无BP"] == 0 then h1 = h1 .. "无BP " end if str["无AI"] == 0 then h1 = h1 .. "无AI " end if str["开局添加手卡"] then h1 = h1 .. "选" .. str["开局添加手卡的数量"] .. "卡 " end if str["禁格"] then h1 = h1 .. "禁" .. str["禁格的数量"] .. "格 " end if str["随机抽卡的数量"] then h1 = h1 .. "抽" .. str["随机抽卡的数量"] .. "卡 " end Debug.ShowHint(h1) end fun["aux.BeginPuzzle"] = aux.BeginPuzzle aux.BeginPuzzle = function(u1, u2) fun["aux.BeginPuzzle"]() if u1 then fun["一_开局添加手卡"](u1) end if u2 then fun["一_禁格"](u2) end fun["二_开局说明"]() s["通关之邀"]() end --兼容层------------------------------- fun["印卡"] = fun["二_印卡"] fun["开局添加手卡"] = fun["一_开局添加手卡"] fun["是否效果卡"] = fun["一_是否效果卡"] fun["禁格"] = fun["一_禁格"] fun["随机抽卡"] = s["开局随机抽卡"] |