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
alstroemeria-silentlove
ygopro-222DIY-cards
Commits
b4148a45
Commit
b4148a45
authored
Feb 15, 2021
by
TanakaKotoha
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
daniaozhuanzhuanzhuan
parent
8e951752
Pipeline
#2422
passed with stages
in 37 minutes and 25 seconds
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
14 deletions
+12
-14
expansions/222DIY.cdb
expansions/222DIY.cdb
+0
-0
expansions/pics/16160010.jpg
expansions/pics/16160010.jpg
+0
-0
expansions/script/c16160009.lua
expansions/script/c16160009.lua
+8
-12
expansions/script/c33500120.lua
expansions/script/c33500120.lua
+4
-2
No files found.
expansions/222DIY.cdb
View file @
b4148a45
No preview for this file type
expansions/pics/16160010.jpg
0 → 100644
View file @
b4148a45
486 KB
expansions/script/c16160009.lua
View file @
b4148a45
--残存的怨灵 开膛手杰克
local
m
=
m
local
m
=
16160009
local
cm
=
_G
[
"c"
..
m
]
function
cm
.
initial_effect
(
c
)
c
:
EnableReviveLimit
()
...
...
@@ -115,27 +115,23 @@ function cm.destg(e,tp,eg,ep,ev,re,r,rp,chk)
end
function
cm
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
c
:
IsRelateTo
Battle
(
)
then
if
c
:
IsRelateTo
Effect
(
e
)
then
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
1
))
e1
:
SetCategory
(
CATEGORY_TOGRAVE
)
e1
:
SetType
(
EFFECT_TYPE_
FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetType
(
EFFECT_TYPE_
SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetCode
(
EVENT_BATTLE_START
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CANNOT_NEGATE
)
e1
:
SetCondition
(
cm
.
descon
)
e1
:
SetOperation
(
cm
.
desop
)
e1
:
SetOperation
(
cm
.
desop1
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
c
:
RegisterEffect
(
e1
,
true
)
end
end
function
cm
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
bc
=
c
:
GetBattleTarget
()
return
bc
end
function
cm
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
desop1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
bc
=
e
:
GetHandler
():
GetBattleTarget
()
if
bc
:
IsRelateToBattle
()
then
if
bc
then
Duel
.
Hint
(
HINT_CARD
,
1
-
tp
,
m
)
Duel
.
Hint
(
HINT_CARD
,
tp
,
m
)
Duel
.
SendtoGrave
(
bc
,
REASON_RULE
+
REASON_EFFECT
)
end
end
...
...
expansions/script/c33500120.lua
View file @
b4148a45
...
...
@@ -27,7 +27,8 @@ function cm.initial_effect(c)
c
:
RegisterEffect
(
e11
)
end
function
cm
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
re
:
GetHandler
():
GetLocation
()
~=
LOCATION_ONFIELD
local
loc
=
LOCATION_ONFIELD
return
bit
.
band
(
loc
,
re
:
GetHandler
():
GetLocation
())
==
0
end
function
cm
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
)
>
0
end
...
...
@@ -48,7 +49,8 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Damage
(
p
,
d
,
REASON_EFFECT
)
end
function
cm
.
disop1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
re
:
GetHandler
():
GetLocation
()
~=
LOCATION_ONFIELD
local
loc
=
LOCATION_ONFIELD
if
bit
.
band
(
loc
,
re
:
GetHandler
():
GetLocation
())
==
0
then
Duel
.
NegateEffect
(
ev
)
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