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
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
MyCard
ygopro-scripts
Commits
c48a98ca
Commit
c48a98ca
authored
Dec 02, 2016
by
DailyShana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
59e6c108
Changes
8
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
20 additions
and
23 deletions
+20
-23
c33541430.lua
c33541430.lua
+1
-2
c34496660.lua
c34496660.lua
+2
-3
c35618217.lua
c35618217.lua
+2
-2
c36730805.lua
c36730805.lua
+1
-1
c61884774.lua
c61884774.lua
+11
-11
c7279373.lua
c7279373.lua
+1
-1
c9336190.lua
c9336190.lua
+2
-2
c96157835.lua
c96157835.lua
+0
-1
No files found.
c33541430.lua
View file @
c48a98ca
...
...
@@ -56,8 +56,7 @@ function c33541430.drop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
ConfirmCards
(
1
-
tp
,
tc
)
Duel
.
BreakEffect
()
if
tc
:
IsType
(
TYPE_MONSTER
)
and
tc
:
IsSetCard
(
0xe6
)
then
if
tc
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
true
,
false
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
33541430
,
1
))
and
Duel
.
SpecialSummonStep
(
tc
,
0
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
then
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
...
...
c34496660.lua
View file @
c48a98ca
...
...
@@ -45,7 +45,7 @@ function c34496660.thcon(e,tp,eg,ep,ev,re,r,rp)
and
not
Duel
.
IsExistingMatchingCard
(
Card
.
IsType
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
,
TYPE_SPELL
+
TYPE_TRAP
)
end
function
c34496660
.
thfilter
(
c
)
return
(
c
:
IsSetCard
(
0x109a
)
or
c
:
IsCode
(
3064425
,
4786063
,
14624296
,
27756115
,
31181711
,
35800511
,
40028305
,
77679716
,
90361010
,
95500396
)
)
and
c
:
IsAbleToHand
()
return
c
:
IsSetCard
(
0x109a
)
and
c
:
IsAbleToHand
()
end
function
c34496660
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c34496660
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
...
...
@@ -53,8 +53,7 @@ function c34496660.thtg(e,tp,eg,ep,ev,re,r,rp,chk)
end
function
c34496660
.
thop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
or
c
:
IsPosition
(
POS_FACEUP_ATTACK
)
then
return
end
Duel
.
ChangePosition
(
c
,
POS_FACEUP_ATTACK
)
if
not
c
:
IsRelateToEffect
(
e
)
or
Duel
.
ChangePosition
(
c
,
POS_FACEUP_ATTACK
)
==
0
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c34496660
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
)
if
g
:
GetCount
()
>
0
then
...
...
c35618217.lua
View file @
c48a98ca
...
...
@@ -52,7 +52,7 @@ function c35618217.operation(e,tp,eg,ep,ev,re,r,rp)
c
:
RegisterEffect
(
e1
)
end
function
c35618217
.
thcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
bit
.
band
(
r
,
REASON_
RETURN
)
==
0
and
bit
.
band
(
r
,
REASON_
EFFECT
)
~=
0
return
bit
.
band
(
r
,
REASON_EFFECT
)
~=
0
end
function
c35618217
.
thfilter
(
c
)
return
c
:
IsCode
(
24094653
)
and
c
:
IsAbleToHand
()
...
...
@@ -66,7 +66,7 @@ function c35618217.thtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
end
function
c35618217
.
thop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
and
tc
:
IsRelateToEffect
(
e
)
then
if
tc
:
IsRelateToEffect
(
e
)
then
Duel
.
SendtoHand
(
tc
,
nil
,
REASON_EFFECT
)
end
end
...
...
c36730805.lua
View file @
c48a98ca
...
...
@@ -11,7 +11,7 @@ function c36730805.initial_effect(c)
c
:
RegisterEffect
(
e1
)
end
function
c36730805
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
Get
MatchingGroup
(
nil
,
tp
,
LOCATION_MZONE
,
0
,
nil
)
local
g
=
Duel
.
Get
FieldGroup
(
tp
,
LOCATION_MZONE
,
0
)
if
g
:
GetCount
()
~=
1
then
return
false
end
local
c
=
g
:
GetFirst
()
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_TUNER
)
...
...
c61884774.lua
View file @
c48a98ca
...
...
@@ -72,17 +72,17 @@ function c61884774.activate(e,tp,eg,ep,ev,re,r,rp)
tc2
:
RegisterFlagEffect
(
61884774
,
RESET_EVENT
+
0x1fe0000
+
RESET_PHASE
+
PHASE_END
+
RESET_OPPO_TURN
,
0
,
1
,
fid
)
local
sg
=
Group
.
FromCards
(
tc1
,
tc2
)
sg
:
KeepAlive
()
local
d
e1
=
Effect
.
CreateEffect
(
c
)
d
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
d
e1
:
SetProperty
(
EFFECT_FLAG_IGNORE_IMMUNE
)
d
e1
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
d
e1
:
SetCountLimit
(
1
)
d
e1
:
SetLabel
(
fid
)
d
e1
:
SetLabelObject
(
sg
)
d
e1
:
SetCondition
(
c61884774
.
descon
)
d
e1
:
SetOperation
(
c61884774
.
desop
)
d
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
+
RESET_OPPO_TURN
)
Duel
.
RegisterEffect
(
d
e1
,
tp
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetProperty
(
EFFECT_FLAG_IGNORE_IMMUNE
)
e1
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
e1
:
SetCountLimit
(
1
)
e1
:
SetLabel
(
fid
)
e1
:
SetLabelObject
(
sg
)
e1
:
SetCondition
(
c61884774
.
descon
)
e1
:
SetOperation
(
c61884774
.
desop
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
+
RESET_OPPO_TURN
)
Duel
.
RegisterEffect
(
e1
,
tp
)
end
end
function
c61884774
.
splimit
(
e
,
c
)
...
...
c7279373.lua
View file @
c48a98ca
...
...
@@ -77,5 +77,5 @@ function c7279373.ftarget(e,c)
return
e
:
GetLabel
()
~=
c
:
GetFieldID
()
end
function
c7279373
.
indcon
(
e
)
return
Duel
.
GetTurnPlayer
()
==
e
:
GetHandler
():
GetControl
er
()
return
Duel
.
GetTurnPlayer
()
==
e
:
GetHandler
Play
er
()
end
c9336190.lua
View file @
c48a98ca
...
...
@@ -34,7 +34,7 @@ function c9336190.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
end
function
c9336190
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
and
tc
:
IsRelateToEffect
(
e
)
then
if
tc
:
IsRelateToEffect
(
e
)
then
Duel
.
SendtoHand
(
tc
,
nil
,
REASON_EFFECT
)
Duel
.
ConfirmCards
(
1
-
tp
,
tc
)
end
...
...
@@ -55,7 +55,7 @@ function c9336190.sptg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
Duel
.
SelectTarget
(
tp
,
c9336190
.
spfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
,
e
,
tp
)
g
:
AddCard
(
e
:
GetHandler
())
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
g
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
g
,
2
,
0
,
0
)
end
function
c9336190
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
...
...
c96157835.lua
View file @
c48a98ca
...
...
@@ -80,7 +80,6 @@ function c96157835.spop2(e,tp,eg,ep,ev,re,r,rp)
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
local
c
=
e
:
GetHandler
()
if
c
:
IsRelateToEffect
(
e
)
then
c
:
CancelToGrave
()
Duel
.
Overlay
(
tc
,
Group
.
FromCards
(
c
))
end
end
...
...
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