Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-scripts
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
Reinen
ygopro-scripts
Commits
61628831
Commit
61628831
authored
Sep 07, 2017
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
2d9a0cc9
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
2 deletions
+18
-2
c12644061.lua
c12644061.lua
+8
-0
c4064256.lua
c4064256.lua
+8
-0
c5288597.lua
c5288597.lua
+2
-2
No files found.
c12644061.lua
View file @
61628831
...
...
@@ -32,6 +32,14 @@ function c12644061.initial_effect(c)
e4
:
SetCost
(
c12644061
.
damcost
)
e4
:
SetOperation
(
c12644061
.
damop
)
c
:
RegisterEffect
(
e4
)
--12644061 chk
local
e5
=
Effect
.
CreateEffect
(
c
)
e5
:
SetType
(
EFFECT_TYPE_FIELD
)
e5
:
SetCode
(
12644061
)
e5
:
SetRange
(
LOCATION_FZONE
)
e5
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e5
:
SetTargetRange
(
1
,
1
)
c
:
RegisterEffect
(
e5
)
end
function
c12644061
.
discon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
a
=
Duel
.
GetAttacker
()
...
...
c4064256.lua
View file @
61628831
...
...
@@ -25,6 +25,14 @@ function c4064256.initial_effect(c)
local
e4
=
e3
:
Clone
()
e4
:
SetCode
(
EFFECT_CANNOT_MSET
)
c
:
RegisterEffect
(
e4
)
--4064256 chk
local
e5
=
Effect
.
CreateEffect
(
c
)
e5
:
SetType
(
EFFECT_TYPE_FIELD
)
e5
:
SetCode
(
4064256
)
e5
:
SetRange
(
LOCATION_FZONE
)
e5
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e5
:
SetTargetRange
(
1
,
1
)
c
:
RegisterEffect
(
e5
)
end
function
c4064256
.
sumlimit
(
e
,
c
,
tp
,
sumtp
)
return
bit
.
band
(
sumtp
,
SUMMON_TYPE_ADVANCE
)
==
SUMMON_TYPE_ADVANCE
and
c
:
GetRace
()
~=
RACE_ZOMBIE
...
...
c5288597.lua
View file @
61628831
...
...
@@ -20,9 +20,9 @@ function c5288597.cfilter(c,e,tp)
local
lv
=
c
:
GetOriginalLevel
()
local
rc
=
nil
local
att
=
nil
if
Duel
.
Is
Environment
(
4064256
)
then
rc
=
RACE_ZOMBIE
if
Duel
.
Is
PlayerAffectedByEffect
(
tp
,
4064256
)
then
rc
=
RACE_ZOMBIE
else
rc
=
c
:
GetOriginalRace
()
end
if
Duel
.
Is
Environment
(
12644061
)
and
c
:
IsSetCard
(
0x1034
)
then
att
=
ATTRIBUTE_DARK
if
Duel
.
Is
PlayerAffectedByEffect
(
tp
,
12644061
)
and
c
:
IsSetCard
(
0x1034
)
then
att
=
ATTRIBUTE_DARK
else
att
=
c
:
GetOriginalAttribute
()
end
return
bit
.
band
(
c
:
GetOriginalType
(),
TYPE_MONSTER
)
~=
0
and
lv
>
0
and
c
:
IsFaceup
()
and
c
:
IsAbleToGraveAsCost
()
and
Duel
.
IsExistingMatchingCard
(
c5288597
.
spfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
lv
+
1
,
rc
,
att
,
e
,
tp
)
...
...
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