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
MyCard
pre-release-database-cdb
Commits
f13dce20
Commit
f13dce20
authored
Jun 28, 2024
by
wind2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix クリアー・ワールド
parent
e2bde5ff
Pipeline
#28010
passed with stages
in 1 minute and 13 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
21 deletions
+20
-21
script/c33900648.lua
script/c33900648.lua
+20
-21
No files found.
script/c33900648.lua
View file @
f13dce20
...
...
@@ -139,23 +139,20 @@ end
function
c33900648
.
desfilter
(
c
)
return
c
:
IsPosition
(
POS_FACEUP_DEFENSE
)
end
function
c33900648
.
destg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c33900648
.
destg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
turnp
=
Duel
.
GetTurnPlayer
()
if
chkc
then
return
chkc
:
IsControler
(
turnp
)
and
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
c33900648
.
desfilter
(
chkc
)
end
if
chk
==
0
then
return
true
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
local
g
=
Duel
.
SelectTarget
(
turnp
,
c33900648
.
desfilter
,
turnp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
)
if
g
:
GetCount
()
>
0
then
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
g
,
1
,
0
,
0
)
end
Duel
.
Hint
(
HINT_OPSELECTED
,
1
-
tp
,
aux
.
Stringid
(
33900648
,
1
))
Duel
.
Hint
(
HINT_OPSELECTED
,
1
-
turnp
,
aux
.
Stringid
(
33900648
,
1
))
end
function
c33900648
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
bit
.
band
(
c33900648
.
attributechk
(
Duel
.
GetTurnPlayer
()),
ATTRIBUTE_EARTH
)
==
0
or
Duel
.
IsPlayerAffectedByEffect
(
Duel
.
GetTurnPlayer
(),
97811903
)
then
return
end
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
and
tc
:
IsRelateToEffect
(
e
)
and
tc
:
IsControler
(
Duel
.
GetTurnPlayer
())
and
tc
:
IsType
(
TYPE_MONSTER
)
and
tc
:
IsPosition
(
POS_FACEUP_DEFENSE
)
then
Duel
.
Destroy
(
tc
,
REASON_EFFECT
)
local
turnp
=
Duel
.
GetTurnPlayer
()
if
bit
.
band
(
c33900648
.
attributechk
(
turnp
),
ATTRIBUTE_EARTH
)
==
0
or
Duel
.
IsPlayerAffectedByEffect
(
turnp
,
97811903
)
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
turnp
,
HINTMSG_DESTROY
)
local
tg
=
Duel
.
SelectMatchingCard
(
turnp
,
c33900648
.
desfilter
,
turnp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
)
if
tg
:
GetCount
()
>
0
then
Duel
.
HintSelection
(
tg
)
Duel
.
Destroy
(
tg
,
REASON_EFFECT
)
end
end
function
c33900648
.
hdcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
@@ -165,12 +162,13 @@ function c33900648.hdtg(e,tp,eg,ep,ev,re,r,rp,chk)
if
chk
==
0
then
return
true
end
local
turnp
=
Duel
.
GetTurnPlayer
()
Duel
.
SetOperationInfo
(
0
,
CATEGORY_HANDES
,
nil
,
0
,
turnp
,
1
)
Duel
.
Hint
(
HINT_OPSELECTED
,
1
-
tp
,
aux
.
Stringid
(
33900648
,
2
))
Duel
.
Hint
(
HINT_OPSELECTED
,
1
-
t
urn
p
,
aux
.
Stringid
(
33900648
,
2
))
end
function
c33900648
.
hdop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
bit
.
band
(
c33900648
.
attributechk
(
Duel
.
GetTurnPlayer
()),
ATTRIBUTE_WATER
)
==
0
or
Duel
.
IsPlayerAffectedByEffect
(
Duel
.
GetTurnPlayer
(),
97811903
)
then
return
end
Duel
.
DiscardHand
(
Duel
.
GetTurnPlayer
(),
nil
,
1
,
1
,
REASON_EFFECT
+
REASON_DISCARD
)
local
turnp
=
Duel
.
GetTurnPlayer
()
if
bit
.
band
(
c33900648
.
attributechk
(
turnp
),
ATTRIBUTE_WATER
)
==
0
or
Duel
.
IsPlayerAffectedByEffect
(
turnp
,
97811903
)
then
return
end
Duel
.
DiscardHand
(
turnp
,
nil
,
1
,
1
,
REASON_EFFECT
+
REASON_DISCARD
)
end
function
c33900648
.
damcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
bit
.
band
(
c33900648
.
attributechk
(
Duel
.
GetTurnPlayer
()),
ATTRIBUTE_FIRE
)
~=
0
...
...
@@ -179,12 +177,13 @@ function c33900648.damtg(e,tp,eg,ep,ev,re,r,rp,chk)
if
chk
==
0
then
return
true
end
local
turnp
=
Duel
.
GetTurnPlayer
()
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DAMAGE
,
nil
,
0
,
turnp
,
1000
)
Duel
.
Hint
(
HINT_OPSELECTED
,
1
-
tp
,
aux
.
Stringid
(
33900648
,
3
))
Duel
.
Hint
(
HINT_OPSELECTED
,
1
-
t
urn
p
,
aux
.
Stringid
(
33900648
,
3
))
end
function
c33900648
.
damop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
bit
.
band
(
c33900648
.
attributechk
(
Duel
.
GetTurnPlayer
()),
ATTRIBUTE_FIRE
)
==
0
or
Duel
.
IsPlayerAffectedByEffect
(
Duel
.
GetTurnPlayer
(),
97811903
)
then
return
end
Duel
.
Damage
(
Duel
.
GetTurnPlayer
(),
1000
,
REASON_EFFECT
)
local
turnp
=
Duel
.
GetTurnPlayer
()
if
bit
.
band
(
c33900648
.
attributechk
(
turnp
),
ATTRIBUTE_FIRE
)
==
0
or
Duel
.
IsPlayerAffectedByEffect
(
turnp
,
97811903
)
then
return
end
Duel
.
Damage
(
turnp
,
1000
,
REASON_EFFECT
)
end
function
c33900648
.
windcon1
(
e
)
local
tp
=
e
:
GetHandlerPlayer
()
...
...
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