Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
P
pre-release-database-cdb
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
liucerf
pre-release-database-cdb
Commits
ed31b28f
Commit
ed31b28f
authored
Mar 12, 2025
by
wind2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix サイコガンナーMk-Ⅱ
parent
81e883f1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
5 deletions
+9
-5
DUAD.cdb
DUAD.cdb
+0
-0
script/c101301040.lua
script/c101301040.lua
+9
-5
No files found.
DUAD.cdb
View file @
ed31b28f
No preview for this file type
script/c101301040.lua
View file @
ed31b28f
...
...
@@ -23,6 +23,7 @@ function s.initial_effect(c)
e2
:
SetCode
(
EVENT_FREE_CHAIN
)
e2
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetHintTiming
(
0
,
TIMING_MAIN_END
)
e2
:
SetCountLimit
(
1
,
id
)
e2
:
SetCondition
(
s
.
rmcon
)
e2
:
SetCost
(
s
.
rmcost
)
...
...
@@ -43,12 +44,12 @@ function s.sptg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
end
function
s
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateTo
Effect
(
e
)
then
if
tc
:
IsRelateTo
Chain
(
)
then
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
end
function
s
.
rmcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetCurrentPhase
()
==
PHASE_MAIN1
or
Duel
.
GetCurrentPhase
()
==
PHASE_MAIN2
return
Duel
.
IsMainPhase
()
end
function
s
.
cfilter
(
c
)
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToRemoveAsCost
()
...
...
@@ -71,8 +72,11 @@ function s.rmtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
end
function
s
.
rmop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToEffect
(
e
)
and
Duel
.
Remove
(
tc
,
POS_FACEUP
,
REASON_EFFECT
)
~=
0
then
Duel
.
BreakEffect
()
Duel
.
Recover
(
tp
,
tc
:
GetBaseAttack
(),
REASON_EFFECT
)
if
tc
:
IsRelateToChain
()
and
tc
:
IsType
(
TYPE_MONSTER
)
and
Duel
.
Remove
(
tc
,
POS_FACEUP
,
REASON_EFFECT
)
>
0
then
local
atk
=
tc
:
GetTextAttack
()
if
atk
>
0
then
Duel
.
BreakEffect
()
Duel
.
Recover
(
tp
,
atk
,
REASON_EFFECT
)
end
end
end
\ No newline at end of file
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