Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro
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-520DIY
ygopro
Commits
eb27e8d0
Commit
eb27e8d0
authored
Sep 08, 2013
by
Fluorohydride
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #608 from salix5/patch
revert for some cards
parents
1f5a7407
30584fbc
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
34 additions
and
46 deletions
+34
-46
script/c34471458.lua
script/c34471458.lua
+1
-1
script/c47297616.lua
script/c47297616.lua
+1
-0
script/c54704216.lua
script/c54704216.lua
+0
-7
script/c73414375.lua
script/c73414375.lua
+32
-38
No files found.
script/c34471458.lua
View file @
eb27e8d0
...
...
@@ -53,7 +53,7 @@ end
function
c34471458
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
return
c
:
IsReason
(
REASON_EFFECT
)
and
not
c
:
IsLocation
(
LOCATION_DECK
)
and
(
c
:
IsPreviousPosition
(
POS_FACEUP
)
or
c
:
IsLocation
(
LOCATION_HAND
)
)
and
c
:
IsPreviousPosition
(
POS_FACEUP
)
end
function
c34471458
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x31
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0x8
,
tp
,
false
,
false
)
...
...
script/c47297616.lua
View file @
eb27e8d0
...
...
@@ -91,6 +91,7 @@ function c47297616.opspsum(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Destroy
(
dg
,
REASON_EFFECT
)
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
and
tc
:
IsRelateToEffect
(
e
)
then
Duel
.
BreakEffect
()
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
end
script/c54704216.lua
View file @
eb27e8d0
...
...
@@ -56,13 +56,6 @@ function c54704216.operation(e,tp,eg,ep,ev,re,r,rp)
local
e2
=
e1
:
Clone
()
e2
:
SetCode
(
EFFECT_CANNOT_CHANGE_POSITION
)
tc
:
RegisterEffect
(
e2
,
true
)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
)
e3
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e3
:
SetCode
(
EFFECT_CANNOT_FLIP_SUMMON
)
e3
:
SetReset
(
RESET_EVENT
+
0x1fc0000
)
e3
:
SetCondition
(
c54704216
.
rcon
)
tc
:
RegisterEffect
(
e3
)
end
end
function
c54704216
.
rcon
(
e
)
...
...
script/c73414375.lua
View file @
eb27e8d0
--ディメンション·ポッド
function
c73414375
.
initial_effect
(
c
)
--flip
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
73414375
,
0
))
e1
:
SetCategory
(
CATEGORY_REMOVE
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_FLIP
)
e1
:
SetTarget
(
c73414375
.
target
)
e1
:
SetOperation
(
c73414375
.
operation
)
c
:
RegisterEffect
(
e1
)
end
function
c73414375
.
filter
(
c
)
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToRemove
()
end
function
c73414375
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
false
end
if
chk
==
0
then
return
true
end
local
g
=
Group
.
CreateGroup
()
if
Duel
.
IsExistingTarget
(
c73414375
.
filter
,
tp
,
0
,
LOCATION_GRAVE
,
1
,
nil
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
73414375
,
1
))
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
local
rg
=
Duel
.
SelectTarget
(
tp
,
c73414375
.
filter
,
tp
,
0
,
LOCATION_GRAVE
,
1
,
3
,
nil
)
g
:
Merge
(
rg
)
end
if
Duel
.
IsExistingTarget
(
c73414375
.
filter
,
1
-
tp
,
0
,
LOCATION_GRAVE
,
1
,
nil
)
and
Duel
.
SelectYesNo
(
1
-
tp
,
aux
.
Stringid
(
73414375
,
1
))
then
Duel
.
Hint
(
HINT_SELECTMSG
,
1
-
tp
,
HINTMSG_REMOVE
)
local
rg
=
Duel
.
SelectTarget
(
1
-
tp
,
c73414375
.
filter
,
1
-
tp
,
0
,
LOCATION_GRAVE
,
1
,
3
,
nil
)
if
rg
then
g
:
Merge
(
rg
)
end
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_REMOVE
,
g
,
g
:
GetCount
(),
0
,
0
)
end
function
c73414375
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_CARDS
):
Filter
(
Card
.
IsRelateToEffect
,
nil
,
e
)
Duel
.
Remove
(
g
,
POS_FACEUP
,
REASON_EFFECT
)
end
--ディメンション·ポッド
function
c73414375
.
initial_effect
(
c
)
--flip
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
73414375
,
0
))
e1
:
SetCategory
(
CATEGORY_REMOVE
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_FLIP
)
e1
:
SetTarget
(
c73414375
.
target
)
e1
:
SetOperation
(
c73414375
.
operation
)
c
:
RegisterEffect
(
e1
)
end
function
c73414375
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
false
end
if
chk
==
0
then
return
true
end
local
g
=
Group
.
CreateGroup
()
if
Duel
.
IsExistingTarget
(
Card
.
IsAbleToRemove
,
tp
,
0
,
LOCATION_GRAVE
,
1
,
nil
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
73414375
,
1
))
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
local
rg
=
Duel
.
SelectTarget
(
tp
,
Card
.
IsAbleToRemove
,
tp
,
0
,
LOCATION_GRAVE
,
1
,
3
,
nil
)
g
:
Merge
(
rg
)
end
if
Duel
.
IsExistingTarget
(
Card
.
IsAbleToRemove
,
1
-
tp
,
0
,
LOCATION_GRAVE
,
1
,
nil
)
and
Duel
.
SelectYesNo
(
1
-
tp
,
aux
.
Stringid
(
73414375
,
1
))
then
Duel
.
Hint
(
HINT_SELECTMSG
,
1
-
tp
,
HINTMSG_REMOVE
)
local
rg
=
Duel
.
SelectTarget
(
1
-
tp
,
Card
.
IsAbleToRemove
,
1
-
tp
,
0
,
LOCATION_GRAVE
,
1
,
3
,
nil
)
g
:
Merge
(
rg
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_REMOVE
,
g
,
g
:
GetCount
(),
0
,
0
)
end
function
c73414375
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_CARDS
):
Filter
(
Card
.
IsRelateToEffect
,
nil
,
e
)
Duel
.
Remove
(
g
,
POS_FACEUP
,
REASON_EFFECT
)
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