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
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
MyCard
ygopro
Commits
0196be45
Commit
0196be45
authored
Nov 18, 2013
by
VanillaSalt
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #633 from salix5/patch
fix
parents
7e973e46
a401fe00
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
script/c24861088.lua
script/c24861088.lua
+4
-4
script/c38007744.lua
script/c38007744.lua
+2
-2
No files found.
script/c24861088.lua
View file @
0196be45
...
...
@@ -32,12 +32,12 @@ function c24861088.initial_effect(c)
end
function
c24861088
.
checkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
not
re
:
GetHandler
():
IsSetCard
(
0x70
)
then
Duel
.
RegisterFlagEffect
(
rp
,
2486108
8
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
Duel
.
RegisterFlagEffect
(
rp
,
2486108
9
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
end
end
function
c24861088
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetFlagEffect
(
tp
,
24861088
)
==
0
end
Duel
.
RegisterFlagEffect
(
tp
,
24861088
,
RESET_PHASE
+
PHASE_END
,
EFFECT_FLAG_OATH
,
1
)
Duel
.
RegisterFlagEffect
(
tp
,
24861088
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
end
function
c24861088
.
filter
(
c
)
return
c
:
IsSetCard
(
0x70
)
and
not
c
:
IsCode
(
24861088
)
and
c
:
IsAbleToHand
()
...
...
@@ -62,8 +62,8 @@ function c24861088.spcon(e,tp,eg,ep,ev,re,r,rp)
and
not
Duel
.
IsExistingMatchingCard
(
c24861088
.
cfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
end
function
c24861088
.
spcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetFlagEffect
(
tp
,
24861088
)
==
0
end
Duel
.
RegisterFlagEffect
(
tp
,
24861088
,
RESET_PHASE
+
PHASE_END
,
EFFECT_FLAG_OATH
,
1
)
if
chk
==
0
then
return
Duel
.
GetFlagEffect
(
tp
,
24861088
)
==
0
and
Duel
.
GetFlagEffect
(
tp
,
24861089
)
==
0
end
Duel
.
RegisterFlagEffect
(
tp
,
24861088
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
...
...
script/c38007744.lua
View file @
0196be45
...
...
@@ -11,7 +11,7 @@ function c38007744.initial_effect(c)
end
function
c38007744
.
spcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
return
Duel
.
GetFieldGroupCount
(
c
:
GetControler
(),
LOCATION_
MZONE
,
0
)
==
0
and
Duel
.
GetFieldGroupCount
(
c
:
GetControler
(),
0
,
LOCATION_
MZONE
)
>
0
return
Duel
.
GetFieldGroupCount
(
c
:
GetControler
(),
LOCATION_
ONFIELD
,
0
)
==
0
and
Duel
.
GetFieldGroupCount
(
c
:
GetControler
(),
0
,
LOCATION_
ONFIELD
)
>
0
and
Duel
.
GetLocationCount
(
c
:
GetControler
(),
LOCATION_MZONE
)
>
0
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