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
xiaoye
ygopro-222DIY-cards
Commits
c657f084
Commit
c657f084
authored
Sep 21, 2021
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
clean useless
parent
3c4b683a
Changes
8
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
8 additions
and
8 deletions
+8
-8
expansions/script/c12043052.lua
expansions/script/c12043052.lua
+1
-1
expansions/script/c12043070.lua
expansions/script/c12043070.lua
+1
-1
expansions/script/c12048001.lua
expansions/script/c12048001.lua
+1
-1
expansions/script/c12048004.lua
expansions/script/c12048004.lua
+1
-1
expansions/script/c12048007.lua
expansions/script/c12048007.lua
+1
-1
expansions/script/c12048008.lua
expansions/script/c12048008.lua
+1
-1
expansions/script/c12048009.lua
expansions/script/c12048009.lua
+1
-1
expansions/script/c30553250.lua
expansions/script/c30553250.lua
+1
-1
No files found.
expansions/script/c12043052.lua
View file @
c657f084
...
...
@@ -66,7 +66,7 @@ function cm.cost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
RegisterFlagEffect
(
tp
,
m
+
100
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
end
function
dfilter
(
c
)
return
srre
.
check_set_FRXS
(
c
)
and
c
:
IsDualState
()
return
srre
.
check_set_FRXS
(
c
)
and
c
:
IsDualState
()
and
c
:
IsType
(
TYPE_DUAL
)
end
function
cm
.
sumfilter
(
c
)
return
c
:
IsSummonable
(
true
,
nil
)
and
c
:
IsRace
(
RACE_SEASERPENT
)
...
...
expansions/script/c12043070.lua
View file @
c657f084
...
...
@@ -70,7 +70,7 @@ function cm.negcon(e,tp,eg,ep,ev,re,r,rp)
return
rp
==
1
-
tp
and
(
re
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
and
re
:
GetHandler
():
IsPreviousLocation
(
LOCATION_HAND
)
or
re
:
IsActiveType
(
TYPE_MONSTER
)
and
bit
.
band
(
LOCATION_HAND
,
re
:
GetActivateLocation
())
~=
0
)
and
Duel
.
IsExistingMatchingCard
(
cm
.
nrfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
e
:
GetHandler
(),
e
:
GetHandler
())
and
Duel
.
IsChainNegatable
(
ev
)
end
function
cm
.
negop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
m
,
2
))
then
if
(
Duel
.
GetFlagEffect
(
tp
,
m
+
100
)
==
0
or
(
Duel
.
GetFlagEffect
(
tp
,
12043024
)
~=
0
and
Duel
.
GetFlagEffect
(
tp
,
m
+
100
)
<
2
)
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
m
,
2
))
then
Duel
.
Hint
(
HINT_CARD
,
0
,
m
)
Duel
.
NegateEffect
(
ev
)
Duel
.
RegisterFlagEffect
(
tp
,
m
+
100
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
...
...
expansions/script/c12048001.lua
View file @
c657f084
...
...
@@ -8,7 +8,7 @@ function cm.initial_effect(c)
--SpecialSummon
local
e1
=
HakaShiro
.
SPSummon
(
c
,
m
)
--SpecialSummoneffect
local
e2
=
srre
.
SPSummoneffect
(
c
,
m
,
1
,
4
,
CATEGORY_TOGRAVE
,
nil
,{
1
,
m
+
100
},
nil
,
cm
.
spcost
,
cm
.
sptg
,
cm
.
spop
)
local
e2
=
srre
.
SPSummoneffect
(
c
,
m
,
{
m
,
1
}
,
4
,
CATEGORY_TOGRAVE
,
nil
,{
1
,
m
+
100
},
nil
,
cm
.
spcost
,
cm
.
sptg
,
cm
.
spop
)
end
function
cm
.
spcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsPlayerCanDiscardDeckAsCost
(
tp
,
3
)
end
...
...
expansions/script/c12048004.lua
View file @
c657f084
...
...
@@ -5,7 +5,7 @@ local cm=_G["c"..m]
cm
.
named_with_HakaShiro
=
true
function
cm
.
initial_effect
(
c
)
--SpecialSummoneffect
local
e1
=
srre
.
SPSummoneffect
(
c
,
m
,
0
,
4
,
CATEGORY_TOGRAVE
,
nil
,{
1
,
m
},
nil
,
nil
,
cm
.
sptg
,
cm
.
spop
)
local
e1
=
srre
.
SPSummoneffect
(
c
,
m
,
{
m
,
0
}
,
4
,
CATEGORY_TOGRAVE
,
nil
,{
1
,
m
},
nil
,
nil
,
cm
.
sptg
,
cm
.
spop
)
if
not
cm
.
global_check
then
cm
.
global_check
=
true
HakaShiro_EndEffect
=
{}
...
...
expansions/script/c12048007.lua
View file @
c657f084
...
...
@@ -8,7 +8,7 @@ function cm.initial_effect(c)
--SpecialSummon
local
e1
=
HakaShiro
.
SPSummon
(
c
,
m
)
--DownSpecialSummon
local
e2
=
srre
.
SPSummoneffect
(
c
,
m
,
1
,
4
,
CATEGORY_SPECIAL_SUMMON
,
nil
,{
1
,
m
+
100
},
nil
,
nil
,
cm
.
sptg
,
cm
.
spop
)
local
e2
=
srre
.
SPSummoneffect
(
c
,
m
,
{
m
,
1
}
,
4
,
CATEGORY_SPECIAL_SUMMON
,
nil
,{
1
,
m
+
100
},
nil
,
nil
,
cm
.
sptg
,
cm
.
spop
)
--Destroy
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetDescription
(
aux
.
Stringid
(
m
,
2
))
...
...
expansions/script/c12048008.lua
View file @
c657f084
...
...
@@ -8,7 +8,7 @@ function cm.initial_effect(c)
--SpecialSummon
local
e1
=
HakaShiro
.
SPSummon
(
c
,
m
)
--to grave
local
e2
=
srre
.
SPSummoneffect
(
c
,
m
,
1
,
3
,
CATEGORY_DECKDES
,
nil
,{
1
,
m
+
100
},
cm
.
spcon
,
nil
,
cm
.
sptg
,
cm
.
spop
)
local
e2
=
srre
.
SPSummoneffect
(
c
,
m
,
{
m
,
1
}
,
3
,
CATEGORY_DECKDES
,
nil
,{
1
,
m
+
100
},
cm
.
spcon
,
nil
,
cm
.
sptg
,
cm
.
spop
)
--disable field
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
)
...
...
expansions/script/c12048009.lua
View file @
c657f084
...
...
@@ -8,7 +8,7 @@ function cm.initial_effect(c)
--SpecialSummon
local
e1
=
HakaShiro
.
SPSummon
(
c
,
m
)
--to grave
local
e2
=
srre
.
SPSummoneffect
(
c
,
m
,
1
,
3
,
CATEGORY_DECKDES
,
nil
,{
1
,
m
+
100
},
cm
.
spcon
,
nil
,
cm
.
sptg
,
cm
.
spop
)
local
e2
=
srre
.
SPSummoneffect
(
c
,
m
,
{
m
,
1
}
,
3
,
CATEGORY_DECKDES
,
nil
,{
1
,
m
+
100
},
cm
.
spcon
,
nil
,
cm
.
sptg
,
cm
.
spop
)
--disable spsummon
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_IGNITION
)
...
...
expansions/script/c30553250.lua
View file @
c657f084
...
...
@@ -15,7 +15,7 @@ function cm.initial_effect(c)
e2
:
SetTarget
(
function
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsOnField
()
and
cm
.
tf21
(
chkc
)
and
chkc
~=
e
:
GetHandler
()
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
tf22
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
and
Duel
.
IsExistingTarget
(
cm
.
tf21
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
nil
)
end
and
Duel
.
IsExistingTarget
(
cm
.
tf21
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
e
:
GetHandler
()
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
local
tc
=
Duel
.
SelectTarget
(
tp
,
cm
.
tf21
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
1
,
e
:
GetHandler
())
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
nil
,
1
,
tp
,
LOCATION_DECK
)
...
...
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