游戏王残局简化版

Check-in [1b21a5888e]
Login

Check-in [1b21a5888e]

Overview
Comment:0.0.169
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 1b21a5888e431bf2e598e3317bda81e484d95f869885d2aff5e3f4170f83cc14
User & Date: 顽雨沉风 on 2023-06-05 08:22:23
Other Links: manifest | tags
Context
2023-06-05
08:32
0.0.170 check-in: 89ec992ba7 user: 顽雨沉风 tags: trunk
08:22
0.0.169 check-in: 1b21a5888e user: 顽雨沉风 tags: trunk
08:10
0.0.168 check-in: 56ae9cbeec user: 顽雨沉风 tags: trunk
Changes

Modified Dragonmaids vs Dragons_衍生-2.lua from [13d9b74c2b] to [7ff7661d04].

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
28
29
30
31
32
33
34

35
36
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
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
28
29
30
31
32
33
34
35
36
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

-
+







-
+















-
+








+















-
-
-
+
+
+

-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+

-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
-



-
-
+
+






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

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

Debug.AddCard(40110009,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
Debug.AddCard(78625592,1,1,LOCATION_GRAVE,0,POS_FACEUP_ATTACK)
Debug.AddCard(42055234,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
Debug.AddCard(49575521,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
Debug.AddCard(32600024,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
Debug.AddCard(15848542,0,0,LOCATION_GRAVE,0,POS_FACEUP_ATTACK)
Debug.AddCard(24799107,0,0,LOCATION_EXTRA,0,POS_FACEDOWN_ATTACK)
Debug.AddCard(41232647,0,0,LOCATION_EXTRA,0,POS_FACEDOWN_ATTACK)
Debug.AddCard(14625090,0,0,LOCATION_SZONE,0,POS_FACEUP_ATTACK)
Debug.AddCard(62256492,0,0,LOCATION_SZONE,1,POS_FACEUP_ATTACK)
Debug.AddCard(62256492,0,0,LOCATION_SZONE,2,POS_FACEUP_ATTACK)
Debug.AddCard(77515704,0,0,LOCATION_SZONE,3,POS_FACEUP_ATTACK)
Debug.AddCard(56051086,0,0,LOCATION_MZONE,3,POS_FACEUP_ATTACK)
Debug.AddCard(40398073,0,0,LOCATION_HAND,0,POS_FACEUP_ATTACK)
Debug.AddCard(69196160,0,0,LOCATION_HAND,0,POS_FACEUP_ATTACK)
--~ Debug.AddCard(69196160,0,0,LOCATION_HAND,0,POS_FACEUP_ATTACK)
Debug.AddCard(76782778,0,0,LOCATION_HAND,3,POS_FACEUP_ATTACK)
Debug.AddCard(13171876,0,0,LOCATION_HAND,4,POS_FACEUP_ATTACK)
Debug.AddCard(80161395,0,0,LOCATION_HAND,5,POS_FACEUP_ATTACK)
Debug.AddCard(44095762,1,1,LOCATION_SZONE,0,POS_FACEDOWN_ATTACK)
Debug.AddCard(99267151,1,1,LOCATION_MZONE,1,POS_FACEUP_ATTACK)
Debug.AddCard(86780027,1,1,LOCATION_SZONE,1,POS_FACEUP_ATTACK)

Debug.AddCard(50913601,1,1,LOCATION_SZONE,5,POS_FACEUP_ATTACK)
Debug.AddCard(50913601,0,0,LOCATION_SZONE,5,POS_FACEUP_ATTACK)
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()



local str = {}
local fun = {}

local cache1

fun["通关邀请"]=function()
  local e100
  e100=Effect.GlobalEffect()
  e100:SetType(EFFECT_TYPE_FIELD
  local effect_100
  effect_100 = Effect.GlobalEffect()
  effect_100:SetType(EFFECT_TYPE_FIELD
    + EFFECT_TYPE_CONTINUOUS)
  e100:SetCode(EVENT_DAMAGE)
  function cache1(e
    , tp
    , eg
    , ep
    , ev
    , re
    , r
    , rp)
    cache1=Duel.GetLP(1)
    return cache1<=0
  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
  e100:SetCondition(cache1)
  function cache1(e
    , tp
    , eg
    , ep
    , ev
    , re
    , r
  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)
    , rp)
    Debug.ShowHint("残局群181175613")
    return
    end
  e100:SetOperation(cache1)
  Duel.RegisterEffect(e100
  effect_100:SetOperation(cache_1)
  Duel.RegisterEffect(effect_100
    , 0)
  end


fun["通关邀请"]()