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
e72bd72a
Commit
e72bd72a
authored
Dec 01, 2021
by
wyykak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
daimao fix
parent
4d9b689c
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
12 deletions
+14
-12
script/c74561011.lua
script/c74561011.lua
+1
-12
script/c74561022.lua
script/c74561022.lua
+11
-0
script/c74561043.lua
script/c74561043.lua
+2
-0
No files found.
script/c74561011.lua
View file @
e72bd72a
...
...
@@ -85,22 +85,11 @@ function cCardno.spcon(e,tp,eg,ep,ev,re,r,rp)
return
eg
:
IsExists
(
cCardno
.
spfilter
,
1
,
c
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
function
cCardno
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
end
if
chk
==
0
then
return
true
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
e
:
GetHandler
(),
1
,
tp
,
e
:
GetHandler
():
GetLocation
())
end
function
cCardno
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
c
=
e
:
GetHandler
()
local
e9
=
Effect
.
CreateEffect
(
c
)
e9
:
SetType
(
EFFECT_TYPE_FIELD
)
e9
:
SetCode
(
EFFECT_CANNOT_TO_DECK
)
e9
:
SetProperty
(
EFFECT_FLAG_IGNORE_IMMUNE
+
EFFECT_FLAG_SET_AVAILABLE
)
e9
:
SetTargetRange
(
LOCATION_ONFIELD
+
LOCATION_GRAVE
,
0
)
e9
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
--Duel.RegisterEffect(e9,tp)
local
e10
=
e9
:
Clone
()
e10
:
SetCode
(
EFFECT_CANNOT_TO_HAND
)
--Duel.RegisterEffect(e10,tp)
if
c
:
IsRelateToEffect
(
e
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
(
c
:
IsLocation
(
LOCATION_GRAVE
)
or
c
:
IsLocation
(
LOCATION_HAND
))
then
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
...
...
script/c74561022.lua
View file @
e72bd72a
...
...
@@ -9,6 +9,13 @@ function c74561022.initial_effect(c)
c
:
EnableReviveLimit
()
DS
.
AddDarkSynchroProcedure
(
c
,
aux
.
FilterBoolFunction
(
Card
.
IsCode
,
74561020
),
nil
,
nil
)
DS
.
DarkSynTunerLimit
(
c
)
--synchro limit
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_CANNOT_BE_SYNCHRO_MATERIAL
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetValue
(
cCardno
.
synlimitMReimu
)
c
:
RegisterEffect
(
e1
)
--专 用 对 策
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetDescription
(
aux
.
Stringid
(
Cardno
,
0
))
...
...
@@ -196,6 +203,10 @@ function cCardno.synfilter(c)
return
c
:
IsSetCard
(
0x226
)
and
c
:
IsSetCard
(
0x149
)
end
function
cCardno
.
synlimit
(
e
,
c
)
if
not
c
then
return
false
end
return
not
c
:
IsSetCard
(
0x5208
)
end
function
cCardno
.
synlimitMReimu
(
e
,
c
)
if
not
c
then
return
false
end
return
not
c
:
IsSetCard
(
0x5208
)
or
c
:
IsCode
(
30001
)
end
\ No newline at end of file
script/c74561043.lua
View file @
e72bd72a
...
...
@@ -98,6 +98,7 @@ function cCardno.desop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
e1
:
SetValue
(
1000
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
c
:
RegisterEffect
(
e1
)
local
e2
=
e1
:
Clone
()
e2
:
SetCode
(
EFFECT_UPDATE_DEFENSE
)
...
...
@@ -129,6 +130,7 @@ function cCardno.ngop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
e1
:
SetValue
(
1000
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
c
:
RegisterEffect
(
e1
)
local
e2
=
e1
:
Clone
()
e2
:
SetCode
(
EFFECT_UPDATE_DEFENSE
)
...
...
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