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
3
Merge Requests
3
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
ygopro-scripts-888
Commits
598b660b
Commit
598b660b
authored
Mar 28, 2024
by
八宫一月
Committed by
GitHub
Mar 28, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix プリンシパグ (#2462)
parent
d7e35731
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
c11496832.lua
c11496832.lua
+5
-3
No files found.
c11496832.lua
View file @
598b660b
...
...
@@ -6,6 +6,8 @@ function s.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetCountLimit
(
1
,
id
)
e1
:
SetCondition
(
aux
.
bpcon
)
e1
:
SetTarget
(
s
.
bttg
)
e1
:
SetOperation
(
s
.
btop
)
c
:
RegisterEffect
(
e1
)
...
...
@@ -34,8 +36,8 @@ function s.initial_effect(c)
e3
:
SetOperation
(
s
.
thop2
)
c
:
RegisterEffect
(
e3
)
end
function
s
.
bfilter
(
c
,
e
,
tp
)
return
not
c
:
IsSummonableCard
()
and
c
:
IsSetCard
(
0x52
)
function
s
.
bfilter
(
c
)
return
c
:
IsFaceup
()
and
not
c
:
IsSummonableCard
()
and
c
:
IsSetCard
(
0x52
)
and
not
c
:
IsHasEffect
(
EFFECT_EXTRA_ATTACK
)
end
function
s
.
bttg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
tp
)
and
s
.
bfilter
(
chkc
)
end
...
...
@@ -95,4 +97,4 @@ function s.thop2(e,tp,eg,ep,ev,re,r,rp)
if
g
:
GetCount
()
>
0
then
Duel
.
SendtoHand
(
g
,
tp
,
REASON_EFFECT
)
end
end
\ No newline at end of file
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