Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-THC-cards
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
八宫一月
ygopro-THC-cards
Commits
1519d984
Commit
1519d984
authored
Feb 25, 2022
by
wyykak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix 86379530 with magic
Signed-off-by:
wyykak
<
wyy_1414@126.com
>
parent
638402c6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
14 deletions
+22
-14
script/c86379530.lua
script/c86379530.lua
+22
-14
No files found.
script/c86379530.lua
View file @
1519d984
...
@@ -34,7 +34,7 @@ function c86379530.initial_effect(c)
...
@@ -34,7 +34,7 @@ function c86379530.initial_effect(c)
e4
:
SetOperation
(
c86379530
.
thop
)
e4
:
SetOperation
(
c86379530
.
thop
)
c
:
RegisterEffect
(
e4
)
c
:
RegisterEffect
(
e4
)
end
end
--
function
c86379530
.
drop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c86379530
.
drop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
pg
=
e
:
GetLabelObject
()
local
pg
=
e
:
GetLabelObject
()
...
@@ -55,21 +55,29 @@ end
...
@@ -55,21 +55,29 @@ end
function
c86379530
.
pubtg
(
e
,
c
)
function
c86379530
.
pubtg
(
e
,
c
)
return
e
:
GetLabelObject
():
IsContains
(
c
)
and
c
:
GetFlagEffect
(
86379531
)
~=
0
return
e
:
GetLabelObject
():
IsContains
(
c
)
and
c
:
GetFlagEffect
(
86379531
)
~=
0
end
end
--
function
c86379530
.
thop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c86379530
.
thop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
|
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetCode
(
EVENT_ADJUST
)
e1
:
SetOperation
(
function
(
e_
,
tp_
,
eg_
,
ep_
,
ev_
,
re_
,
r_
,
rp_
)
e1
:
Reset
()
local
sc
=
eg
:
GetFirst
()
local
sc
=
eg
:
GetFirst
()
while
sc
do
while
sc
do
if
sc
:
IsType
(
TYPE_MONSTER
)
and
sc
:
IsLocation
(
LOCATION_HAND
)
and
(
sc
:
IsSummonable
(
false
,
nil
)
or
sc
:
IsMSetable
(
false
,
nil
))
and
Duel
.
CheckSummonedCount
(
sc
)
then
Debug
.
Message
(
sc
:
IsSummonable
(
false
,
nil
))
Debug
.
Message
(
Duel
.
CheckSummonedCount
(
sc
))
if
sc
:
IsType
(
TYPE_MONSTER
)
and
sc
:
IsLocation
(
LOCATION_HAND
)
and
sc
:
IsControler
(
tp_
)
and
(
sc
:
IsSummonable
(
false
,
nil
)
or
sc
:
IsMSetable
(
false
,
nil
))
and
Duel
.
CheckSummonedCount
(
sc
)
then
Duel
.
Hint
(
HINT_CARD
,
0
,
86379530
)
Duel
.
Hint
(
HINT_CARD
,
0
,
86379530
)
if
sc
:
IsSummonable
(
true
,
nil
)
and
(
not
sc
:
IsMSetable
(
tru
e
,
nil
)
if
sc
:
IsSummonable
(
false
,
nil
)
and
(
not
sc
:
IsMSetable
(
fals
e
,
nil
)
or
Duel
.
SelectPosition
(
sc
:
GetControler
(),
sc
,
POS_FACEUP_ATTACK
+
POS_FACEDOWN_DEFENSE
)
==
POS_FACEUP_ATTACK
)
then
or
Duel
.
SelectPosition
(
sc
:
GetControler
(),
sc
,
POS_FACEUP_ATTACK
+
POS_FACEDOWN_DEFENSE
)
==
POS_FACEUP_ATTACK
)
then
Duel
.
Summon
(
sc
:
GetControler
(),
sc
,
tru
e
,
nil
)
Duel
.
Summon
(
sc
:
GetControler
(),
sc
,
fals
e
,
nil
)
else
else
Duel
.
MSet
(
sc
:
GetControler
(),
sc
,
true
,
nil
)
Duel
.
MSet
(
sc
:
GetControler
(),
sc
,
false
,
nil
)
end
end
Duel
.
IncreaseSummonedCount
(
sc
)
end
end
sc
=
eg
:
GetNext
()
sc
=
eg
:
GetNext
()
end
end
end
)
Duel
.
RegisterEffect
(
e1
,
Duel
.
GetTurnPlayer
())
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