游戏王残局简化版

Check-in [14fe398ae9]
Login

Check-in [14fe398ae9]

Overview
Comment:
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 14fe398ae96c8e3c1f4a6cc29c4c8baef736859eb8a607909e98c59793118f63
User & Date: 顽雨沉风 on 2024-02-14 02:14:00
Other Links: manifest | tags
Context
2024-02-14
03:36
check-in: 046e84141b user: 顽雨沉风 tags: trunk
02:14
check-in: 14fe398ae9 user: 顽雨沉风 tags: trunk
02:09
check-in: ac819336b2 user: 顽雨沉风 tags: trunk
Changes

Modified script/c0.lua from [7a0740b822] to [493e8832dc].

38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
      s["则"] = h1[5]
      end
    s["Debug.ReloadFieldBegin"](u1, u2)
    end
  end
do
  local h1
  --~ 调该效果的效果
  function s["_开局洗牌抽牌"](u1)
    Duel.ShuffleDeck(0)
    --~ 抽卡之数
    Duel.Draw(0, h1, REASON_RULE)
    u1:Reset()
    end
  function s["开局洗牌抽牌"](u1)







|







38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
      s["则"] = h1[5]
      end
    s["Debug.ReloadFieldBegin"](u1, u2)
    end
  end
do
  local h1
  --~ 调该效果的效果
  function s["_开局洗牌抽牌"](u1)
    Duel.ShuffleDeck(0)
    --~ 抽卡之数
    Duel.Draw(0, h1, REASON_RULE)
    u1:Reset()
    end
  function s["开局洗牌抽牌"](u1)
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95






96
97
98
99
100
101
102
103
104
105
  end
do
  local h1, h2
  --~ 原解邀请
  h1 = "残局群181175613"
  --~ 二解邀请,备用:圣魔术师
  h2 = "爆貘团:「你居然二解了,请加群告诉我怎么二解。」"
  function s["通关之邀"]()
    local h3, h4
    --~ 效果
    h3 = Effect.GlobalEffect()
    h3:SetType(EFFECT_TYPE_FIELD + EFFECT_TYPE_CONTINUOUS)
    h3:SetCode(EVENT_DAMAGE)
    --~ 通关之邀
    function h4()
      local h5
      --~ 对方之血
      h5 = Duel.GetLP(1)
      if h5 <= 0 then
        if h5 == 0 then
          Debug.ShowHint(h1)
        else
          Debug.ShowHint(h2)
          end
      else
        return false
        end
      end






    h3:SetCondition(h4)
    h3:SetOperation(aux.NULL)
    Duel.RegisterEffect(h3, 0)
    end
  end
function s.["是否效牌"](card)
  for i = 1, #s["效牌之类排"] do
    if Card.IsType(card, s["效牌之类排"][i]) then
      return true
      end







<
<
<
<
<
<

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







68
69
70
71
72
73
74






75
76
77
78
79
80
81
82
83
84
85


86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
  end
do
  local h1, h2
  --~ 原解邀请
  h1 = "残局群181175613"
  --~ 二解邀请,备用:圣魔术师
  h2 = "爆貘团:「你居然二解了,请加群告诉我怎么二解。」"






    --~ 通关之邀
  function s["_通关之邀"]()
    local h3
    --~ 对方之血
    h3 = Duel.GetLP(1)
    if h3 <= 0 then
      if h3 == 0 then
        Debug.ShowHint(h1)
      else
        Debug.ShowHint(h2)
        end


      end
    end
  function s["通关之邀"]()
    local h1, h2
    --~ 效果
    h1 = Effect.GlobalEffect()
    h1:SetType(EFFECT_TYPE_FIELD + EFFECT_TYPE_CONTINUOUS)
    h1:SetCode(EVENT_DAMAGE)
    h1:SetCondition(s["_通关之邀"])
    h1:SetOperation(aux.NULL)
    Duel.RegisterEffect(h1, 0)
    end
  end
function s.["是否效牌"](card)
  for i = 1, #s["效牌之类排"] do
    if Card.IsType(card, s["效牌之类排"][i]) then
      return true
      end