Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-2pick
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-2pick
Commits
8ac53af7
Commit
8ac53af7
authored
Jan 08, 2015
by
salix5
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1065 from DailyShana/patch-1
fix
parents
eefb255c
180e5d55
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
29 deletions
+2
-29
script/c29146185.lua
script/c29146185.lua
+1
-27
script/c4022819.lua
script/c4022819.lua
+1
-1
script/c53347303.lua
script/c53347303.lua
+0
-1
No files found.
script/c29146185.lua
View file @
8ac53af7
...
...
@@ -22,32 +22,6 @@ function c29146185.initial_effect(c)
e2
:
SetTarget
(
c29146185
.
destg
)
e2
:
SetOperation
(
c29146185
.
desop
)
c
:
RegisterEffect
(
e2
)
if
not
c29146185
.
global_check
then
c29146185
.
global_check
=
true
local
ge1
=
Effect
.
CreateEffect
(
c
)
ge1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
ge1
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
ge1
:
SetOperation
(
c29146185
.
checkop
)
Duel
.
RegisterEffect
(
ge1
,
0
)
end
end
function
c29146185
.
checkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
c29146185
[
0
]
=
Duel
.
GetFlagEffect
(
0
,
29146185
)
c29146185
[
1
]
=
Duel
.
GetFlagEffect
(
1
,
29146185
)
local
tc
=
eg
:
GetFirst
()
while
tc
do
local
sump
=
tc
:
GetSummonPlayer
()
if
c29146185
[
sump
]
==
0
then
if
tc
:
GetCode
()
==
29146185
and
Duel
.
GetFlagEffect
(
sump
,
29146186
)
==
0
then
tc
:
RegisterFlagEffect
(
29146185
,
RESET_EVENT
+
0x1fe0000
+
RESET_PHASE
+
PHASE_END
,
0
,
1
)
Duel
.
RegisterFlagEffect
(
sump
,
29146186
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
else
Duel
.
RegisterFlagEffect
(
sump
,
29146185
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
c29146185
[
sump
]
=
1
end
end
tc
=
eg
:
GetNext
()
end
end
function
c29146185
.
retcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
not
re
then
return
false
end
...
...
@@ -55,7 +29,7 @@ function c29146185.retcon(e,tp,eg,ep,ev,re,r,rp)
return
rc
:
IsRace
(
RACE_SPELLCASTER
)
or
(
rc
:
IsSetCard
(
0x106e
)
and
rc
:
IsType
(
TYPE_SPELL
))
end
function
c29146185
.
retcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
Get
FlagEffect
(
tp
,
29146185
)
==
0
and
e
:
GetHandler
():
GetFlagEffect
(
29146185
)
>
0
end
if
chk
==
0
then
return
Duel
.
Get
ActivityCount
(
tp
,
ACTIVITY_SPSUMMON
)
==
1
end
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
...
...
script/c4022819.lua
View file @
8ac53af7
...
...
@@ -45,7 +45,7 @@ function c4022819.ntop(e,tp,eg,ep,ev,re,r,rp,c)
c
:
RegisterEffect
(
e1
)
end
function
c4022819
.
lvfilter
(
c
)
return
c
:
IsType
(
TYPE_NORMAL
)
and
c
:
IsRace
(
RACE_DRAGON
)
return
c
:
Is
Faceup
()
and
c
:
Is
Type
(
TYPE_NORMAL
)
and
c
:
IsRace
(
RACE_DRAGON
)
end
function
c4022819
.
lvtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
c4022819
.
lvfilter
(
chkc
)
end
...
...
script/c53347303.lua
View file @
8ac53af7
...
...
@@ -31,7 +31,6 @@ function c53347303.initial_effect(c)
e4
:
SetCategory
(
CATEGORY_DISABLE
)
e4
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_QUICK_O
)
e4
:
SetCode
(
EVENT_CHAINING
)
e4
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
+
EFFECT_FLAG_DAMAGE_CAL
)
e4
:
SetRange
(
LOCATION_MZONE
)
e4
:
SetCondition
(
c53347303
.
discon
)
e4
:
SetTarget
(
c53347303
.
distg
)
...
...
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