Overview
Comment: | 好 |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
bb85d787431662025192f783a691dfe9 |
User & Date: | 顽雨沉风 on 2024-02-17 15:20:55 |
Other Links: | manifest | tags |
Context
2024-02-17
| ||
15:36 | 好 check-in: 7a80b7fa09 user: 顽雨沉风 tags: trunk | |
15:20 | 好 check-in: bb85d78743 user: 顽雨沉风 tags: trunk | |
05:50 | 好 check-in: 2033f4039c user: 顽雨沉风 tags: trunk | |
Changes
Modified script/c0.lua from [73da5ef015] to [68ea901801].
︙ | ︙ | |||
48 49 50 51 52 53 54 | Duel.Draw(0, h1, REASON_RULE) u1:Reset() end s["开局洗卡抽卡"] = function(u1) local h2 --~ 抽卡之数 h1 = u1 | | | 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 | Duel.Draw(0, h1, REASON_RULE) u1:Reset() end s["开局洗卡抽卡"] = function(u1) local h2 --~ 抽卡之数 h1 = u1 s["「开局洗卡抽卡」之量"] = u1 --~ 效果 h2 = Effect.GlobalEffect() h2:SetType(EFFECT_TYPE_FIELD + EFFECT_TYPE_CONTINUOUS) h2:SetCode(EVENT_ADJUST) h2:SetCondition(aux.TRUE) h2:SetOperation(s["_开局洗卡抽卡"]) Duel.RegisterEffect(h2, 0) |
︙ | ︙ | |||
120 121 122 123 124 125 126 | --~ 玩家选定的卡 h2 = Duel.SelectMatchingCard(u2, Card.IsAbleToHand, u2, LOCATION_DECK, 0, h1, h1, nil) Duel.SendtoHand(h2, nil, REASON_RULE) u1:Reset() end s["开局选卡入手"] = function(u1) local h2 | | | | | | | | | | | | | | 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 | --~ 玩家选定的卡 h2 = Duel.SelectMatchingCard(u2, Card.IsAbleToHand, u2, LOCATION_DECK, 0, h1, h1, nil) Duel.SendtoHand(h2, nil, REASON_RULE) u1:Reset() end s["开局选卡入手"] = function(u1) local h2 s["「开局选卡入手」之量"] = u1 --~ 「开局选卡入手」之量 h1 = u1 --~ 效果 h2 = Effect.GlobalEffect() h2:SetType(EFFECT_TYPE_FIELD + EFFECT_TYPE_CONTINUOUS) h2:SetCode(EVENT_ADJUST) h2:SetCondition(aux.TRUE) h2:SetOperation(s["_开局选卡入手"]) Duel.RegisterEffect(h2, 0) end end --~ 「禁主怪格」之几个 s["「禁主怪格」之几个"] = function(u1) local h1 s["「禁主怪格」之量"] = u1 --~ 效果 h1 = Effect.GlobalEffect() h1:SetCode(EFFECT_USE_EXTRA_MZONE) h1:SetValue(u1) Duel.RegisterEffect(h1, 0) end --~ 「禁魔陷格」之几个 s["「禁魔陷格」之几个"] = function(u1) local h1 s["「禁魔陷格」之量"] = u1 --~ 效果 h1 = Effect.GlobalEffect() h1:SetCode(EFFECT_USE_EXTRA_SZONE) h1:SetValue(u1) Duel.RegisterEffect(h1, 0) end do s["Debug.ReloadFieldEnd"] = _G.Debug.ReloadFieldEnd --~ 「禁主怪格」之几个 --~ 「禁魔陷格」之几个 function _G.Debug.ReloadFieldEnd(u1, u2) s["Debug.ReloadFieldEnd"]() if u1 then s["「禁主怪格」之几个"](u1) end if u2 then s["「禁魔陷格」之几个"](u2) end end end do local h1, h2, h3, h4 --~ 印卡过多之示 h1 = "印卡过多" |
︙ | ︙ | |||
234 235 236 237 238 239 240 | end if s["战段"] == 0 then h1 = h1 .. "无战段 " end if s["机智"] == 0 then h1 = h1 .. "无机智 " end | | | | | | | | | | | | | | | 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 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 | end if s["战段"] == 0 then h1 = h1 .. "无战段 " end if s["机智"] == 0 then h1 = h1 .. "无机智 " end if s["「开局选卡入手」之量"] then h1 = h1 .. "选" .. s["「开局选卡入手」之量"] .. "卡 " end if s["「禁主怪格」之量"] then h1 = h1 .. "禁" .. s["「禁主怪格」之量"] .. "怪格 " end if s["「禁魔陷格」之量"] then h1 = h1 .. "禁" .. s["「禁魔陷格」之量"] .. "魔格 " end if s["「开局洗卡抽卡」之量"] then h1 = h1 .. "抽" .. s["「开局洗卡抽卡」之量"] .. "卡 " end Debug.ShowHint(h1) end do s["aux.BeginPuzzle"] = _G.aux.BeginPuzzle --~ 「开局洗卡抽卡」之量 --~ 「开局选卡入手」之几张 --~ 传入「对方额外卡组最上面的表侧卡」,并将其作为印卡源 --~ 能往手卡印几张卡 --~ 最多能印几张卡 function _G.aux.BeginPuzzle(u1, u2, u3, u4, u5) s["aux.BeginPuzzle"]() if u1 then s["开局洗卡抽卡"](u1) end if u2 then s["开局选卡入手"](u2) end if u3 then s["印卡"](u3, u4, u5) else end s["开局之示"]() s["通关之邀"]() end end |