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
3c794f51
Commit
3c794f51
authored
Dec 26, 2013
by
VanillaSalt
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #664 from sidschingis/master
fix
parents
164ae303
34b3e793
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
13 additions
and
9 deletions
+13
-9
script/c14001430.lua
script/c14001430.lua
+1
-1
script/c16037007.lua
script/c16037007.lua
+1
-1
script/c21702241.lua
script/c21702241.lua
+2
-1
script/c4206964.lua
script/c4206964.lua
+1
-0
script/c50903514.lua
script/c50903514.lua
+1
-1
script/c63227401.lua
script/c63227401.lua
+1
-1
script/c70423794.lua
script/c70423794.lua
+2
-1
script/c75524092.lua
script/c75524092.lua
+2
-1
script/c93108839.lua
script/c93108839.lua
+2
-2
No files found.
script/c14001430.lua
View file @
3c794f51
...
...
@@ -48,7 +48,7 @@ function c14001430.repfilter(c,tp)
return
c
:
IsControler
(
tp
)
and
c
:
IsLocation
(
LOCATION_GRAVE
)
and
c
:
GetDestination
()
==
LOCATION_DECK
and
c
:
IsType
(
TYPE_MONSTER
)
end
function
c14001430
.
reptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
bit
.
band
(
r
,
REASON_EFFECT
)
~=
0
and
re
:
IsActiveType
(
TYPE_MONSTER
)
if
chk
==
0
then
return
bit
.
band
(
r
,
REASON_EFFECT
)
~=
0
and
re
and
re
:
IsActiveType
(
TYPE_MONSTER
)
and
re
:
GetHandler
():
IsSetCard
(
0x71
)
and
eg
:
IsExists
(
c14001430
.
repfilter
,
1
,
nil
,
tp
)
end
if
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
14001430
,
0
))
then
local
g
=
eg
:
Filter
(
c14001430
.
repfilter
,
nil
,
tp
)
...
...
script/c16037007.lua
View file @
3c794f51
...
...
@@ -21,7 +21,7 @@ function c16037007.discon(e,tp,eg,ep,ev,re,r,rp)
if
e
:
GetHandler
():
IsStatus
(
STATUS_BATTLE_DESTROYED
)
then
return
false
end
if
not
re
:
IsHasProperty
(
EFFECT_FLAG_CARD_TARGET
)
then
return
false
end
local
tg
=
Duel
.
GetChainInfo
(
ev
,
CHAININFO_TARGET_CARDS
)
return
tg
:
IsContains
(
e
:
GetHandler
())
and
Duel
.
IsChainNegatable
(
ev
)
return
tg
and
tg
:
IsContains
(
e
:
GetHandler
())
and
Duel
.
IsChainNegatable
(
ev
)
end
function
c16037007
.
discost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
CheckRemoveOverlayCard
(
tp
,
1
,
REASON_COST
)
end
...
...
script/c21702241.lua
View file @
3c794f51
...
...
@@ -42,7 +42,8 @@ function c21702241.operation(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c21702241
.
damcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
eg
:
IsContains
(
e
:
GetHandler
():
GetEquipTarget
())
local
tg
=
e
:
GetHandler
():
GetEquipTarget
()
return
tg
and
eg
:
IsContains
(
tg
)
end
function
c21702241
.
damtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
IsRelateToEffect
(
e
)
...
...
script/c4206964.lua
View file @
3c794f51
...
...
@@ -14,6 +14,7 @@ function c4206964.initial_effect(c)
c
:
RegisterEffect
(
e2
)
end
function
c4206964
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
not
eg
then
return
false
end
local
tc
=
eg
:
GetFirst
()
if
chkc
then
return
chkc
==
tc
end
if
chk
==
0
then
return
ep
~=
tp
and
tc
:
IsFaceup
()
and
tc
:
GetAttack
()
>=
1000
and
tc
:
IsOnField
()
...
...
script/c50903514.lua
View file @
3c794f51
...
...
@@ -81,7 +81,7 @@ function c50903514.sptg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
end
function
c50903514
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToEffect
(
e
)
then
if
tc
and
tc
:
IsRelateToEffect
(
e
)
then
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
end
script/c63227401.lua
View file @
3c794f51
...
...
@@ -49,7 +49,7 @@ function c63227401.discon(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
e
:
GetLabelObject
()
if
tc
:
GetFlagEffect
(
63227401
)
==
0
or
not
re
:
IsHasProperty
(
EFFECT_FLAG_CARD_TARGET
)
then
return
false
end
local
g
=
Duel
.
GetChainInfo
(
ev
,
CHAININFO_TARGET_CARDS
)
return
g
:
IsContains
(
tc
)
and
re
:
IsActiveType
(
TYPE_MONSTER
)
return
g
and
g
:
IsContains
(
tc
)
and
re
:
IsActiveType
(
TYPE_MONSTER
)
end
function
c63227401
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateEffect
(
ev
)
...
...
script/c70423794.lua
View file @
3c794f51
...
...
@@ -50,7 +50,8 @@ function c70423794.operation(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c70423794
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
eg
:
IsContains
(
e
:
GetHandler
():
GetEquipTarget
())
local
tg
=
e
:
GetHandler
():
GetEquipTarget
()
return
tg
and
eg
:
IsContains
(
tg
)
end
function
c70423794
.
desfilter
(
c
)
return
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
and
c
:
IsDestructable
()
...
...
script/c75524092.lua
View file @
3c794f51
...
...
@@ -51,7 +51,8 @@ function c75524092.operation(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c75524092
.
desreptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
GetEquipTarget
():
IsReason
(
REASON_BATTLE
)
end
local
tg
=
e
:
GetHandler
():
GetEquipTarget
()
if
chk
==
0
then
return
tg
and
tg
:
IsReason
(
REASON_BATTLE
)
end
return
true
end
function
c75524092
.
desrepop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
script/c93108839.lua
View file @
3c794f51
...
...
@@ -20,9 +20,9 @@ end
function
c93108839
.
eqtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
tp
)
and
c93108839
.
filter
(
chkc
)
end
if
chk
==
0
then
return
e
:
GetHandler
():
GetFlagEffect
(
93108839
)
==
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
and
Duel
.
IsExistingTarget
(
Card
.
IsFaceup
,
tp
,
LOCATION_MZONE
,
0
,
1
,
e
:
GetHandler
())
end
and
Duel
.
IsExistingTarget
(
c93108839
.
filter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
e
:
GetHandler
())
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_EQUIP
)
local
g
=
Duel
.
SelectTarget
(
tp
,
Card
.
IsFaceup
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
e
:
GetHandler
())
local
g
=
Duel
.
SelectTarget
(
tp
,
c93108839
.
filter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
e
:
GetHandler
())
Duel
.
SetOperationInfo
(
0
,
CATEGORY_EQUIP
,
g
,
1
,
0
,
0
)
e
:
GetHandler
():
RegisterFlagEffect
(
93108839
,
RESET_EVENT
+
0x7e0000
+
RESET_PHASE
+
PHASE_END
,
0
,
1
)
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