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
ac859322
Commit
ac859322
authored
Dec 26, 2016
by
DailyShana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
4218737b
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
3 deletions
+13
-3
c41902352.lua
c41902352.lua
+9
-0
c70939418.lua
c70939418.lua
+1
-0
c77565204.lua
c77565204.lua
+1
-1
c89974904.lua
c89974904.lua
+2
-2
No files found.
c41902352.lua
View file @
ac859322
...
@@ -8,7 +8,16 @@ function c41902352.initial_effect(c)
...
@@ -8,7 +8,16 @@ function c41902352.initial_effect(c)
e1
:
SetCondition
(
c41902352
.
synlimit
)
e1
:
SetCondition
(
c41902352
.
synlimit
)
e1
:
SetValue
(
1
)
e1
:
SetValue
(
1
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
--
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetCode
(
EFFECT_SPSUMMON_COST
)
e2
:
SetCost
(
c41902352
.
spcost
)
c
:
RegisterEffect
(
e2
)
end
end
function
c41902352
.
synlimit
(
e
)
function
c41902352
.
synlimit
(
e
)
return
bit
.
band
(
e
:
GetHandler
():
GetSummonType
(),
SUMMON_TYPE_SPECIAL
)
==
SUMMON_TYPE_SPECIAL
return
bit
.
band
(
e
:
GetHandler
():
GetSummonType
(),
SUMMON_TYPE_SPECIAL
)
==
SUMMON_TYPE_SPECIAL
end
end
function
c41902352
.
spcost
(
e
,
c
,
tp
,
sumtype
)
return
sumtype
~=
SUMMON_TYPE_SPECIAL
+
182
end
c70939418.lua
View file @
ac859322
...
@@ -30,6 +30,7 @@ function c70939418.initial_effect(c)
...
@@ -30,6 +30,7 @@ function c70939418.initial_effect(c)
e3
:
SetCategory
(
CATEGORY_ATKCHANGE
)
e3
:
SetCategory
(
CATEGORY_ATKCHANGE
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e3
:
SetCode
(
EVENT_BE_MATERIAL
)
e3
:
SetCode
(
EVENT_BE_MATERIAL
)
e3
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e3
:
SetCondition
(
c70939418
.
ddcon
)
e3
:
SetCondition
(
c70939418
.
ddcon
)
e3
:
SetTarget
(
c70939418
.
ddtg
)
e3
:
SetTarget
(
c70939418
.
ddtg
)
e3
:
SetOperation
(
c70939418
.
ddop
)
e3
:
SetOperation
(
c70939418
.
ddop
)
...
...
c77565204.lua
View file @
ac859322
...
@@ -70,7 +70,7 @@ function c77565204.tgcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -70,7 +70,7 @@ function c77565204.tgcon(e,tp,eg,ep,ev,re,r,rp)
return
Duel
.
GetTurnPlayer
()
==
tp
and
e
:
GetHandler
():
GetTurnCounter
()
==
1
return
Duel
.
GetTurnPlayer
()
==
tp
and
e
:
GetHandler
():
GetTurnCounter
()
==
1
end
end
function
c77565204
.
filter1
(
c
,
e
)
function
c77565204
.
filter1
(
c
,
e
)
return
c
:
IsCanBeFusionMaterial
()
and
c
:
IsAbleToGrave
()
and
not
c
:
IsImmuneToEffect
(
e
)
return
c
:
Is
Type
(
TYPE_MONSTER
)
and
c
:
Is
CanBeFusionMaterial
()
and
c
:
IsAbleToGrave
()
and
not
c
:
IsImmuneToEffect
(
e
)
end
end
function
c77565204
.
filter2
(
c
,
m
)
function
c77565204
.
filter2
(
c
,
m
)
return
c
:
IsType
(
TYPE_FUSION
)
and
c
:
CheckFusionMaterial
(
m
)
return
c
:
IsType
(
TYPE_FUSION
)
and
c
:
CheckFusionMaterial
(
m
)
...
...
c89974904.lua
View file @
ac859322
...
@@ -11,7 +11,7 @@ function c89974904.initial_effect(c)
...
@@ -11,7 +11,7 @@ function c89974904.initial_effect(c)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
function
c89974904
.
spfilter
(
c
,
e
,
tp
)
function
c89974904
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsCanBeSpecialSummoned
(
e
,
182
,
tp
,
false
,
false
)
and
Duel
.
IsExistingMatchingCard
(
Card
.
IsSynchroSummonable
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
c
)
and
Duel
.
IsExistingMatchingCard
(
Card
.
IsSynchroSummonable
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
c
)
end
end
function
c89974904
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c89974904
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
...
@@ -26,7 +26,7 @@ end
...
@@ -26,7 +26,7 @@ end
function
c89974904
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c89974904
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
tc
=
Duel
.
GetFirstTarget
()
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToEffect
(
e
)
and
Duel
.
SpecialSummonStep
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
then
if
tc
:
IsRelateToEffect
(
e
)
and
Duel
.
SpecialSummonStep
(
tc
,
182
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
then
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_DISABLE
)
e1
:
SetCode
(
EFFECT_DISABLE
)
...
...
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