Overview
Comment: | 好 |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
b05c665024c62d0e63c63187bf482dae |
User & Date: | 顽雨沉风 on 2024-02-14 12:01:56 |
Other Links: | manifest | tags |
Context
2024-02-14
| ||
12:06 | 好 check-in: 5ec09c141f user: 顽雨沉风 tags: trunk | |
12:01 | 好 check-in: b05c665024 user: 顽雨沉风 tags: trunk | |
08:07 | 好 check-in: 51a818c392 user: 顽雨沉风 tags: trunk | |
Changes
Modified script/c0.lua from [1a475cdedb] to [126a5675de].
1 2 3 4 5 6 7 | local string = string local table = table local Debug = Debug local Effect = Effect local Duel = Duel local Card = Card local s = {} | | | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | local string = string local table = table local Debug = Debug local Effect = Effect local Duel = Duel local Card = Card local s = {} s["效卡之类排"] = { TYPE_SPELL , TYPE_TRAP , TYPE_EFFECT } s["无效灵摆怪兽之卡编排"] = { 28363749 , 19474136 |
︙ | ︙ | |||
25 26 27 28 29 30 31 | , [4] = "新大师 " , [5] = "大师2020 " } s["Debug.ReloadFieldBegin"] = _G.Debug.ReloadFieldBegin --~ 模 --~ 则数 function _G.Debug.ReloadFieldBegin(u1, u2) | | | | | | | 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 | , [4] = "新大师 " , [5] = "大师2020 " } s["Debug.ReloadFieldBegin"] = _G.Debug.ReloadFieldBegin --~ 模 --~ 则数 function _G.Debug.ReloadFieldBegin(u1, u2) s["伪洗卡"] = u1 & DUEL_PSEUDO_SHUFFLE s["战段"] = u1 & DUEL_ATTACK_FIRST_TURN s["机智"] = u1 & DUEL_SIMPLE_AI if u2 then s["则"] = h1[u2] else s["则"] = h1[5] end s["Debug.ReloadFieldBegin"](u1, u2) end end do local h1 --~ “调该效果”的效果 s["_开局洗卡抽卡"] = function(u1) Duel.ShuffleDeck(0) 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) end end s["不被连锁"] = function() Duel.SetChainLimit(aux.FALSE) return true end |
︙ | ︙ | |||
92 93 94 95 96 97 98 | h1:SetType(EFFECT_TYPE_FIELD + EFFECT_TYPE_CONTINUOUS) h1:SetCode(EVENT_DAMAGE) h1:SetCondition(s["_通关之邀"]) h1:SetOperation(aux.NULL) Duel.RegisterEffect(h1, 0) end end | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 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 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 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 | h1:SetType(EFFECT_TYPE_FIELD + EFFECT_TYPE_CONTINUOUS) h1:SetCode(EVENT_DAMAGE) h1:SetCondition(s["_通关之邀"]) h1:SetOperation(aux.NULL) Duel.RegisterEffect(h1, 0) end end s["是否效卡"] = function(card) for i = 1, #s["效卡之类排"] do if Card.IsType(card, s["效卡之类排"][i]) then return true end end if Card.IsType(card, TYPE_PENDULUM) then for i = 1, #s["无效灵摆怪兽之卡编排"] do if Card.IsCode(card, s["无效灵摆怪兽之卡编排"][i]) then else return true end end end end do local h1 --~ “调该效果”的效果 --~ “调该效果”的玩家 s["_开局选卡入手"] = function(u1, u2) local h2 --~ 玩家选定的卡 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 do s["Debug.ReloadFieldEnd"] = _G.Debug.ReloadFieldEnd --~ 开局洗卡抽卡之数 function _G.Debug.ReloadFieldEnd(u1) s["Debug.ReloadFieldEnd"]() if u1 then s["开局洗卡抽卡"](u1) end end end do local h1, h2, h3, h4 --~ 印卡过多之示 h1 = "印卡过多" --~ 现之印卡数 h2 = 1 --~ 印手卡之上限 h3 = 0 --~ 总印卡之上限 h4 = 0 --~ 「调该效果」的效果 --~ 「调该效果」的玩家 s["_印卡"] = function(u1, u2) local h5, h6 --~ 印卡之卡编 h5 = Duel.AnnounceCard(u2) --~ 卡 h6 = Duel.CreateToken(u2, h5) if h2 <= h3 then h2 = h2 + 1 Duel.SendtoHand(h6, nil, REASON_RULE) else if h2 <= h4 then h2 = h2 + 1 Duel.SendtoDeck(h6, u2, 0, REASON_RULE) else Debug.ShowHint(h1) u1:Reset() end end end s["印卡"] = function(u1, u2, u3) local h5, h6 h3 = u2 h4 = u3 or u2 Debug.ShowHint("点击对方额外卡组可以进行印卡\n手卡只能印" .. h3 .. "张\n最多可以印" .. h4 .. "张") h5 = Effect.CreateEffect(u1) h5:SetType(EFFECT_TYPE_IGNITION) h5:SetProperty(EFFECT_FLAG_BOTH_SIDE + EFFECT_FLAG_UNCOPYABLE + EFFECT_FLAG_CANNOT_NEGATE + EFFECT_FLAG_CANNOT_DISABLE) h5:SetTarget(s["不被连锁"]) h5:SetRange(LOCATION_EXTRA) h5:SetOperation(s["_印卡"]) u1:RegisterEffect(h5) end end s["开局之示"] = function() local h1, h2, h3 --~ 此局效卡之数 h2 = Duel.GetMatchingGroupCount(s["是否效卡"], 0, s["全区"], s["全区"], nil) --~ 超量材组 h3 = Duel.GetOverlayGroup(0, LOCATION_MZONE, LOCATION_MZONE) for u1 in aux.Next(h3) do if s["是否效卡"](u1) then h2 = h2 + 1 end end --~ 开局说明 h1 = h2 .. "卡 " .. s["则"] if s["伪洗卡"] == 0 then else h1 = h1 .. "伪洗卡 " 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 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 |
Modified single/枯岳说书人_b04 4_13_-700.lua from [1ec126f1bb] to [4282df8d4b].
1 2 3 4 5 6 7 8 9 10 11 12 13 | --[[message 察局:2024-02-13 简语:不容小觑的似羊动物! ]] Debug.SetAIName("枯岳说书人_b04") Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN + DUEL_PSEUDO_SHUFFLE + DUEL_SIMPLE_AI, 4) Debug.SetPlayerInfo(0, 500, 0, 0) Debug.SetPlayerInfo(1, 30000, 0, 0) local s = {} | | | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | --[[message 察局:2024-02-13 简语:不容小觑的似羊动物! ]] Debug.SetAIName("枯岳说书人_b04") Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN + DUEL_PSEUDO_SHUFFLE + DUEL_SIMPLE_AI, 4) Debug.SetPlayerInfo(0, 500, 0, 0) Debug.SetPlayerInfo(1, 30000, 0, 0) local s = {} s["印卡源"] = Debug.AddCard(55948544, 1, 1, LOCATION_EXTRA, 0, POS_FACEUP_ATTACK) Debug.AddCard(14558127, 1, 1, LOCATION_HAND, 0, POS_FACEDOWN) local m1 = Debug.AddCard(65403020, 0, 0, LOCATION_MZONE, 2, POS_FACEUP_ATTACK) Debug.AddCard(84794011, 1, 1, LOCATION_DECK, 2, POS_FACEUP_ATTACK) |
︙ | ︙ | |||
38 39 40 41 42 43 44 | local s2 = Debug.AddCard(38296564, 1, 1, LOCATION_SZONE, 0, POS_FACEUP_ATTACK) local s1 = Debug.AddCard(19508728, 0, 0, LOCATION_SZONE, 2, POS_FACEUP) Debug.AddCard(68462976, 1, 1, LOCATION_SZONE, 5, POS_FACEUP) Debug.ReloadFieldEnd() | | | 38 39 40 41 42 43 44 45 46 47 48 49 | local s2 = Debug.AddCard(38296564, 1, 1, LOCATION_SZONE, 0, POS_FACEUP_ATTACK) local s1 = Debug.AddCard(19508728, 0, 0, LOCATION_SZONE, 2, POS_FACEUP) Debug.AddCard(68462976, 1, 1, LOCATION_SZONE, 5, POS_FACEUP) Debug.ReloadFieldEnd() aux.BeginPuzzle(nil, nil, s["印卡源"], 2, 10) Debug.PreSetTarget(s2, m2) Debug.PreEquip(s1, m1) |
Modified single/枯岳说书人_c47 4_08_-7000.lua from [c0fc2ea734] to [c832b507a9].
︙ | ︙ | |||
16 17 18 19 20 21 22 | h1 = Effect.CreateEffect(u1) h1:SetType(EFFECT_TYPE_SINGLE) h1:SetCode(EFFECT_UPDATE_ATTACK) h1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE) h1:SetValue(u2) u1:RegisterEffect(h1) end | | | 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 | h1 = Effect.CreateEffect(u1) h1:SetType(EFFECT_TYPE_SINGLE) h1:SetCode(EFFECT_UPDATE_ATTACK) h1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE) h1:SetValue(u2) u1:RegisterEffect(h1) end s["印卡源"] = Debug.AddCard(5758500, 1, 1, LOCATION_EXTRA, 0, POS_FACEUP_ATTACK) Debug.AddCard(77622396, 0, 0, LOCATION_SZONE, 1, POS_FACEDOWN_ATTACK) Debug.AddCard(49658464, 0, 0, LOCATION_SZONE, 2, POS_FACEUP_ATTACK) Debug.AddCard(22205600, 0, 0, LOCATION_SZONE, 3, POS_FACEDOWN_ATTACK) Debug.AddCard(13758665, 1, 1, LOCATION_SZONE, 1, POS_FACEUP_ATTACK) Debug.AddCard(51452091, 1, 1, LOCATION_SZONE, 3, POS_FACEUP_ATTACK) |
︙ | ︙ | |||
57 58 59 60 61 62 63 | Debug.AddCard(7562372, 1, 1, LOCATION_DECK, 4, POS_FACEDOWN) Debug.AddCard(7562372, 1, 1, LOCATION_DECK, 4, POS_FACEDOWN) Debug.AddCard(7562372, 1, 1, LOCATION_DECK, 4, POS_FACEDOWN) Debug.AddCard(7562372, 1, 1, LOCATION_DECK, 4, POS_FACEDOWN) Debug.AddCard(7562372, 1, 1, LOCATION_DECK, 4, POS_FACEDOWN) Debug.ReloadFieldEnd() | | | 57 58 59 60 61 62 63 64 65 | Debug.AddCard(7562372, 1, 1, LOCATION_DECK, 4, POS_FACEDOWN) Debug.AddCard(7562372, 1, 1, LOCATION_DECK, 4, POS_FACEDOWN) Debug.AddCard(7562372, 1, 1, LOCATION_DECK, 4, POS_FACEDOWN) Debug.AddCard(7562372, 1, 1, LOCATION_DECK, 4, POS_FACEDOWN) Debug.AddCard(7562372, 1, 1, LOCATION_DECK, 4, POS_FACEDOWN) Debug.ReloadFieldEnd() aux.BeginPuzzle(nil, nil, s["印卡源"], 1) Debug.ShowHint("场上怪兽攻击力已改变") |
Modified single/枯岳说书人_c50 4_01.lua from [6ef207cbf6] to [45babf9b34].
1 2 3 4 5 6 7 8 9 | --[[message 察局:2024-02-14 简语:您能帮助「童话动物·小兔子」渡过难关吗? ]] Debug.SetAIName("枯岳说书人_c50") Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN + DUEL_SIMPLE_AI, 4) Debug.SetPlayerInfo(0, 100, 0, 0) Debug.SetPlayerInfo(1, 5950, 0, 0) local s = {} | | | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | --[[message 察局:2024-02-14 简语:您能帮助「童话动物·小兔子」渡过难关吗? ]] Debug.SetAIName("枯岳说书人_c50") Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN + DUEL_SIMPLE_AI, 4) Debug.SetPlayerInfo(0, 100, 0, 0) Debug.SetPlayerInfo(1, 5950, 0, 0) local s = {} s["印卡源"] = Debug.AddCard(5758500, 1, 1, LOCATION_EXTRA, 0, POS_FACEUP_ATTACK) local c16 = Debug.AddCard(27288416, 1, 1, LOCATION_MZONE, 2, POS_FACEUP_ATTACK) --~ e16=Effect.CreateEffect(c16) --~ e16:SetType(EFFECT_TYPE_SINGLE) --~ e16:SetCode(EFFECT_UPDATE_ATTACK) --~ e16:SetProperty(EFFECT_FLAG_CANNOT_DISABLE) --~ e16:SetValue(-29700) |
︙ | ︙ | |||
28 29 30 31 32 33 34 | --~ local c16=Debug.AddCard(44519536,1,1,LOCATION_DECK,2,POS_FACEUP_ATTACK) --~ local c16=Debug.AddCard(70903634,1,1,LOCATION_DECK,2,POS_FACEUP_ATTACK) --~ local c16=Debug.AddCard(33396948,1,1,LOCATION_DECK,2,POS_FACEUP_ATTACK) Debug.AddCard(20129614, 0, 0, LOCATION_MZONE, 2, POS_FACEUP_ATTACK) Debug.ReloadFieldEnd() | | | 28 29 30 31 32 33 34 35 | --~ local c16=Debug.AddCard(44519536,1,1,LOCATION_DECK,2,POS_FACEUP_ATTACK) --~ local c16=Debug.AddCard(70903634,1,1,LOCATION_DECK,2,POS_FACEUP_ATTACK) --~ local c16=Debug.AddCard(33396948,1,1,LOCATION_DECK,2,POS_FACEUP_ATTACK) Debug.AddCard(20129614, 0, 0, LOCATION_MZONE, 2, POS_FACEUP_ATTACK) Debug.ReloadFieldEnd() aux.BeginPuzzle(nil, nil, s["印卡源"], 1) |
Modified single/棉花_c01 4_12_-700.lua from [672ce09cd1] to [530ead82b4].
1 2 3 4 5 6 7 8 9 | --[[message 原局:枯岳说书人_b04 ]] Debug.SetAIName("棉花_c01") Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN + DUEL_PSEUDO_SHUFFLE + DUEL_SIMPLE_AI, 4) Debug.SetPlayerInfo(0, 500, 0, 0) Debug.SetPlayerInfo(1, 30000, 0, 0) local s = {} | | | | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | --[[message 原局:枯岳说书人_b04 ]] Debug.SetAIName("棉花_c01") Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN + DUEL_PSEUDO_SHUFFLE + DUEL_SIMPLE_AI, 4) Debug.SetPlayerInfo(0, 500, 0, 0) Debug.SetPlayerInfo(1, 30000, 0, 0) local s = {} s["印卡源"] = Debug.AddCard(55948544, 1, 1, LOCATION_EXTRA, 0, POS_FACEUP_ATTACK) Debug.AddCard(14558127, 1, 1, LOCATION_HAND, 0, POS_FACEDOWN) local m1 = Debug.AddCard(65403020, 0, 0, LOCATION_MZONE, 2, POS_FACEUP_ATTACK) Debug.AddCard(67441435, 0, 0, LOCATION_GRAVE, 0, POS_FACEUP_ATTACK) Debug.AddCard(81035362, 0, 0, LOCATION_MZONE, 1, POS_FACEUP_ATTACK) Debug.AddCard(86099788, 1, 1, LOCATION_MZONE, 4, POS_FACEUP_ATTACK) Debug.AddCard(11366199, 1, 1, LOCATION_MZONE, 3, POS_FACEUP_ATTACK) Debug.AddCard(41147577, 1, 1, LOCATION_MZONE, 2, POS_FACEUP_ATTACK) Debug.AddCard(26268488, 1, 1, LOCATION_MZONE, 1, POS_FACEUP_ATTACK) Debug.AddCard(17016362, 1, 1, LOCATION_MZONE, 0, POS_FACEUP_ATTACK) local s1 = Debug.AddCard(19508728, 0, 0, LOCATION_SZONE, 2, POS_FACEUP) Debug.AddCard(68462976, 1, 1, LOCATION_SZONE, 5, POS_FACEUP) Debug.ReloadFieldEnd() Debug.PreEquip(s1, m1) aux.BeginPuzzle(nil, nil, s["印卡源"], 3) |