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
e86962a8
Commit
e86962a8
authored
Nov 26, 2023
by
fallenstardust
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix PHNI-JP005 Script
parent
1e325032
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
7 deletions
+8
-7
script/c101203015.lua
script/c101203015.lua
+8
-7
No files found.
script/c101203015.lua
View file @
e86962a8
...
@@ -91,13 +91,14 @@ function s.rmtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
...
@@ -91,13 +91,14 @@ function s.rmtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
g2
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
g2
,
1
,
0
,
0
)
end
end
function
s
.
rmop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
rmop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
ex1
,
tg1
=
Duel
.
GetOperationInfo
(
0
,
CATEGORY_REMOVE
)
local
res1
,
tg1
=
Duel
.
GetOperationInfo
(
0
,
CATEGORY_REMOVE
)
local
ex2
,
tg2
=
Duel
.
GetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
)
local
res2
,
tg2
=
Duel
.
GetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
)
if
tg1
:
GetFirst
():
IsRelateToEffect
(
e
)
and
Duel
.
Remove
(
e
:
GetHandler
(),
POS_FACEUP
,
REASON_EFFECT
)
~=
0
then
local
c
,
rc
,
sc
=
e
:
GetHandler
(),
tg1
:
GetFirst
(),
tg2
:
GetFirst
()
Duel
.
Remove
(
tg1
,
POS_FACEUP
,
REASON_EFFECT
)
if
rc
:
IsRelateToEffect
(
e
)
and
rc
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsOnField
()
end
and
Duel
.
Remove
(
c
,
POS_FACEUP
,
REASON_EFFECT
)
*
Duel
.
Remove
(
tg1
,
POS_FACEUP
,
REASON_EFFECT
)
>
0
then
if
tg2
:
GetFirst
():
IsRelateToEffect
(
e
)
and
tg2
:
GetFirst
():
IsRace
(
RACE_FISH
)
then
if
sc
:
IsRelateToEffect
(
e
)
and
sc
:
IsRace
(
RACE_FISH
)
then
Duel
.
SpecialSummon
(
tg2
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
sc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
end
end
end
end
--spsummon
--spsummon
...
...
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