游戏王残局简化版

Check-in [87070df034]
Login

Check-in [87070df034]

Overview
Comment:0.0.183
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 87070df03408fb35935ff64550011b6a44a4f98dae5af5dfb18327cd79a86b22
User & Date: 顽雨沉风 on 2023-06-08 08:40:15
Other Links: manifest | tags
Context
2023-06-09
01:27
0.0.184 check-in: 012f9b8092 user: 顽雨沉风 tags: trunk
2023-06-08
08:40
0.0.183 check-in: 87070df034 user: 顽雨沉风 tags: trunk
2023-06-06
08:10
0.0.182 check-in: 9ba2f44749 user: 顽雨沉风 tags: trunk
Changes

Modified base-2_衍生-1.lua from [1f900b22be] to [81579206fc].

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





--[[message
卡数:11
规则:大师3
]]
--created by ygopro puzzle maker
Debug.SetAIName("base-2")
Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN+DUEL_SIMPLE_AI+DUEL_PSEUDO_SHUFFLE,3)
Debug.SetPlayerInfo(0,3000,0,0)
Debug.SetPlayerInfo(1,9700,0,0)
Debug.AddCard(78835747,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
Debug.AddCard(78835747,0,0,LOCATION_MZONE,0,POS_FACEUP_ATTACK)
Debug.AddCard(73130445,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
Debug.AddCard(15978426,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
Debug.AddCard(23693634,0,0,LOCATION_EXTRA,0,POS_FACEDOWN_ATTACK)
Debug.AddCard(71645242,0,0,LOCATION_SZONE,5,POS_FACEUP_ATTACK)
Debug.AddCard(64034255,0,0,LOCATION_HAND,0,POS_FACEUP_ATTACK)
Debug.AddCard(17330916,0,0,LOCATION_HAND,2,POS_FACEUP_ATTACK)
Debug.AddCard(19508728,0,0,LOCATION_HAND,3,POS_FACEUP_ATTACK)
Debug.AddCard(40318957,0,0,LOCATION_HAND,4,POS_FACEUP_ATTACK)
Debug.AddCard(69211541,0,0,LOCATION_HAND,5,POS_FACEUP_ATTACK)
Debug.ReloadFieldEnd()
aux.BeginPuzzle()








local e999=Effect.GlobalEffect()

e999:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e999:SetCode(EVENT_DAMAGE)








e999:SetCondition(function(e,tp,eg,ep,ev,re,r,rp) return Duel.GetLP(1)<=0 end)

e999:SetOperation(function(e,tp,eg,ep,ev,re,r,rp)











Debug.ShowHint("残局群181175613") end)



Duel.RegisterEffect(e999,0)









|


















>
>
>
>
>
>
>
|
>
|
|
>
>
>
>
>
>
>
>
|
>
|
>
>
>
>
>
>
>
>
>
>
>
|
>
>
>
|
>
>
>
>
>
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
--[[message
卡数:11
规则:大师3
]]

Debug.SetAIName("base-2")
Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN+DUEL_SIMPLE_AI+DUEL_PSEUDO_SHUFFLE,3)
Debug.SetPlayerInfo(0,3000,0,0)
Debug.SetPlayerInfo(1,9700,0,0)
Debug.AddCard(78835747,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
Debug.AddCard(78835747,0,0,LOCATION_MZONE,0,POS_FACEUP_ATTACK)
Debug.AddCard(73130445,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
Debug.AddCard(15978426,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
Debug.AddCard(23693634,0,0,LOCATION_EXTRA,0,POS_FACEDOWN_ATTACK)
Debug.AddCard(71645242,0,0,LOCATION_SZONE,5,POS_FACEUP_ATTACK)
Debug.AddCard(64034255,0,0,LOCATION_HAND,0,POS_FACEUP_ATTACK)
Debug.AddCard(17330916,0,0,LOCATION_HAND,2,POS_FACEUP_ATTACK)
Debug.AddCard(19508728,0,0,LOCATION_HAND,3,POS_FACEUP_ATTACK)
Debug.AddCard(40318957,0,0,LOCATION_HAND,4,POS_FACEUP_ATTACK)
Debug.AddCard(69211541,0,0,LOCATION_HAND,5,POS_FACEUP_ATTACK)
Debug.ReloadFieldEnd()
aux.BeginPuzzle()

local str = {}
local fun = {}

local cache_1

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_for_activate_the_effect
    , card_gruop_for_effect
    , player_for_effect_event
    , value_for_effect
    , effect_for_trigger
    , reason_for_trigger
    , player_for_trigger)

    cache_1 = Duel.GetLP(1)

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

fun["通关邀请"]()