游戏王残局简化版

Diff
Login

Diff

Differences From Artifact [cdecefb7a0]:

To Artifact [38f31324fd]:


1
2
3
4
5
6
7
8
9
10
11
12
13
14

15
16
17
18
19
20




21
22
23
24
25
26
27
1
2
3
4
5
6
7
8
9
10
11
12
13

14
15
16




17
18
19
20
21
22
23
24
25
26
27













-
+


-
-
-
-
+
+
+
+







--[[message
1850
]]
Debug.SetAIName("X-LV-43")
Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN + DUEL_SIMPLE_AI + DUEL_PSEUDO_SHUFFLE, 4)
Debug.SetPlayerInfo(0, 2000, 0, 0)
Debug.SetPlayerInfo(1, 13600, 0, 0)

local e0 = Effect.GlobalEffect()
e0:SetType(EFFECT_TYPE_FIELD + EFFECT_TYPE_CONTINUOUS)
e0:SetCode(EVENT_ADJUST)
e0:SetCountLimit(1)
e0:SetCondition(function(e, tp, eg, ep, ev, re, r, rp)
	return Duel.GetLP(0) > 0
  return Duel.GetLP(0) > 0
end)
e0:SetOperation(function(e, tp, eg, ep, ev, re, r, rp)
	local g = Duel.SelectMatchingCard(tp, Card.IsAbleToHand, tp, LOCATION_DECK, 0, 5, 5, nil)
	if g:GetCount() > 0 then
		Duel.SendtoHand(g, nil, REASON_RULE)
	end
  local g = Duel.SelectMatchingCard(tp, Card.IsAbleToHand, tp, LOCATION_DECK, 0, 5, 5, nil)
  if g:GetCount() > 0 then
    Duel.SendtoHand(g, nil, REASON_RULE)
  end
end)
Duel.RegisterEffect(e0, 0)

--自己的怪兽区
--对方的怪兽区
Debug.AddCard(95788410, 1, 1, LOCATION_MZONE, 0, POS_FACEUP_ATTACK) --兔龙
Debug.AddCard(38955728, 1, 1, LOCATION_MZONE, 4, POS_FACEUP_ATTACK) --龙核的咒灵者