游戏王残局简化版

Diff
Login

Diff

Differences From Artifact [088a4bb084]:

To Artifact [b66880703f]:


1
2
3
4
5
6




7
8
9
10
11
12
13
1


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

-
-



+
+
+
+







--[[message
卡数:27
规则:大师2020
This Puzzle is made by 闪光的白日梦 and optimized by Eroldin.
]]

--~ 必须位于残局文件顶部
--~ 加载残局函数库
Debug.AddCard(0,0,0,LOCATION_MZONE,-1,POS_FACEUP)

Debug.SetAIName("闪光的白日梦")
Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN+DUEL_SIMPLE_AI,5)
Debug.SetPlayerInfo(0,1100,0,0)
Debug.SetPlayerInfo(1,12900,0,0)

Debug.AddCard(40110009,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
Debug.AddCard(78625592,1,1,LOCATION_GRAVE,0,POS_FACEUP_ATTACK)
37
38
39
40
41
42
43
44

45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
39
40
41
42
43
44
45

46




















































-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Debug.AddCard(99267151,1,1,LOCATION_MZONE,2,POS_FACEUP_ATTACK)
Debug.AddCard(99267151,1,1,LOCATION_MZONE,3,POS_FACEUP_ATTACK)
Debug.AddCard(77910045,1,1,LOCATION_SZONE,4,POS_FACEUP_ATTACK)
Debug.AddCard(10669138,1,1,LOCATION_MZONE,6,POS_FACEUP_ATTACK)
Debug.ReloadFieldEnd()
aux.BeginPuzzle()


fun["开局说明"]()

local str = {}
local fun = {}

local cache1

fun["通关邀请"]=function()
  local effect_100
  effect_100 = Effect.GlobalEffect()
  effect_100:SetType(EFFECT_TYPE_FIELD
    + EFFECT_TYPE_CONTINUOUS)
  effect_100:SetCode(EVENT_DAMAGE)
  function cache_1(effect_event
    , player_who_activate_the_effect
    , card_gruop_for_effect
    , player_for_effect_event
    , value_for_effect
    , effect_for_trigger
    , reason_for_trigger
    , player_who_trigger)

    cache_1 = Duel.GetLP(1)

    return cache_1 <= 0
    end
  effect_100:SetCondition(cache_1)
  function cache_1(effect_event
    , player_who_activate_the_effect
    , card_gruop_for_effect
    , player_for_effect_event
    , value_for_effect
    , effect_for_trigger
    , reason_for_trigger
    , player_who_trigger)
    Debug.ShowHint("残局群181175613")
    return
    end
  effect_100:SetOperation(cache_1)
  Duel.RegisterEffect(effect_100
    , 0)
  end


fun["通关邀请"]()