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
GuGu
ygopro-THC-cards
Commits
c1aceca2
You need to sign in or sign up before continuing.
Commit
c1aceca2
authored
Mar 31, 2022
by
伊蕾娜
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:c74561019.lua 修复洛克沙不能用效果特招的bug
parent
5f68cb64
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
3 deletions
+11
-3
script/c74561019.lua
script/c74561019.lua
+11
-3
No files found.
script/c74561019.lua
View file @
c1aceca2
...
@@ -4,7 +4,13 @@ local Cardno=74561019
...
@@ -4,7 +4,13 @@ local Cardno=74561019
local
cCardno
=
c74561019
local
cCardno
=
c74561019
function
cCardno
.
initial_effect
(
c
)
function
cCardno
.
initial_effect
(
c
)
DS
.
DarkTunerLimit
(
c
)
DS
.
DarkTunerLimit
(
c
)
c
:
EnableReviveLimit
()
--splimit
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetCode
(
EFFECT_SPSUMMON_CONDITION
)
e1
:
SetValue
(
cCardno
.
splimit
)
c
:
RegisterEffect
(
e1
)
--copy
--copy
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e2
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
...
@@ -27,6 +33,10 @@ function cCardno.initial_effect(c)
...
@@ -27,6 +33,10 @@ function cCardno.initial_effect(c)
e3
:
SetOperation
(
cCardno
.
rbop
)
e3
:
SetOperation
(
cCardno
.
rbop
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
end
end
--splimit
function
cCardno
.
splimit
(
e
,
se
,
sp
,
st
)
return
se
:
IsHasType
(
EFFECT_TYPE_ACTIONS
)
end
--rebirth
--rebirth
function
cCardno
.
rbfilter
(
c
)
function
cCardno
.
rbfilter
(
c
)
return
c
:
IsLevelAbove
(
1
)
and
c
:
IsAbleToRemoveAsCost
()
return
c
:
IsLevelAbove
(
1
)
and
c
:
IsAbleToRemoveAsCost
()
...
@@ -48,7 +58,6 @@ function cCardno.rbop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -48,7 +58,6 @@ function cCardno.rbop(e,tp,eg,ep,ev,re,r,rp)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
tc
=
Duel
.
GetFirstTarget
()
local
tc
=
Duel
.
GetFirstTarget
()
if
c
:
IsRelateToEffect
(
e
)
and
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
true
,
true
,
POS_FACEUP
)
>
0
then
if
c
:
IsRelateToEffect
(
e
)
and
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
true
,
true
,
POS_FACEUP
)
>
0
then
c
:
CompleteProcedure
()
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_UPDATE_LEVEL
)
e1
:
SetCode
(
EFFECT_UPDATE_LEVEL
)
...
@@ -87,7 +96,6 @@ function cCardno.cpop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -87,7 +96,6 @@ function cCardno.cpop(e,tp,eg,ep,ev,re,r,rp)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
tc
=
Duel
.
GetFirstTarget
()
local
tc
=
Duel
.
GetFirstTarget
()
if
c
:
IsRelateToEffect
(
e
)
and
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
true
,
true
,
POS_FACEUP
)
>
0
then
if
c
:
IsRelateToEffect
(
e
)
and
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
true
,
true
,
POS_FACEUP
)
>
0
then
c
:
CompleteProcedure
()
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_UPDATE_LEVEL
)
e1
:
SetCode
(
EFFECT_UPDATE_LEVEL
)
...
...
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