Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-222DIY-cards
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
Ai
ygopro-222DIY-cards
Commits
4263a69e
Commit
4263a69e
authored
Jan 09, 2020
by
TanakaKotoha
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
f40d4d44
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
5 additions
and
13 deletions
+5
-13
expansions/script/c46270000.lua
expansions/script/c46270000.lua
+1
-3
expansions/script/c46270001.lua
expansions/script/c46270001.lua
+1
-3
expansions/script/c46270002.lua
expansions/script/c46270002.lua
+1
-3
expansions/script/c46270003.lua
expansions/script/c46270003.lua
+1
-3
expansions/script/c81021014.lua
expansions/script/c81021014.lua
+1
-1
No files found.
expansions/script/c46270000.lua
View file @
4263a69e
...
@@ -73,9 +73,7 @@ function c46270000.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -73,9 +73,7 @@ function c46270000.activate(e,tp,eg,ep,ev,re,r,rp)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
or
not
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
46270000
,
0xfc1
,
0x21
,
1500
,
1000
,
4
,
RACE_ZOMBIE
,
ATTRIBUTE_DARK
)
then
return
end
or
not
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
46270000
,
0xfc1
,
0x21
,
1500
,
1000
,
4
,
RACE_ZOMBIE
,
ATTRIBUTE_DARK
)
then
return
end
c
:
AddMonsterAttribute
(
TYPE_EFFECT
+
TYPE_TRAP
)
c
:
AddMonsterAttribute
(
TYPE_EFFECT
+
TYPE_TRAP
)
Duel
.
SpecialSummonStep
(
c
,
1
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
c
,
1
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
c
:
AddMonsterAttributeComplete
()
Duel
.
SpecialSummonComplete
()
end
end
function
c46270000
.
indcon
(
e
)
function
c46270000
.
indcon
(
e
)
return
Duel
.
GetFieldGroup
(
e
:
GetHandlerPlayer
(),
LOCATION_GRAVE
,
0
):
FilterCount
(
Card
.
IsType
,
nil
,
TYPE_MONSTER
)
==
0
return
Duel
.
GetFieldGroup
(
e
:
GetHandlerPlayer
(),
LOCATION_GRAVE
,
0
):
FilterCount
(
Card
.
IsType
,
nil
,
TYPE_MONSTER
)
==
0
...
...
expansions/script/c46270001.lua
View file @
4263a69e
...
@@ -54,9 +54,7 @@ function c46270001.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -54,9 +54,7 @@ function c46270001.activate(e,tp,eg,ep,ev,re,r,rp)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
or
not
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
46270001
,
0xfc1
,
0x21
,
1500
,
1000
,
4
,
RACE_ZOMBIE
,
ATTRIBUTE_DARK
)
then
return
end
or
not
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
46270001
,
0xfc1
,
0x21
,
1500
,
1000
,
4
,
RACE_ZOMBIE
,
ATTRIBUTE_DARK
)
then
return
end
c
:
AddMonsterAttribute
(
TYPE_EFFECT
+
TYPE_TRAP
)
c
:
AddMonsterAttribute
(
TYPE_EFFECT
+
TYPE_TRAP
)
Duel
.
SpecialSummonStep
(
c
,
1
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
c
,
1
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
c
:
AddMonsterAttributeComplete
()
Duel
.
SpecialSummonComplete
()
end
end
function
c46270001
.
indcon
(
e
)
function
c46270001
.
indcon
(
e
)
return
Duel
.
GetFieldGroup
(
e
:
GetHandlerPlayer
(),
LOCATION_GRAVE
,
0
):
FilterCount
(
Card
.
IsType
,
nil
,
TYPE_MONSTER
)
==
0
return
Duel
.
GetFieldGroup
(
e
:
GetHandlerPlayer
(),
LOCATION_GRAVE
,
0
):
FilterCount
(
Card
.
IsType
,
nil
,
TYPE_MONSTER
)
==
0
...
...
expansions/script/c46270002.lua
View file @
4263a69e
...
@@ -62,9 +62,7 @@ function c46270002.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -62,9 +62,7 @@ function c46270002.activate(e,tp,eg,ep,ev,re,r,rp)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
or
not
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
46270002
,
0xfc1
,
0x21
,
1500
,
1000
,
4
,
RACE_ZOMBIE
,
ATTRIBUTE_DARK
)
then
return
end
or
not
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
46270002
,
0xfc1
,
0x21
,
1500
,
1000
,
4
,
RACE_ZOMBIE
,
ATTRIBUTE_DARK
)
then
return
end
c
:
AddMonsterAttribute
(
TYPE_EFFECT
+
TYPE_TRAP
)
c
:
AddMonsterAttribute
(
TYPE_EFFECT
+
TYPE_TRAP
)
Duel
.
SpecialSummonStep
(
c
,
1
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
c
,
1
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
c
:
AddMonsterAttributeComplete
()
Duel
.
SpecialSummonComplete
()
end
end
function
c46270002
.
indcon
(
e
)
function
c46270002
.
indcon
(
e
)
return
Duel
.
GetFieldGroup
(
e
:
GetHandlerPlayer
(),
LOCATION_GRAVE
,
0
):
FilterCount
(
Card
.
IsType
,
nil
,
TYPE_MONSTER
)
==
0
return
Duel
.
GetFieldGroup
(
e
:
GetHandlerPlayer
(),
LOCATION_GRAVE
,
0
):
FilterCount
(
Card
.
IsType
,
nil
,
TYPE_MONSTER
)
==
0
...
...
expansions/script/c46270003.lua
View file @
4263a69e
...
@@ -77,9 +77,7 @@ function c46270003.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -77,9 +77,7 @@ function c46270003.activate(e,tp,eg,ep,ev,re,r,rp)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
or
not
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
46270003
,
0xfc1
,
0x21
,
1500
,
1000
,
4
,
RACE_ZOMBIE
,
ATTRIBUTE_DARK
)
then
return
end
or
not
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
46270003
,
0xfc1
,
0x21
,
1500
,
1000
,
4
,
RACE_ZOMBIE
,
ATTRIBUTE_DARK
)
then
return
end
c
:
AddMonsterAttribute
(
TYPE_EFFECT
+
TYPE_TRAP
)
c
:
AddMonsterAttribute
(
TYPE_EFFECT
+
TYPE_TRAP
)
Duel
.
SpecialSummonStep
(
c
,
1
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
c
,
1
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
c
:
AddMonsterAttributeComplete
()
Duel
.
SpecialSummonComplete
()
end
end
function
c46270003
.
indcon
(
e
)
function
c46270003
.
indcon
(
e
)
return
Duel
.
GetFieldGroup
(
e
:
GetHandlerPlayer
(),
LOCATION_GRAVE
,
0
):
FilterCount
(
Card
.
IsType
,
nil
,
TYPE_MONSTER
)
==
0
return
Duel
.
GetFieldGroup
(
e
:
GetHandlerPlayer
(),
LOCATION_GRAVE
,
0
):
FilterCount
(
Card
.
IsType
,
nil
,
TYPE_MONSTER
)
==
0
...
...
expansions/script/c81021014.lua
View file @
4263a69e
...
@@ -27,7 +27,7 @@ function c81021014.rmcost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -27,7 +27,7 @@ function c81021014.rmcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
PayLPCost
(
tp
,
800
)
Duel
.
PayLPCost
(
tp
,
800
)
end
end
function
c81021014
.
rmfilter
(
c
)
function
c81021014
.
rmfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x818
)
and
c
:
IsPosition
(
POS_FACEUP_ATTACK
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x818
)
and
c
:
IsPosition
(
POS_FACEUP_ATTACK
)
and
c
:
IsCanChangePosition
()
end
end
function
c81021014
.
rmtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c81021014
.
rmtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
false
end
if
chkc
then
return
false
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