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
Soulgamer
ygopro-222DIY-cards
Commits
f03cf20a
Commit
f03cf20a
authored
Apr 15, 2020
by
gg123gg
Committed by
GitHub
Apr 15, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add files via upload
parent
d869638c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
12 deletions
+2
-12
expansions/script/c12043000.lua
expansions/script/c12043000.lua
+1
-11
expansions/script/c960005.lua
expansions/script/c960005.lua
+1
-1
No files found.
expansions/script/c12043000.lua
View file @
f03cf20a
...
...
@@ -66,7 +66,7 @@ function tayu_frtlk.thop(e,tp,eg,ep,ev,re,r,rp)
tc
=
th
:
GetNext
()
end
end
function
tayu_frtlk
.
summon_effect
(
c
,
mm
,
cate
,
tt
,
con
,
tg
,
op
)
function
tayu_frtlk
.
summon_effect
(
c
,
mm
,
cate
,
con
,
tg
,
op
)
--to hand
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
mm
,
3
))
...
...
@@ -80,11 +80,9 @@ function tayu_frtlk.summon_effect(c,mm,cate,tt,con,tg,op)
e1
:
SetTarget
(
tg
)
e1
:
SetOperation
(
op
)
c
:
RegisterEffect
(
e1
)
if
tt
then
local
e2
=
e1
:
Clone
()
e2
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
c
:
RegisterEffect
(
e2
)
end
return
e1
and
e2
end
function
tayu_frtlk
.
SpecialSummonFun
(
c
)
...
...
@@ -115,14 +113,6 @@ end
function
tayu_frtlk
.
rfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsReason
(
REASON_EFFECT
)
and
c
:
GetReasonEffect
():
GetHandler
():
IsSetCard
(
0xafaa
)
and
c
:
GetReasonEffect
():
GetHandler
():
IsType
(
TYPE_MONSTER
)
end
function
tayu_frtlk
.
efspcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
return
(
c
:
IsSummonType
(
SUMMON_TYPE_SPECIAL
)
and
c
:
GetReasonEffect
(
REASON_EFFECT
)
)
or
c
:
IsSummonType
(
SUMMON_TYPE_NORMAL
)
end
function
tayu_frtlk
.
efspcon1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
return
c
:
IsSummonType
(
SUMMON_TYPE_SPECIAL
)
end
if
not
cm
then
return
end
function
cm
.
initial_effect
(
c
)
local
e1
=
tayu_frtlk
.
CostCharge
(
c
,
m
)
...
...
expansions/script/c960005.lua
View file @
f03cf20a
...
...
@@ -63,7 +63,7 @@ function c960005.distarget(e,c)
end
function
c960005
.
disoperation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tl
=
Duel
.
GetChainInfo
(
ev
,
CHAININFO_TRIGGERING_LOCATION
)
if
bit
.
band
(
tl
,
LOCATION_FZONE
+
LOCATION_GRAVE
)
~=
0
and
re
:
IsType
(
TYPE_FIELD
)
then
if
bit
.
band
(
tl
,
LOCATION_FZONE
+
LOCATION_GRAVE
)
~=
0
and
re
:
Is
Active
Type
(
TYPE_FIELD
)
then
Duel
.
NegateEffect
(
ev
)
end
end
...
...
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