Overview
Comment: | 0.0.1228 |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
d5d0e03305954fde69cd49a01f6df6fb |
User & Date: | 顽雨沉风 on 2023-07-11 15:58:56 |
Other Links: | manifest | tags |
Context
2023-07-11
| ||
16:02 | 0.0.1229 check-in: 8b9b3f86d2 user: 顽雨沉风 tags: trunk | |
15:58 | 0.0.1228 check-in: d5d0e03305 user: 顽雨沉风 tags: trunk | |
15:54 | 0.0.1227 check-in: 4e8f89ad97 user: 顽雨沉风 tags: trunk | |
Changes
Modified script/c0.lua from [87e7c8a2f7] to [0fefd0623b].
︙ | ︙ | |||
207 208 209 210 211 212 213 | effect_1:SetCode(EFFECT_USE_EXTRA_MZONE) effect_1:SetValue(str_1) Duel.RegisterEffect(effect_1,0) end --} | | | > | > | | | | > | > | > | | | | > | | > | | | > | > | | | > | | > | | > | > | | | > | > | > | | | | | | > | | | | | | | | | | | | | | | | | | | | | | | | > | | | | | | | | | | | | | | | | > > | 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 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 | effect_1:SetCode(EFFECT_USE_EXTRA_MZONE) effect_1:SetValue(str_1) Duel.RegisterEffect(effect_1,0) end --} fun["印卡"] = function(str_1, str_2, str_3) --{ str["印卡"] = 1 if str_3 then --{ --} else --{ str_3 = str_2 end --} str["当前印卡数"] = 1 effect_1 = Effect.CreateEffect(str_1) effect_1:SetType(EFFECT_TYPE_IGNITION) effect_1:SetProperty(EFFECT_FLAG_BOTH_SIDE + EFFECT_FLAG_UNCOPYABLE + EFFECT_FLAG_CANNOT_NEGATE + EFFECT_FLAG_CANNOT_DISABLE) cache_1 = function() --{ Duel.SetChainLimit(aux.FALSE) return true end --} effect_1:SetTarget(cache_1) effect_1:SetRange(LOCATION_EXTRA) function print_hand(effect_event , player_who_activate_the_effect) --{ announce_card = Duel.AnnounceCard(player_who_activate_the_effect) card = Duel.CreateToken(player_who_activate_the_effect , announce_card) if str["当前印卡数"] <= str_2 then --{ str["当前印卡数"] = str["当前印卡数"] + 1 Duel.SendtoHand(card,nil,REASON_RULE) --} else --{ if str["当前印卡数"] <= str_3 then --{ str["当前印卡数"] = str["当前印卡数"] + 1 Duel.Remove(card,POS_FACEUP,REASON_RULE) Duel.SendtoDeck(card,player_who_activate_the_effect,0,REASON_RULE) --} else --{ Debug.ShowHint("印卡过多!") end --} end --} end --} effect_1:SetOperation(print_hand) str_1:RegisterEffect(effect_1) end --} fun["全部回到卡组"] = function() --{ Debug.ShowHint("胜利条件:让对方的卡回到卡组。") effect_1 = Effect.GlobalEffect() effect_1:SetType(EFFECT_TYPE_FIELD + EFFECT_TYPE_CONTINUOUS) effect_1:SetCode(EVENT_ADJUST) cache_1 = function() --{ cache_1 = 0 cache_1 = cache_1 + LOCATION_HAND cache_1 = cache_1 + LOCATION_MZONE cache_1 = cache_1 + LOCATION_SZONE cache_1 = cache_1 + LOCATION_GRAVE cache_1 = cache_1 + LOCATION_REMOVED cache_1 = Duel.GetFieldGroupCount(1,cache_1,0) if cache_1 == 0 then --{ return true --} else --{ return false end --} end --} effect_1:SetCondition(cache_1) cache_1 = function() --{ Debug.ShowHint("目标已达成!") Duel.SetLP(1,0) end --} effect_1:SetOperation(cache_1) Duel.RegisterEffect(effect_1,0) end --} |