游戏王残局简化版

Check-in [a6c06c688b]
Login

Check-in [a6c06c688b]

Overview
Comment:
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: a6c06c688bc97e776c14ae158c48aaaff1d4b85a41943d74bb69a2f9becba79c
User & Date: 顽雨沉风 on 2024-02-13 14:28:13
Other Links: manifest | tags
Context
2024-02-13
14:31
check-in: 72b62dd5f1 user: 顽雨沉风 tags: trunk
14:28
check-in: a6c06c688b user: 顽雨沉风 tags: trunk
14:22
check-in: b9c81ad464 user: 顽雨沉风 tags: trunk
Changes

Modified script/c0.lua from [4c685b49aa] to [d0f08b93c5].

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
      else
        return true
      end
    end
  end
end
fun["一_开局添加手卡"] = function(u1)

  str["开局添加手卡"] = true
  str["开局添加手卡的数量"] = u1

  str["效果"] = Effect.GlobalEffect()
  str["效果"]:SetType(EFFECT_TYPE_FIELD + EFFECT_TYPE_CONTINUOUS)
  str["效果"]:SetCode(EVENT_ADJUST)
  str["效果"]:SetCondition(aux.TRUE)


  function cache_1(effect_event, player_who_activate_the_effect)

    str["玩家选定的卡"] = Duel.SelectMatchingCard(
      player_who_activate_the_effect,
      Card.IsAbleToHand,
      player_who_activate_the_effect,
      LOCATION_DECK,
      0,
      u1,
      u1,
      nil
    )
    Duel.SendtoHand(str["玩家选定的卡"], nil, REASON_RULE)
    effect_event:Reset()
  end
  str["效果"]:SetOperation(cache_1)
  Duel.RegisterEffect(str["效果"], 0)
end
fun["一_禁格"] = function(u1)
  local h1
  s["禁格之数"] = u1
  --~ 效果
  h1 = Effect.GlobalEffect()
  h1:SetCode(EFFECT_USE_EXTRA_MZONE)
  h1:SetValue(u1)







>


>
|
|
|
|
>
>
|
>
|
<
|
<
<
<
<
<
<
<
|
|
|
|
|
|







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
      else
        return true
      end
    end
  end
end
fun["一_开局添加手卡"] = function(u1)
  local h1, h2
  str["开局添加手卡"] = true
  str["开局添加手卡的数量"] = u1
  --~ 效果
  h1 = Effect.GlobalEffect()
  h1:SetType(EFFECT_TYPE_FIELD + EFFECT_TYPE_CONTINUOUS)
  h1:SetCode(EVENT_ADJUST)
  h1:SetCondition(aux.TRUE)
  --~ 调该效果的效果
  --~ 调该效果的玩家
  function h2(u2, u3)
    local h3
    --~ 玩家选定的卡

    h3 = Duel.SelectMatchingCard(u3, Card.IsAbleToHand, u3, LOCATION_DECK, 0, u1, u1, nil)







    Duel.SendtoHand(h3, nil, REASON_RULE)
    u2:Reset()
    end
  h1:SetOperation(h2)
  Duel.RegisterEffect(h1, 0)
  end
fun["一_禁格"] = function(u1)
  local h1
  s["禁格之数"] = u1
  --~ 效果
  h1 = Effect.GlobalEffect()
  h1:SetCode(EFFECT_USE_EXTRA_MZONE)
  h1:SetValue(u1)