游戏王残局简化版

Diff
Login

Diff

Differences From Artifact [ce0c5ad4da]:

To Artifact [f35786ea33]:


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
      else
        Debug.ShowHint("印卡过多!")
        Duel.SetLP(0,0)
        end

      end
    end

function print_hand(e,tp,eg,ep,ev,re,r,rp)
  local ac=Duel.AnnounceCard(tp)
  local c=Duel.CreateToken(tp,ac)
  if n<2 then
    Duel.SendtoHand(c,nil,REASON_RULE)
    Duel.ShuffleHand(tp)
    n=n+1
  else
    if n==10 then
      Debug.ShowHint("印卡过多,审判降临!")
      Duel.SetLP(0,0)
    else
      n=n+1
      Duel.Remove(c,POS_FACEUP,REASON_RULE)
      Duel.SendtoDeck(c,tp,0,REASON_RULE)
    end
  end
end

local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetProperty(EFFECT_FLAG_BOTH_SIDE)
e1:SetRange(LOCATION_EXTRA)
e1:SetOperation(print_hand)
c:RegisterEffect(e1)
  end







<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
|

214
215
216
217
218
219
220

























221
222
      else
        Debug.ShowHint("印卡过多!")
        Duel.SetLP(0,0)
        end

      end
    end

























  str_1:RegisterEffect(effect_1)
  end