游戏王残局简化版

Check-in [e3c8856c97]
Login

Check-in [e3c8856c97]

Overview
Comment:0.0.151
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: e3c8856c971127247eefa052b168f3ed82bb191152dbb054930c4a86103d4f97
User & Date: 顽雨沉风 on 2023-06-05 03:08:30
Other Links: manifest | tags
Context
2023-06-05
03:11
0.0.152 check-in: bff57a9ea3 user: 顽雨沉风 tags: trunk
03:08
0.0.151 check-in: e3c8856c97 user: 顽雨沉风 tags: trunk
2023-06-04
09:18
0.0.150 check-in: 8115b6e1e5 user: 顽雨沉风 tags: trunk
Changes

Added Dragonmaids vs Dragons_衍生-1.lua version [c660073d90].







































































































































































>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
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
--[[message
卡数:
规则:大师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,24700,0,0)

Debug.AddCard(40110009,0,0,LOCATION_DECK,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,2,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(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
    + EFFECT_TYPE_CONTINUOUS)
  e100:SetCode(EVENT_DAMAGE)
  function cache1(e
    , tp
    , eg
    , ep
    , ev
    , re
    , r
    , rp)
    cache1=Duel.GetLP(1)
    return cache1<=0
    end
  e100:SetCondition(cache1)
  function cache1(e
    , tp
    , eg
    , ep
    , ev
    , re
    , r
    , rp)
    Debug.ShowHint("残局群181175613")
    return
    end
  e100:SetOperation(cache1)
  Duel.RegisterEffect(e100
    , 0)
  end


fun["通关邀请"]()