游戏王残局简化版

Diff
Login

Diff

Differences From Artifact [b57bfdddd5]:

To Artifact [1a475cdedb]:


54
55
56
57
58
59
60
61

62
63
64
65
66
67
68
54
55
56
57
58
59
60

61
62
63
64
65
66
67
68







-
+







    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["开局洗牌抽牌"])
    h2:SetOperation(s["_开局洗牌抽牌"])
    Duel.RegisterEffect(h2, 0)
    end
  end
s["不被连锁"] = function()
  Duel.SetChainLimit(aux.FALSE)
  return true
  end
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
175
176
177
178
179
180
181

182
183
184
185
186
187
188







-







    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.Remove(h6, POS_FACEUP, REASON_RULE)
        Duel.SendtoDeck(h6, u2, 0, REASON_RULE)
      else
        Debug.ShowHint(h1)
        u1:Reset()
        end
      end
    end