Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-pre-data
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
MyCard
ygopro-pre-data
Commits
72768adb
Commit
72768adb
authored
Jul 05, 2019
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
42f61c40
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
4 additions
and
4 deletions
+4
-4
expansions/pre-release.cdb
expansions/pre-release.cdb
+0
-0
script/c100252001.lua
script/c100252001.lua
+1
-1
script/c101010015.lua
script/c101010015.lua
+1
-1
script/c101010034.lua
script/c101010034.lua
+1
-1
script/c101010057.lua
script/c101010057.lua
+1
-1
No files found.
expansions/pre-release.cdb
View file @
72768adb
No preview for this file type
script/c100252001.lua
View file @
72768adb
...
...
@@ -62,7 +62,7 @@ function c100252001.damcon(e)
end
function
c100252001
.
damval
(
e
,
re
,
val
,
r
,
rp
,
rc
)
local
c
=
e
:
GetHandler
()
if
bit
.
band
(
r
,
REASON_
BATTLE
+
REASON_
EFFECT
)
~=
0
and
c
:
GetFlagEffect
(
100252001
)
==
0
then
if
bit
.
band
(
r
,
REASON_EFFECT
)
~=
0
and
c
:
GetFlagEffect
(
100252001
)
==
0
then
Duel
.
RegisterFlagEffect
(
tp
,
100252001
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
return
0
end
...
...
script/c101010015.lua
View file @
72768adb
...
...
@@ -104,7 +104,7 @@ function c101010015.splimit(e,c)
return
not
c
:
IsRace
(
RACE_DRAGON
)
or
not
c
:
IsAttribute
(
ATTRIBUTE_LIGHT
+
ATTRIBUTE_DARK
)
end
function
c101010015
.
thfilter
(
c
)
return
c
:
IsRace
(
RACE_DRAGON
)
and
c
:
IsLevel
(
4
)
and
c
:
IsAbleToHand
()
return
c
:
IsRace
(
RACE_DRAGON
)
and
c
:
IsLevel
(
4
)
and
c
:
IsA
ttribute
(
ATTRIBUTE_LIGHT
+
ATTRIBUTE_DARK
)
and
c
:
IsA
bleToHand
()
end
function
c101010015
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsControler
(
tp
)
and
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
c101010015
.
thfilter
(
chkc
)
end
...
...
script/c101010034.lua
View file @
72768adb
...
...
@@ -36,7 +36,7 @@ function c101010034.initial_effect(c)
e3
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e3
:
SetCode
(
EVENT_RECOVER
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetCountLimit
(
1
,
101010034
)
e3
:
SetCountLimit
(
1
,
101010034
+
100
)
e3
:
SetCondition
(
c101010034
.
descon
)
e3
:
SetTarget
(
c101010034
.
destg
)
e3
:
SetOperation
(
c101010034
.
desop
)
...
...
script/c101010057.lua
View file @
72768adb
...
...
@@ -37,7 +37,7 @@ function c101010057.condition(e,tp,eg,ep,ev,re,r,rp)
return
ph
>=
PHASE_BATTLE_START
and
ph
<=
PHASE_BATTLE
end
function
c101010057
.
filter1
(
c
,
e
)
return
c
:
IsAbleToDeck
()
and
c
:
IsCanBeFusionMaterial
()
and
not
c
:
IsImmuneToEffect
(
e
)
return
c
:
IsAbleToDeck
()
and
c
:
IsCanBeFusionMaterial
()
and
c
:
IsType
(
TYPE_MONSTER
)
and
not
c
:
IsImmuneToEffect
(
e
)
end
function
c101010057
.
filter2
(
c
,
e
,
tp
,
m
,
chkf
)
return
c
:
IsType
(
TYPE_FUSION
)
and
c
:
IsSetCard
(
0x19
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
true
,
false
)
and
c
:
CheckFusionMaterial
(
m
,
nil
,
chkf
)
...
...
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