游戏王残局简化版

Diff
Login

Diff

Differences From Artifact [17c27d484a]:

To Artifact [479bd9d4f6]:


25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
  local effect_1
  effect_1 = Effect.GlobalEffect()
  effect_1:SetType(EFFECT_TYPE_FIELD
    + EFFECT_TYPE_CONTINUOUS)
  effect_1:SetCode(EVENT_DAMAGE)
  function cache_1()
    if str_1 then
      str["QB"] = 1
      str_1 = false
      end

    cache_1 = Duel.GetLP(1)
    if cache_1 <= 0 then

      if cache_1 < 0 then







|







25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
  local effect_1
  effect_1 = Effect.GlobalEffect()
  effect_1:SetType(EFFECT_TYPE_FIELD
    + EFFECT_TYPE_CONTINUOUS)
  effect_1:SetCode(EVENT_DAMAGE)
  function cache_1()
    if str_1 then
      str["QB"] = str_1
      str_1 = false
      end

    cache_1 = Duel.GetLP(1)
    if cache_1 <= 0 then

      if cache_1 < 0 then
50
51
52
53
54
55
56
57
58





59
60
61
62
63
64
65
    end
  effect_1:SetCondition(cache_1)
  function cache_1(effect_event
    , player_who_activate_the_effect)
    if str["QB"] then
      announce_card = Duel.AnnounceCard(player_who_activate_the_effect)
      card = Duel.CreateToken(player_who_activate_the_effect

      , announce_card)





      str["QB"] = false
    else
      Debug.ShowHint("残局群181175613")
      end
    return
    end
  effect_1:SetOperation(cache_1)







<

>
>
>
>
>







50
51
52
53
54
55
56

57
58
59
60
61
62
63
64
65
66
67
68
69
    end
  effect_1:SetCondition(cache_1)
  function cache_1(effect_event
    , player_who_activate_the_effect)
    if str["QB"] then
      announce_card = Duel.AnnounceCard(player_who_activate_the_effect)
      card = Duel.CreateToken(player_who_activate_the_effect

      , announce_card)
      cache_1 = Card.IsCode(card, str["QB"])
      if cache_1 then
      else
        Duel.SetLP(0, 0)
        end
      str["QB"] = false
    else
      Debug.ShowHint("残局群181175613")
      end
    return
    end
  effect_1:SetOperation(cache_1)