Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-scripts-888
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Vee4
ygopro-scripts-888
Commits
4303fa90
Commit
4303fa90
authored
Feb 19, 2022
by
Chrono-Genex
Committed by
GitHub
Feb 19, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix (#1815)
parent
bd7469ed
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
20 additions
and
0 deletions
+20
-0
c23471572.lua
c23471572.lua
+4
-0
c33393090.lua
c33393090.lua
+4
-0
c35316708.lua
c35316708.lua
+4
-0
c55870497.lua
c55870497.lua
+4
-0
c57069605.lua
c57069605.lua
+4
-0
No files found.
c23471572.lua
View file @
4303fa90
...
@@ -5,9 +5,13 @@ function c23471572.initial_effect(c)
...
@@ -5,9 +5,13 @@ function c23471572.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetHintTiming
(
0
,
TIMING_END_PHASE
)
e1
:
SetHintTiming
(
0
,
TIMING_END_PHASE
)
e1
:
SetTarget
(
c23471572
.
target
)
e1
:
SetOperation
(
c23471572
.
activate
)
e1
:
SetOperation
(
c23471572
.
activate
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
function
c23471572
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
not
Duel
.
IsPlayerAffectedByEffect
(
tp
,
EFFECT_SKIP_SP
)
end
end
function
c23471572
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c23471572
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
...
...
c33393090.lua
View file @
4303fa90
...
@@ -11,6 +11,7 @@ function c33393090.initial_effect(c)
...
@@ -11,6 +11,7 @@ function c33393090.initial_effect(c)
e1
:
SetCountLimit
(
1
,
33393090
+
EFFECT_COUNT_CODE_DUEL
)
e1
:
SetCountLimit
(
1
,
33393090
+
EFFECT_COUNT_CODE_DUEL
)
e1
:
SetCost
(
c33393090
.
cost
)
e1
:
SetCost
(
c33393090
.
cost
)
e1
:
SetCondition
(
c33393090
.
condition
)
e1
:
SetCondition
(
c33393090
.
condition
)
e1
:
SetTarget
(
c33393090
.
target
)
e1
:
SetOperation
(
c33393090
.
activate
)
e1
:
SetOperation
(
c33393090
.
activate
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
local
e2
=
e1
:
Clone
()
local
e2
=
e1
:
Clone
()
...
@@ -45,6 +46,9 @@ end
...
@@ -45,6 +46,9 @@ end
function
c33393090
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c33393090
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
eg
:
GetCount
()
==
1
and
eg
:
IsContains
(
e
:
GetHandler
())
return
eg
:
GetCount
()
==
1
and
eg
:
IsContains
(
e
:
GetHandler
())
end
end
function
c33393090
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
not
Duel
.
IsPlayerAffectedByEffect
(
1
-
tp
,
EFFECT_SKIP_DP
)
end
end
function
c33393090
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c33393090
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
...
...
c35316708.lua
View file @
4303fa90
...
@@ -5,9 +5,13 @@ function c35316708.initial_effect(c)
...
@@ -5,9 +5,13 @@ function c35316708.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetHintTiming
(
0
,
TIMING_END_PHASE
)
e1
:
SetHintTiming
(
0
,
TIMING_END_PHASE
)
e1
:
SetTarget
(
c35316708
.
target
)
e1
:
SetOperation
(
c35316708
.
activate
)
e1
:
SetOperation
(
c35316708
.
activate
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
function
c35316708
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
not
Duel
.
IsPlayerAffectedByEffect
(
1
-
tp
,
EFFECT_SKIP_DP
)
end
end
function
c35316708
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c35316708
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
...
...
c55870497.lua
View file @
4303fa90
...
@@ -13,6 +13,7 @@ function c55870497.initial_effect(c)
...
@@ -13,6 +13,7 @@ function c55870497.initial_effect(c)
e3
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e3
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e3
:
SetRange
(
LOCATION_SZONE
)
e3
:
SetRange
(
LOCATION_SZONE
)
e3
:
SetCondition
(
c55870497
.
skipcon
)
e3
:
SetCondition
(
c55870497
.
skipcon
)
e3
:
SetTarget
(
c55870497
.
skiptg
)
e3
:
SetOperation
(
c55870497
.
skipop
)
e3
:
SetOperation
(
c55870497
.
skipop
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
end
end
...
@@ -20,6 +21,9 @@ function c55870497.skipcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -20,6 +21,9 @@ function c55870497.skipcon(e,tp,eg,ep,ev,re,r,rp)
return
rp
==
tp
and
re
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
return
rp
==
tp
and
re
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
and
re
:
GetHandler
():
IsSetCard
(
0x60
)
and
re
:
GetHandler
():
IsSetCard
(
0x60
)
end
end
function
c55870497
.
skiptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
not
Duel
.
IsPlayerAffectedByEffect
(
1
-
tp
,
EFFECT_SKIP_M1
)
end
end
function
c55870497
.
skipop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c55870497
.
skipop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
...
...
c57069605.lua
View file @
4303fa90
...
@@ -6,12 +6,16 @@ function c57069605.initial_effect(c)
...
@@ -6,12 +6,16 @@ function c57069605.initial_effect(c)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetHintTiming
(
0
,
TIMING_MAIN_END
)
e1
:
SetHintTiming
(
0
,
TIMING_MAIN_END
)
e1
:
SetCondition
(
c57069605
.
condition
)
e1
:
SetCondition
(
c57069605
.
condition
)
e1
:
SetTarget
(
c57069605
.
target
)
e1
:
SetOperation
(
c57069605
.
activate
)
e1
:
SetOperation
(
c57069605
.
activate
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
function
c57069605
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c57069605
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetLP
(
tp
)
+
2000
<=
Duel
.
GetLP
(
1
-
tp
)
return
Duel
.
GetLP
(
tp
)
+
2000
<=
Duel
.
GetLP
(
1
-
tp
)
end
end
function
c57069605
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
not
Duel
.
IsPlayerAffectedByEffect
(
1
-
tp
,
EFFECT_SKIP_BP
)
end
end
function
c57069605
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c57069605
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment