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
dc9f7d6d
Commit
dc9f7d6d
authored
Jul 15, 2020
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
020baa42
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
19 additions
and
15 deletions
+19
-15
script/c100415031.lua
script/c100415031.lua
+1
-1
script/c100415035.lua
script/c100415035.lua
+6
-3
script/c101102036.lua
script/c101102036.lua
+1
-1
script/c101102039.lua
script/c101102039.lua
+1
-1
script/c101102048.lua
script/c101102048.lua
+2
-2
script/c101102052.lua
script/c101102052.lua
+6
-5
script/c101102056.lua
script/c101102056.lua
+1
-1
script/c101102072.lua
script/c101102072.lua
+1
-1
No files found.
script/c100415031.lua
View file @
dc9f7d6d
...
...
@@ -31,7 +31,7 @@ function c100415031.initial_effect(c)
e4
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e4
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e4
:
SetRange
(
LOCATION_FZONE
)
e4
:
SetCountLimit
(
1
)
e4
:
SetCountLimit
(
1
,
EFFECT_COUNT_CODE_SINGLE
)
e4
:
SetCondition
(
c100415031
.
lvcon
)
e4
:
SetTarget
(
c100415031
.
lvtg
)
e4
:
SetOperation
(
c100415031
.
lvop
)
...
...
script/c100415035.lua
View file @
dc9f7d6d
...
...
@@ -7,14 +7,17 @@ function c100415035.initial_effect(c)
e1
:
SetCategory
(
CATEGORY_ATKCHANGE
+
CATEGORY_DESTROY
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetProperty
(
EFFECT_FLAG_
DAMAGE_STEP
+
EFFECT_FLAG_
CARD_TARGET
)
e1
:
SetHintTiming
(
TIMING_DAMAGE_STEP
,
TIMING_DAMAGE_STEP
+
TIMINGS_CHECK_MONSTER
+
TIMING_MAIN_END
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e1
:
SetHintTiming
(
0
,
TIMINGS_CHECK_MONSTER
+
TIMING_MAIN_END
)
e1
:
SetCountLimit
(
1
,
100415035
+
EFFECT_COUNT_CODE_OATH
)
e1
:
SetCondition
(
aux
.
dsc
on
)
e1
:
SetCondition
(
c100415035
.
conditi
on
)
e1
:
SetTarget
(
c100415035
.
target
)
e1
:
SetOperation
(
c100415035
.
activate
)
c
:
RegisterEffect
(
e1
)
end
function
c100415035
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetCurrentPhase
()
==
PHASE_MAIN1
or
Duel
.
GetCurrentPhase
()
==
PHASE_MAIN2
end
function
c100415035
.
filter
(
c
)
return
c
:
IsFaceup
()
and
(
c
:
IsSetCard
(
0x250
)
or
c
:
IsType
(
TYPE_RITUAL
))
and
c
:
IsAttackAbove
(
1000
)
end
...
...
script/c101102036.lua
View file @
dc9f7d6d
...
...
@@ -9,7 +9,7 @@ function c101102036.initial_effect(c)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetProperty
(
EFFECT_FLAG_SET_AVAILABLE
+
EFFECT_FLAG_IGNORE_RANGE
+
EFFECT_FLAG_IGNORE_IMMUNE
)
e1
:
SetRange
(
LOCATION_
S
ZONE
)
e1
:
SetRange
(
LOCATION_
M
ZONE
)
e1
:
SetCode
(
EFFECT_TO_GRAVE_REDIRECT
)
e1
:
SetTargetRange
(
LOCATION_ONFIELD
,
LOCATION_ONFIELD
)
e1
:
SetValue
(
LOCATION_REMOVED
)
...
...
script/c101102039.lua
View file @
dc9f7d6d
...
...
@@ -25,7 +25,7 @@ function c101102039.initial_effect(c)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetTargetRange
(
LOCATION_MZONE
,
0
)
e2
:
SetTarget
(
aux
.
TargetBoolFunction
(
Card
.
IsPosition
,
POS_FACEDOWN_DEFENSE
))
e2
:
SetValue
(
1
)
e2
:
SetValue
(
aux
.
tgoval
)
c
:
RegisterEffect
(
e2
)
--position
local
e3
=
Effect
.
CreateEffect
(
c
)
...
...
script/c101102048.lua
View file @
dc9f7d6d
...
...
@@ -53,10 +53,10 @@ function c101102048.rmcon(e,tp,eg,ep,ev,re,r,rp)
return
not
eg
:
IsContains
(
e
:
GetHandler
())
and
eg
:
IsExists
(
c101102048
.
cfilter
,
1
,
nil
,
tp
)
end
function
c101102048
.
rfilter
(
c
)
return
c
:
Is
SetCard
(
RACE_BEAST
+
RACE_BEASTWARRIOR
+
RACE_WINDBEAST
)
and
c
:
IsFaceup
()
return
c
:
Is
Race
(
RACE_BEAST
+
RACE_BEASTWARRIOR
+
RACE_WINDBEAST
)
and
c
:
IsFaceup
()
end
function
c101102048
.
thfilter
(
c
,
lv
)
return
c
:
Is
SetCard
(
RACE_BEAST
+
RACE_BEASTWARRIOR
+
RACE_WINDBEAST
)
and
c
:
IsAbleToHand
()
and
c
:
IsLevelBelow
(
lv
)
return
c
:
Is
Race
(
RACE_BEAST
+
RACE_BEASTWARRIOR
+
RACE_WINDBEAST
)
and
c
:
IsAbleToHand
()
and
c
:
IsLevelBelow
(
lv
)
end
function
c101102048
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
...
...
script/c101102052.lua
View file @
dc9f7d6d
...
...
@@ -41,10 +41,11 @@ function c101102052.splimit(e,c)
return
not
c
:
IsRace
(
RACE_BEAST
+
RACE_BEASTWARRIOR
+
RACE_WINDBEAST
)
end
function
c101102052
.
cfilter
(
c
,
tp
)
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToGraveAsCost
()
and
Duel
.
IsExistingMatchingCard
(
c101102052
.
srfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
c
:
GetRace
())
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToGraveAsCost
()
and
Duel
.
IsExistingMatchingCard
(
c101102052
.
srfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
c
:
GetOriginalRace
())
end
function
c101102052
.
srfilter
(
c
,
race
)
return
c
:
IsSetCard
(
0x24f
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToHand
()
and
not
c
:
IsRace
(
race
)
return
c
:
IsSetCard
(
0x24f
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToHand
()
and
c
:
GetOriginalRace
()
~=
race
end
function
c101102052
.
srcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
e
:
SetLabel
(
100
)
...
...
@@ -54,11 +55,11 @@ function c101102052.srtg(e,tp,eg,ep,ev,re,r,rp,chk)
if
chk
==
0
then
if
e
:
GetLabel
()
~=
100
then
return
false
end
e
:
SetLabel
(
0
)
return
Duel
.
IsExistingMatchingCard
(
c101102052
.
cfilter
,
tp
,
LOCATION_HAND
+
LOCATION_
ONFIELD
,
0
,
1
,
nil
,
tp
)
return
Duel
.
IsExistingMatchingCard
(
c101102052
.
cfilter
,
tp
,
LOCATION_HAND
+
LOCATION_
MZONE
,
0
,
1
,
nil
,
tp
)
end
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c101102052
.
cfilter
,
tp
,
LOCATION_HAND
+
LOCATION_ONFIELD
,
0
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c101102052
.
cfilter
,
tp
,
LOCATION_HAND
+
LOCATION_MZONE
,
0
,
1
,
1
,
nil
,
tp
)
e
:
SetLabel
(
g
:
GetFirst
():
GetOriginalRace
())
Duel
.
SendtoGrave
(
g
,
REASON_COST
)
e
:
SetLabel
(
g
:
GetFirst
():
GetRace
())
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
nil
,
1
,
tp
,
LOCATION_DECK
)
end
function
c101102052
.
srop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
script/c101102056.lua
View file @
dc9f7d6d
...
...
@@ -13,7 +13,7 @@ function c101102056.initial_effect(c)
e2
:
SetCategory
(
CATEGORY_DISABLE
)
e2
:
SetType
(
EFFECT_TYPE_IGNITION
)
e2
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e2
:
SetRange
(
LOCATION_
M
ZONE
)
e2
:
SetRange
(
LOCATION_
S
ZONE
)
e2
:
SetCountLimit
(
1
,
101102056
)
e2
:
SetCost
(
c101102056
.
discost
)
e2
:
SetTarget
(
c101102056
.
distg
)
...
...
script/c101102072.lua
View file @
dc9f7d6d
...
...
@@ -85,7 +85,7 @@ function c101102072.lvop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetValue
(
lvl
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
tc
:
RegisterEffect
(
e1
)
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
e
:
GetHandler
()
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetCode
(
EFFECT_UPDATE_RANK
)
e2
:
SetValue
(
lvl
)
...
...
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