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
d584cf7c
Commit
d584cf7c
authored
Jul 10, 2019
by
大崎甜花
Committed by
GitHub
Jul 10, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #4 from purerosefallen/master
07-10 Backup
parents
2c70453b
6196f71d
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
8 additions
and
9 deletions
+8
-9
expansions/script/c11200024.lua
expansions/script/c11200024.lua
+0
-1
expansions/script/c77765008.lua
expansions/script/c77765008.lua
+3
-3
expansions/script/c77765030.lua
expansions/script/c77765030.lua
+1
-1
expansions/script/c9980480.lua
expansions/script/c9980480.lua
+1
-1
expansions/script/c9980512.lua
expansions/script/c9980512.lua
+2
-2
expansions/script/c9980706.lua
expansions/script/c9980706.lua
+1
-1
No files found.
expansions/script/c11200024.lua
View file @
d584cf7c
...
@@ -64,7 +64,6 @@ function c11200024.op2(e,tp,eg,ep,ev,re,r,rp)
...
@@ -64,7 +64,6 @@ function c11200024.op2(e,tp,eg,ep,ev,re,r,rp)
local
sc
=
sg
:
GetFirst
()
local
sc
=
sg
:
GetFirst
()
sc
:
AddMonsterAttribute
(
TYPE_NORMAL
,
ATTRIBUTE_LIGHT
,
RACE_BEAST
,
4
,
1100
,
1100
)
sc
:
AddMonsterAttribute
(
TYPE_NORMAL
,
ATTRIBUTE_LIGHT
,
RACE_BEAST
,
4
,
1100
,
1100
)
Duel
.
SpecialSummonStep
(
sc
,
0
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummonStep
(
sc
,
0
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
sc
:
AddMonsterAttributeComplete
()
Duel
.
SpecialSummonComplete
()
Duel
.
SpecialSummonComplete
()
Duel
.
Draw
(
tp
,
1
,
REASON_EFFECT
)
Duel
.
Draw
(
tp
,
1
,
REASON_EFFECT
)
end
end
...
...
expansions/script/c77765008.lua
View file @
d584cf7c
...
@@ -47,13 +47,13 @@ function cm.filter1(c,e,sp)
...
@@ -47,13 +47,13 @@ function cm.filter1(c,e,sp)
return
c
:
IsCode
(
77765001
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
sp
,
false
,
false
)
and
not
c
:
IsHasEffect
(
EFFECT_NECRO_VALLEY
)
return
c
:
IsCode
(
77765001
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
sp
,
false
,
false
)
and
not
c
:
IsHasEffect
(
EFFECT_NECRO_VALLEY
)
end
end
function
cm
.
target1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
cm
.
target1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
filter1
,
tp
,
LOCATION_DECK
+
LOCATION_HAND
+
LOCAT
ON_GRAVE
+
LOCATION_HAND
+
LOCAT
ON_GRAVE
,
0
,
1
,
nil
,
e
,
tp
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
filter1
,
tp
,
LOCATION_DECK
+
LOCATION_HAND
+
LOCAT
I
ON_GRAVE
,
0
,
1
,
nil
,
e
,
tp
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
end
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_DECK
+
LOCATION_HAND
+
LOCATON_GRAVE
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_DECK
+
LOCATION_HAND
+
LOCAT
I
ON_GRAVE
)
end
end
function
cm
.
operation1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
operation1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
return
end
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
return
end
local
sc
=
Duel
.
GetFirstMatchingCard
(
cm
.
filter1
,
tp
,
LOCATION_DECK
+
LOCATION_HAND
+
LOCATON_GRAVE
,
0
,
nil
,
e
,
tp
)
local
sc
=
Duel
.
GetFirstMatchingCard
(
cm
.
filter1
,
tp
,
LOCATION_DECK
+
LOCATION_HAND
+
LOCAT
I
ON_GRAVE
,
0
,
nil
,
e
,
tp
)
if
sc
then
if
sc
then
Duel
.
SpecialSummon
(
sc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
sc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
end
...
...
expansions/script/c77765030.lua
View file @
d584cf7c
...
@@ -34,7 +34,7 @@ function cm.initial_effect(c)
...
@@ -34,7 +34,7 @@ function cm.initial_effect(c)
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_F
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_F
)
e2
:
SetCode
(
EVENT_PHASE
+
PHASE_STANDBY
)
e2
:
SetCode
(
EVENT_PHASE
+
PHASE_STANDBY
)
e2
:
SetCountLimit
(
1
)
e2
:
SetCountLimit
(
1
,
m
)
e2
:
SetRange
(
LOCATION_SZONE
)
e2
:
SetRange
(
LOCATION_SZONE
)
e2
:
SetCondition
(
function
(
e
,
tp
)
e2
:
SetCondition
(
function
(
e
,
tp
)
return
Duel
.
GetTurnPlayer
()
==
tp
return
Duel
.
GetTurnPlayer
()
==
tp
...
...
expansions/script/c9980480.lua
View file @
d584cf7c
...
@@ -80,7 +80,7 @@ function c9980480.negcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -80,7 +80,7 @@ function c9980480.negcon(e,tp,eg,ep,ev,re,r,rp)
return
Duel
.
GetAttacker
():
GetControler
()
~=
tp
and
e
:
GetHandler
():
GetCounter
(
0x50
)
==
1
return
Duel
.
GetAttacker
():
GetControler
()
~=
tp
and
e
:
GetHandler
():
GetCounter
(
0x50
)
==
1
end
end
function
c9980480
.
spfilter
(
c
,
e
,
tp
)
function
c9980480
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsLevelBelow
(
4
)
and
c
:
IsSetCard
(
0x5bcb
,
0xabca
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsLevelBelow
(
4
)
and
(
c
:
IsSetCard
(
0x5bcb
)
or
c
:
IsSetCard
(
0xabca
))
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
end
function
c9980480
.
negtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c9980480
.
negtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
not
Duel
.
IsPlayerAffectedByEffect
(
tp
,
59822133
)
if
chk
==
0
then
return
not
Duel
.
IsPlayerAffectedByEffect
(
tp
,
59822133
)
...
...
expansions/script/c9980512.lua
View file @
d584cf7c
...
@@ -12,11 +12,11 @@ function c9980512.initial_effect(c)
...
@@ -12,11 +12,11 @@ function c9980512.initial_effect(c)
e1
:
SetOperation
(
c9980512
.
activate
)
e1
:
SetOperation
(
c9980512
.
activate
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
function
c998051
3
.
cfilter
(
c
)
function
c998051
2
.
cfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0xcbcc
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0xcbcc
)
end
end
function
c9980512
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c9980512
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetCurrentPhase
()
~=
PHASE_DAMAGE
or
not
Duel
.
IsDamageCalculated
()
and
Duel
.
IsExistingMatchingCard
(
c998051
3
.
cfilter
,
tp
,
LOCATION_PZONE
+
LOCATION_MZONE
,
0
,
1
,
nil
)
return
Duel
.
GetCurrentPhase
()
~=
PHASE_DAMAGE
or
not
Duel
.
IsDamageCalculated
()
and
Duel
.
IsExistingMatchingCard
(
c998051
2
.
cfilter
,
tp
,
LOCATION_PZONE
+
LOCATION_MZONE
,
0
,
1
,
nil
)
end
end
function
c9980512
.
filter
(
c
)
function
c9980512
.
filter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x5bcc
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x5bcc
)
...
...
expansions/script/c9980706.lua
View file @
d584cf7c
--戈尔贡三姐妹
--戈尔贡三姐妹
function
c9980706
.
initial_effect
(
c
)
function
c9980706
.
initial_effect
(
c
)
c
:
Enable
Unsummonable
()
c
:
Enable
ReviveLimit
()
--splimit
--splimit
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
...
...
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