Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-scripts
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
八宫一月
ygopro-scripts
Commits
fc320357
Commit
fc320357
authored
May 16, 2016
by
VanillaSalt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
a2e266ea
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
7 additions
and
9 deletions
+7
-9
c16024176.lua
c16024176.lua
+1
-2
c16802689.lua
c16802689.lua
+1
-2
c43413875.lua
c43413875.lua
+1
-2
c72621670.lua
c72621670.lua
+3
-1
c89818984.lua
c89818984.lua
+1
-2
No files found.
c16024176.lua
View file @
fc320357
...
...
@@ -15,7 +15,6 @@ function c16024176.initial_effect(c)
e2
:
SetDescription
(
aux
.
Stringid
(
16024176
,
0
))
e2
:
SetCategory
(
CATEGORY_DRAW
+
CATEGORY_SPECIAL_SUMMON
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_F
)
e2
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e2
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e2
:
SetTarget
(
c16024176
.
target
)
e2
:
SetOperation
(
c16024176
.
operation
)
...
...
@@ -45,7 +44,7 @@ function c16024176.hspop(e,tp,eg,ep,ev,re,r,rp,c)
Duel
.
Release
(
g
,
REASON_COST
)
end
function
c16024176
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsPlayerCanDraw
(
tp
,
1
)
end
if
chk
==
0
then
return
true
end
Duel
.
SetTargetPlayer
(
tp
)
Duel
.
SetTargetParam
(
1
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DRAW
,
nil
,
0
,
tp
,
1
)
...
...
c16802689.lua
View file @
fc320357
...
...
@@ -15,7 +15,6 @@ function c16802689.initial_effect(c)
e2
:
SetDescription
(
aux
.
Stringid
(
16802689
,
0
))
e2
:
SetCategory
(
CATEGORY_DRAW
+
CATEGORY_SPECIAL_SUMMON
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_F
)
e2
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e2
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e2
:
SetTarget
(
c16802689
.
target
)
e2
:
SetOperation
(
c16802689
.
operation
)
...
...
@@ -44,7 +43,7 @@ function c16802689.hspop(e,tp,eg,ep,ev,re,r,rp,c)
Duel
.
Release
(
g
,
REASON_COST
)
end
function
c16802689
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsPlayerCanDraw
(
tp
,
1
)
end
if
chk
==
0
then
return
true
end
Duel
.
SetTargetPlayer
(
tp
)
Duel
.
SetTargetParam
(
1
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DRAW
,
nil
,
0
,
tp
,
1
)
...
...
c43413875.lua
View file @
fc320357
...
...
@@ -15,7 +15,6 @@ function c43413875.initial_effect(c)
e2
:
SetDescription
(
aux
.
Stringid
(
43413875
,
0
))
e2
:
SetCategory
(
CATEGORY_DRAW
+
CATEGORY_SPECIAL_SUMMON
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_F
)
e2
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e2
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e2
:
SetTarget
(
c43413875
.
target
)
e2
:
SetOperation
(
c43413875
.
operation
)
...
...
@@ -44,7 +43,7 @@ function c43413875.hspop(e,tp,eg,ep,ev,re,r,rp,c)
Duel
.
Release
(
g
,
REASON_COST
)
end
function
c43413875
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsPlayerCanDraw
(
tp
,
1
)
end
if
chk
==
0
then
return
true
end
Duel
.
SetTargetPlayer
(
tp
)
Duel
.
SetTargetParam
(
1
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DRAW
,
nil
,
0
,
tp
,
1
)
...
...
c72621670.lua
View file @
fc320357
...
...
@@ -33,5 +33,7 @@ end
function
c72621670
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_CARDS
):
Filter
(
c72621670
.
tfilter
,
nil
,
e
)
if
g
:
GetCount
()
<
2
then
return
end
Duel
.
GetControl
(
g
,
tp
,
PHASE_END
+
RESET_SELF_TURN
,
1
)
local
rct
=
1
if
Duel
.
GetTurnPlayer
()
~=
tp
then
rct
=
2
end
Duel
.
GetControl
(
g
,
tp
,
PHASE_END
,
rct
)
end
c89818984.lua
View file @
fc320357
...
...
@@ -15,7 +15,6 @@ function c89818984.initial_effect(c)
e2
:
SetDescription
(
aux
.
Stringid
(
89818984
,
0
))
e2
:
SetCategory
(
CATEGORY_DRAW
+
CATEGORY_SPECIAL_SUMMON
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_F
)
e2
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e2
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e2
:
SetTarget
(
c89818984
.
target
)
e2
:
SetOperation
(
c89818984
.
operation
)
...
...
@@ -42,7 +41,7 @@ function c89818984.hspop(e,tp,eg,ep,ev,re,r,rp,c)
Duel
.
Release
(
g
,
REASON_COST
)
end
function
c89818984
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsPlayerCanDraw
(
tp
,
1
)
end
if
chk
==
0
then
return
true
end
Duel
.
SetTargetPlayer
(
tp
)
Duel
.
SetTargetParam
(
1
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DRAW
,
nil
,
0
,
tp
,
1
)
...
...
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