Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro
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-520DIY
ygopro
Commits
6acb216f
Commit
6acb216f
authored
Dec 13, 2013
by
VanillaSalt
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #653 from salix5/patch2
fix
parents
ca989584
beae5993
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
17 additions
and
7 deletions
+17
-7
script/c10028593.lua
script/c10028593.lua
+1
-1
script/c30459350.lua
script/c30459350.lua
+3
-2
script/c51858306.lua
script/c51858306.lua
+1
-0
script/c58069384.lua
script/c58069384.lua
+1
-1
script/c67159705.lua
script/c67159705.lua
+2
-2
script/c97940434.lua
script/c97940434.lua
+9
-1
No files found.
script/c10028593.lua
View file @
6acb216f
--
݆h칷
--
輪廻天狗
function
c10028593
.
initial_effect
(
c
)
--spsummon
local
e1
=
Effect
.
CreateEffect
(
c
)
...
...
script/c30459350.lua
View file @
6acb216f
...
...
@@ -11,9 +11,10 @@ function c30459350.initial_effect(c)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetCode
(
EFFECT_CANNOT_REMOVE
)
e2
:
SetRange
(
LOCATION_SZONE
)
e2
:
SetProperty
(
EFFECT_FLAG_IGNORE_RANGE
+
EFFECT_FLAG_IGNORE_IMMUNE
+
EFFECT_FLAG_SET_AVAILABLE
)
e2
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e2
:
SetTargetRange
(
1
,
1
)
c
:
RegisterEffect
(
e2
)
--
--
30459350 chk
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
)
e3
:
SetCode
(
30459350
)
...
...
script/c51858306.lua
View file @
6acb216f
...
...
@@ -35,6 +35,7 @@ function c51858306.filter(c)
and
c
:
IsAbleToRemove
()
end
function
c51858306
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
IsPlayerAffectedByEffect
(
tp
,
30459350
)
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c51858306
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
)
local
tc
=
g
:
GetFirst
()
...
...
script/c58069384.lua
View file @
6acb216f
...
...
@@ -66,7 +66,7 @@ function c58069384.atkcon(e,tp,eg,ep,ev,re,r,rp)
return
Duel
.
GetCurrentPhase
()
~=
PHASE_DAMAGE
or
not
Duel
.
IsDamageCalculated
()
end
function
c58069384
.
atkfilter
(
c
)
return
c
:
IsCode
(
70095154
)
and
c
:
IsAbleToRemoveAsCost
()
return
c
:
IsCode
(
70095154
)
and
c
:
IsAbleToRemoveAsCost
()
and
(
not
c
:
IsOnField
()
or
c
:
IsFaceup
())
end
function
c58069384
.
atkcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c58069384
.
atkfilter
,
tp
,
LOCATION_HAND
+
LOCATION_ONFIELD
,
0
,
1
,
nil
)
end
...
...
script/c67159705.lua
View file @
6acb216f
...
...
@@ -55,10 +55,10 @@ function c67159705.repval(e,re,r,rp)
return
bit
.
band
(
r
,
REASON_BATTLE
)
~=
0
end
function
c67159705
.
eqlimit
(
e
,
c
)
return
c
:
IsSetCard
(
0x103
)
return
c
:
Is
Code
(
70095154
)
or
c
:
Is
SetCard
(
0x103
)
end
function
c67159705
.
filter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x103
)
and
c
:
GetUnionCount
()
==
0
return
c
:
IsFaceup
()
and
(
c
:
IsCode
(
70095154
)
or
c
:
IsSetCard
(
0x103
))
and
c
:
GetUnionCount
()
==
0
end
function
c67159705
.
eqtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
tp
)
and
c67159705
.
filter
(
chkc
)
end
...
...
script/c97940434.lua
View file @
6acb216f
--カオス
·
ハンター
--カオスハンター
function
c97940434
.
initial_effect
(
c
)
--special summon
local
e1
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -20,6 +20,14 @@ function c97940434.initial_effect(c)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetTargetRange
(
0
,
1
)
c
:
RegisterEffect
(
e2
)
--30459350 chk
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
)
e3
:
SetCode
(
30459350
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e3
:
SetTargetRange
(
0
,
1
)
c
:
RegisterEffect
(
e3
)
end
function
c97940434
.
spfilter
(
c
,
sp
)
return
c
:
GetSummonPlayer
()
==
sp
...
...
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