游戏王残局简化版

Check-in [bd625da610]
Login

Check-in [bd625da610]

Overview
Comment:0.0.881
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: bd625da6103e467ea218caf1810a60a69ca56b999ff8c94bcb27575b9911ef9a
User & Date: 顽雨沉风 on 2023-07-07 12:00:15
Other Links: manifest | tags
Context
2023-07-07
12:01
0.0.882 check-in: 81e9b78b35 user: 顽雨沉风 tags: trunk
12:00
0.0.881 check-in: bd625da610 user: 顽雨沉风 tags: trunk
11:59
0.0.880 check-in: 89d053c6cd user: 顽雨沉风 tags: trunk
Changes

Modified script/c0.lua from [cde45ebd62] to [9d859c3b98].

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
  effect_1 = Effect.GlobalEffect()
  effect_1:SetType(EFFECT_TYPE_FIELD)
  effect_1:SetCode(EFFECT_USE_EXTRA_MZONE)
  effect_1:SetValue(str_1)
  Duel.RegisterEffect(effect_1,0)
  end

fun["印卡"] = function(str_1)
  str["印卡"] = 1

  str["当前印卡数"] = 1

  effect_1 = Effect.CreateEffect()
  effect_1:SetType(EFFECT_TYPE_SINGLE)
  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)
    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["当前印卡数"] <= 3 then
      str["当前印卡数"] = str["当前印卡数"] + 1
      Duel.SendtoHand(card,nil,REASON_RULE)
    else
      if str["当前印卡数"] <= 10 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("印卡过多!")
        Duel.SetLP(0,0)
        end

      end
    end
  str_1:RegisterEffect(effect_1)
  end







|




















|



|












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
  effect_1 = Effect.GlobalEffect()
  effect_1:SetType(EFFECT_TYPE_FIELD)
  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

  str["当前印卡数"] = 1

  effect_1 = Effect.CreateEffect()
  effect_1:SetType(EFFECT_TYPE_SINGLE)
  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)
    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("印卡过多!")
        Duel.SetLP(0,0)
        end

      end
    end
  str_1:RegisterEffect(effect_1)
  end