Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-scripts-888
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
Vee4
ygopro-scripts-888
Commits
233692df
Commit
233692df
authored
Jul 27, 2022
by
mercury233
Committed by
GitHub
Jul 27, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix BF-孤高のシルバー・ウィンド
parent
d16d56c9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
12 deletions
+15
-12
c33236860.lua
c33236860.lua
+15
-12
No files found.
c33236860.lua
View file @
233692df
...
@@ -15,14 +15,16 @@ function c33236860.initial_effect(c)
...
@@ -15,14 +15,16 @@ function c33236860.initial_effect(c)
e1
:
SetTarget
(
c33236860
.
destg
)
e1
:
SetTarget
(
c33236860
.
destg
)
e1
:
SetOperation
(
c33236860
.
desop
)
e1
:
SetOperation
(
c33236860
.
desop
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
--
destroy replace
--
indes
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_
CONTINUOUS
+
EFFECT_TYPE_
FIELD
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetCode
(
EFFECT_
DESTROY_REPLACE
)
e2
:
SetCode
(
EFFECT_
INDESTRUCTABLE_COUNT
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetCondition
(
c33236860
.
drpcon
)
e2
:
SetTargetRange
(
LOCATION_MZONE
,
0
)
e2
:
SetTarget
(
c33236860
.
drptg
)
e2
:
SetCountLimit
(
1
)
e2
:
SetValue
(
aux
.
TRUE
)
e2
:
SetCondition
(
c33236860
.
indcon
)
e2
:
SetTarget
(
c33236860
.
indtg
)
e2
:
SetValue
(
c33236860
.
valcon
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
function
c33236860
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c33236860
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
@@ -59,11 +61,12 @@ function c33236860.desop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -59,11 +61,12 @@ function c33236860.desop(e,tp,eg,ep,ev,re,r,rp)
local
sg
=
g
:
Filter
(
c33236860
.
desfilter
,
nil
,
e
,
c
:
GetAttack
())
local
sg
=
g
:
Filter
(
c33236860
.
desfilter
,
nil
,
e
,
c
:
GetAttack
())
Duel
.
Destroy
(
sg
,
REASON_EFFECT
)
Duel
.
Destroy
(
sg
,
REASON_EFFECT
)
end
end
function
c33236860
.
drpcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c33236860
.
indcon
(
e
)
return
r
==
REASON_BATTLE
and
tp
~=
Duel
.
GetTurnPlayer
()
and
eg
:
GetFirst
():
IsSetCard
(
0x33
)
return
Duel
.
GetTurnPlayer
()
==
1
-
e
:
GetHandlerPlayer
(
)
end
end
function
c33236860
.
drptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c33236860
.
indtg
(
e
,
c
)
if
chk
==
0
then
return
e
:
GetHandler
():
GetFlagEffect
(
33236860
)
==
0
end
return
c
:
IsSetCard
(
0x33
)
e
:
GetHandler
():
RegisterFlagEffect
(
33236860
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
0
,
1
)
end
return
true
function
c33236860
.
valcon
(
e
,
re
,
r
,
rp
)
return
bit
.
band
(
r
,
REASON_BATTLE
)
~=
0
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