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
c5cb71d7
Commit
c5cb71d7
authored
Nov 12, 2015
by
DailyShana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove setcode 0x101
parent
4140688d
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
10 additions
and
2 deletions
+10
-2
c14017402.lua
c14017402.lua
+2
-1
c17412721.lua
c17412721.lua
+1
-0
c21113684.lua
c21113684.lua
+1
-0
c36484016.lua
c36484016.lua
+1
-1
c40101111.lua
c40101111.lua
+1
-0
c58601383.lua
c58601383.lua
+1
-0
c59255742.lua
c59255742.lua
+1
-0
c90555947.lua
c90555947.lua
+1
-0
c99916754.lua
c99916754.lua
+1
-0
No files found.
c14017402.lua
View file @
c5cb71d7
...
@@ -31,6 +31,7 @@ function c14017402.initial_effect(c)
...
@@ -31,6 +31,7 @@ function c14017402.initial_effect(c)
e4
:
SetValue
(
c14017402
.
splimit
)
e4
:
SetValue
(
c14017402
.
splimit
)
c
:
RegisterEffect
(
e4
)
c
:
RegisterEffect
(
e4
)
end
end
c14017402
.
miracle_synchro_fusion
=
true
function
c14017402
.
splimit
(
e
,
se
,
sp
,
st
)
function
c14017402
.
splimit
(
e
,
se
,
sp
,
st
)
if
e
:
GetHandler
():
IsLocation
(
LOCATION_EXTRA
)
then
if
e
:
GetHandler
():
IsLocation
(
LOCATION_EXTRA
)
then
return
bit
.
band
(
st
,
SUMMON_TYPE_FUSION
)
==
SUMMON_TYPE_FUSION
return
bit
.
band
(
st
,
SUMMON_TYPE_FUSION
)
==
SUMMON_TYPE_FUSION
...
@@ -57,7 +58,7 @@ function c14017402.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -57,7 +58,7 @@ function c14017402.operation(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
c
:
IsRelateToEffect
(
e
)
and
c
:
IsFaceup
()
and
tc
:
IsRelateToEffect
(
e
)
then
if
c
:
IsRelateToEffect
(
e
)
and
c
:
IsFaceup
()
and
tc
:
IsRelateToEffect
(
e
)
then
if
Duel
.
Remove
(
tc
,
POS_FACEUP
,
REASON_EFFECT
)
~=
1
then
return
end
if
Duel
.
Remove
(
tc
,
POS_FACEUP
,
REASON_EFFECT
)
~=
1
then
return
end
local
code
=
tc
:
GetOriginalCode
()
local
code
=
tc
:
GetOriginalCode
()
local
reset_flag
=
RESET_EVENT
+
0x1fe0000
+
RESET_PHASE
+
PHASE_END
local
reset_flag
=
RESET_EVENT
+
0x1fe0000
+
RESET_PHASE
+
PHASE_END
c
:
CopyEffect
(
code
,
reset_flag
,
1
)
c
:
CopyEffect
(
code
,
reset_flag
,
1
)
...
...
c17412721.lua
View file @
c5cb71d7
...
@@ -21,6 +21,7 @@ function c17412721.initial_effect(c)
...
@@ -21,6 +21,7 @@ function c17412721.initial_effect(c)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
e1
:
SetLabelObject
(
e2
)
e1
:
SetLabelObject
(
e2
)
end
end
c17412721
.
miracle_synchro_fusion
=
true
function
c17412721
.
ffilter
(
c
)
function
c17412721
.
ffilter
(
c
)
return
c
:
IsType
(
TYPE_XYZ
+
TYPE_SYNCHRO
)
return
c
:
IsType
(
TYPE_XYZ
+
TYPE_SYNCHRO
)
end
end
...
...
c21113684.lua
View file @
c5cb71d7
...
@@ -52,6 +52,7 @@ function c21113684.initial_effect(c)
...
@@ -52,6 +52,7 @@ function c21113684.initial_effect(c)
e6
:
SetValue
(
c21113684
.
splimit
)
e6
:
SetValue
(
c21113684
.
splimit
)
c
:
RegisterEffect
(
e6
)
c
:
RegisterEffect
(
e6
)
end
end
c21113684
.
miracle_synchro_fusion
=
true
function
c21113684
.
splimit
(
e
,
se
,
sp
,
st
)
function
c21113684
.
splimit
(
e
,
se
,
sp
,
st
)
if
e
:
GetHandler
():
IsLocation
(
LOCATION_EXTRA
)
then
if
e
:
GetHandler
():
IsLocation
(
LOCATION_EXTRA
)
then
return
bit
.
band
(
st
,
SUMMON_TYPE_FUSION
)
==
SUMMON_TYPE_FUSION
return
bit
.
band
(
st
,
SUMMON_TYPE_FUSION
)
==
SUMMON_TYPE_FUSION
...
...
c36484016.lua
View file @
c5cb71d7
...
@@ -27,7 +27,7 @@ function c36484016.filter1(c,e)
...
@@ -27,7 +27,7 @@ function c36484016.filter1(c,e)
return
c
:
IsCanBeFusionMaterial
()
and
c
:
IsAbleToRemove
()
and
not
c
:
IsImmuneToEffect
(
e
)
return
c
:
IsCanBeFusionMaterial
()
and
c
:
IsAbleToRemove
()
and
not
c
:
IsImmuneToEffect
(
e
)
end
end
function
c36484016
.
filter2
(
c
,
e
,
tp
,
m
,
f
,
chkf
)
function
c36484016
.
filter2
(
c
,
e
,
tp
,
m
,
f
,
chkf
)
return
c
:
IsType
(
TYPE_FUSION
)
and
c
:
IsSetCard
(
0x101
)
and
(
not
f
or
f
(
c
))
return
c
:
IsType
(
TYPE_FUSION
)
and
c
.
miracle_synchro_fusion
and
(
not
f
or
f
(
c
))
and
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_TYPE_FUSION
,
tp
,
false
,
false
)
and
m
:
IsExists
(
c36484016
.
filter3
,
1
,
nil
,
c
,
m
,
chkf
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_TYPE_FUSION
,
tp
,
false
,
false
)
and
m
:
IsExists
(
c36484016
.
filter3
,
1
,
nil
,
c
,
m
,
chkf
)
end
end
function
c36484016
.
filter3
(
c
,
fusc
,
m
,
chkf
)
function
c36484016
.
filter3
(
c
,
fusc
,
m
,
chkf
)
...
...
c40101111.lua
View file @
c5cb71d7
...
@@ -34,6 +34,7 @@ function c40101111.initial_effect(c)
...
@@ -34,6 +34,7 @@ function c40101111.initial_effect(c)
e5
:
SetValue
(
c40101111
.
splimit
)
e5
:
SetValue
(
c40101111
.
splimit
)
c
:
RegisterEffect
(
e5
)
c
:
RegisterEffect
(
e5
)
end
end
c40101111
.
miracle_synchro_fusion
=
true
function
c40101111
.
splimit
(
e
,
se
,
sp
,
st
)
function
c40101111
.
splimit
(
e
,
se
,
sp
,
st
)
if
e
:
GetHandler
():
IsLocation
(
LOCATION_EXTRA
)
then
if
e
:
GetHandler
():
IsLocation
(
LOCATION_EXTRA
)
then
return
bit
.
band
(
st
,
SUMMON_TYPE_FUSION
)
==
SUMMON_TYPE_FUSION
return
bit
.
band
(
st
,
SUMMON_TYPE_FUSION
)
==
SUMMON_TYPE_FUSION
...
...
c58601383.lua
View file @
c5cb71d7
...
@@ -20,6 +20,7 @@ function c58601383.initial_effect(c)
...
@@ -20,6 +20,7 @@ function c58601383.initial_effect(c)
e3
:
SetValue
(
c58601383
.
efilter2
)
e3
:
SetValue
(
c58601383
.
efilter2
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
end
end
c58601383
.
miracle_synchro_fusion
=
true
function
c58601383
.
ffilter
(
c
)
function
c58601383
.
ffilter
(
c
)
return
c
:
IsType
(
TYPE_SYNCHRO
)
and
not
c
:
IsType
(
TYPE_EFFECT
)
return
c
:
IsType
(
TYPE_SYNCHRO
)
and
not
c
:
IsType
(
TYPE_EFFECT
)
end
end
...
...
c59255742.lua
View file @
c5cb71d7
...
@@ -41,6 +41,7 @@ function c59255742.initial_effect(c)
...
@@ -41,6 +41,7 @@ function c59255742.initial_effect(c)
e4
:
SetOperation
(
c59255742
.
ctop
)
e4
:
SetOperation
(
c59255742
.
ctop
)
c
:
RegisterEffect
(
e4
)
c
:
RegisterEffect
(
e4
)
end
end
c59255742
.
miracle_synchro_fusion
=
true
function
c59255742
.
ffilter
(
c
)
function
c59255742
.
ffilter
(
c
)
return
c
:
IsAttribute
(
ATTRIBUTE_EARTH
)
and
c
:
IsRace
(
RACE_WARRIOR
)
and
c
:
IsType
(
TYPE_SYNCHRO
)
return
c
:
IsAttribute
(
ATTRIBUTE_EARTH
)
and
c
:
IsRace
(
RACE_WARRIOR
)
and
c
:
IsType
(
TYPE_SYNCHRO
)
end
end
...
...
c90555947.lua
View file @
c5cb71d7
...
@@ -17,6 +17,7 @@ function c90555947.initial_effect(c)
...
@@ -17,6 +17,7 @@ function c90555947.initial_effect(c)
e1
:
SetOperation
(
c90555947
.
disop
)
e1
:
SetOperation
(
c90555947
.
disop
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
c90555947
.
miracle_synchro_fusion
=
true
function
c90555947
.
ffilter
(
c
)
function
c90555947
.
ffilter
(
c
)
return
c
:
IsAttribute
(
ATTRIBUTE_EARTH
)
and
c
:
IsType
(
TYPE_SYNCHRO
)
return
c
:
IsAttribute
(
ATTRIBUTE_EARTH
)
and
c
:
IsType
(
TYPE_SYNCHRO
)
end
end
...
...
c99916754.lua
View file @
c5cb71d7
...
@@ -17,6 +17,7 @@ function c99916754.initial_effect(c)
...
@@ -17,6 +17,7 @@ function c99916754.initial_effect(c)
e2
:
SetOperation
(
c99916754
.
disop
)
e2
:
SetOperation
(
c99916754
.
disop
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
c99916754
.
miracle_synchro_fusion
=
true
function
c99916754
.
discon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c99916754
.
discon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
not
e
:
GetHandler
():
IsStatus
(
STATUS_BATTLE_DESTROYED
)
return
not
e
:
GetHandler
():
IsStatus
(
STATUS_BATTLE_DESTROYED
)
and
re
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
and
Duel
.
IsChainNegatable
(
ev
)
and
re
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
and
Duel
.
IsChainNegatable
(
ev
)
...
...
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