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
...
@@ -139,23 +139,20 @@ end
function
c33900648
.
desfilter
(
c
)
function
c33900648
.
desfilter
(
c
)
return
c
:
IsPosition
(
POS_FACEUP_DEFENSE
)
return
c
:
IsPosition
(
POS_FACEUP_DEFENSE
)
end
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
()
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
if
chk
==
0
then
return
true
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
Duel
.
Hint
(
HINT_OPSELECTED
,
1
-
turnp
,
aux
.
Stringid
(
33900648
,
1
))
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
))
end
end
function
c33900648
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c33900648
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
bit
.
band
(
c33900648
.
attributechk
(
Duel
.
GetTurnPlayer
()),
ATTRIBUTE_EARTH
)
==
0
local
turnp
=
Duel
.
GetTurnPlayer
()
or
Duel
.
IsPlayerAffectedByEffect
(
Duel
.
GetTurnPlayer
(),
97811903
)
then
return
end
if
bit
.
band
(
c33900648
.
attributechk
(
turnp
),
ATTRIBUTE_EARTH
)
==
0
local
tc
=
Duel
.
GetFirstTarget
()
or
Duel
.
IsPlayerAffectedByEffect
(
turnp
,
97811903
)
then
return
end
if
tc
and
tc
:
IsRelateToEffect
(
e
)
and
tc
:
IsControler
(
Duel
.
GetTurnPlayer
())
and
tc
:
IsType
(
TYPE_MONSTER
)
and
tc
:
IsPosition
(
POS_FACEUP_DEFENSE
)
then
Duel
.
Hint
(
HINT_SELECTMSG
,
turnp
,
HINTMSG_DESTROY
)
Duel
.
Destroy
(
tc
,
REASON_EFFECT
)
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
end
end
function
c33900648
.
hdcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
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)
...
@@ -165,12 +162,13 @@ function c33900648.hdtg(e,tp,eg,ep,ev,re,r,rp,chk)
if
chk
==
0
then
return
true
end
if
chk
==
0
then
return
true
end
local
turnp
=
Duel
.
GetTurnPlayer
()
local
turnp
=
Duel
.
GetTurnPlayer
()
Duel
.
SetOperationInfo
(
0
,
CATEGORY_HANDES
,
nil
,
0
,
turnp
,
1
)
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
end
function
c33900648
.
hdop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c33900648
.
hdop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
bit
.
band
(
c33900648
.
attributechk
(
Duel
.
GetTurnPlayer
()),
ATTRIBUTE_WATER
)
==
0
local
turnp
=
Duel
.
GetTurnPlayer
()
or
Duel
.
IsPlayerAffectedByEffect
(
Duel
.
GetTurnPlayer
(),
97811903
)
then
return
end
if
bit
.
band
(
c33900648
.
attributechk
(
turnp
),
ATTRIBUTE_WATER
)
==
0
Duel
.
DiscardHand
(
Duel
.
GetTurnPlayer
(),
nil
,
1
,
1
,
REASON_EFFECT
+
REASON_DISCARD
)
or
Duel
.
IsPlayerAffectedByEffect
(
turnp
,
97811903
)
then
return
end
Duel
.
DiscardHand
(
turnp
,
nil
,
1
,
1
,
REASON_EFFECT
+
REASON_DISCARD
)
end
end
function
c33900648
.
damcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c33900648
.
damcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
bit
.
band
(
c33900648
.
attributechk
(
Duel
.
GetTurnPlayer
()),
ATTRIBUTE_FIRE
)
~=
0
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)
...
@@ -179,12 +177,13 @@ function c33900648.damtg(e,tp,eg,ep,ev,re,r,rp,chk)
if
chk
==
0
then
return
true
end
if
chk
==
0
then
return
true
end
local
turnp
=
Duel
.
GetTurnPlayer
()
local
turnp
=
Duel
.
GetTurnPlayer
()
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DAMAGE
,
nil
,
0
,
turnp
,
1000
)
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
end
function
c33900648
.
damop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c33900648
.
damop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
bit
.
band
(
c33900648
.
attributechk
(
Duel
.
GetTurnPlayer
()),
ATTRIBUTE_FIRE
)
==
0
local
turnp
=
Duel
.
GetTurnPlayer
()
or
Duel
.
IsPlayerAffectedByEffect
(
Duel
.
GetTurnPlayer
(),
97811903
)
then
return
end
if
bit
.
band
(
c33900648
.
attributechk
(
turnp
),
ATTRIBUTE_FIRE
)
==
0
Duel
.
Damage
(
Duel
.
GetTurnPlayer
(),
1000
,
REASON_EFFECT
)
or
Duel
.
IsPlayerAffectedByEffect
(
turnp
,
97811903
)
then
return
end
Duel
.
Damage
(
turnp
,
1000
,
REASON_EFFECT
)
end
end
function
c33900648
.
windcon1
(
e
)
function
c33900648
.
windcon1
(
e
)
local
tp
=
e
:
GetHandlerPlayer
()
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