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
wyykak
ygopro
Commits
3a04f42d
Commit
3a04f42d
authored
Aug 26, 2014
by
VanillaSalt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
977c89f5
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
32 additions
and
42 deletions
+32
-42
script/c20366274.lua
script/c20366274.lua
+2
-2
script/c29400787.lua
script/c29400787.lua
+8
-13
script/c48424886.lua
script/c48424886.lua
+1
-1
script/c74822425.lua
script/c74822425.lua
+1
-1
script/c7617062.lua
script/c7617062.lua
+10
-12
script/c94977269.lua
script/c94977269.lua
+1
-2
script/c99795159.lua
script/c99795159.lua
+9
-11
No files found.
script/c20366274.lua
View file @
3a04f42d
...
...
@@ -53,7 +53,7 @@ function c20366274.ffilter1(c)
return
c
:
IsSetCard
(
0x9d
)
end
function
c20366274
.
ffilter2
(
c
)
return
c
:
IsAttribute
(
ATTRIBUTE_LIGHT
)
or
c
:
IsHasEffect
(
4904633
)
~=
0
return
c
:
IsAttribute
(
ATTRIBUTE_LIGHT
)
or
c
:
IsHasEffect
(
4904633
)
end
function
c20366274
.
exfilter
(
c
,
g
)
return
c
:
IsFaceup
()
and
c
:
IsCanBeFusionMaterial
()
and
not
g
:
IsContains
(
c
)
...
...
@@ -174,7 +174,7 @@ function c20366274.tgop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
SendtoGrave
(
g
,
REASON_EFFECT
)
end
end
function
c20366274
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c20366274
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
bc
=
c
:
GetBattleTarget
()
return
bc
and
bit
.
band
(
bc
:
GetSummonType
(),
SUMMON_TYPE_SPECIAL
)
==
SUMMON_TYPE_SPECIAL
...
...
script/c29400787.lua
View file @
3a04f42d
...
...
@@ -19,10 +19,9 @@ function c29400787.initial_effect(c)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
)
e3
:
SetCode
(
EFFECT_DIRECT_ATTACK
)
e3
:
SetProperty
(
EFFECT_FLAG_SET_AVAILABLE
)
e3
:
SetRange
(
LOCATION_SZONE
)
e3
:
SetTargetRange
(
LOCATION_MZONE
,
LOCATION_MZONE
)
e3
:
Set
Condition
(
c29400787
.
dircon
)
e3
:
Set
Target
(
c29400787
.
dirtg
)
c
:
RegisterEffect
(
e3
)
--tohand
local
e4
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -45,9 +44,15 @@ function c29400787.initial_effect(c)
e5
:
SetValue
(
0
)
c
:
RegisterEffect
(
e5
)
end
function
c29400787
.
cfilter
(
e
,
c
)
function
c29400787
.
bttg
(
e
,
c
)
return
c
:
IsFacedown
()
end
function
c29400787
.
btval
(
e
,
c
)
return
not
c
:
IsImmuneToEffect
(
e
)
end
function
c29400787
.
dirtg
(
e
,
c
)
return
not
Duel
.
IsExistingMatchingCard
(
Card
.
IsFaceup
,
c
:
GetControler
(),
0
,
LOCATION_MZONE
,
1
,
nil
)
end
function
c29400787
.
thcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetAttacker
():
IsControler
(
1
-
tp
)
and
Duel
.
GetAttackTarget
()
==
nil
end
...
...
@@ -67,13 +72,3 @@ function c29400787.thop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
end
end
function
c29400787
.
bttg
(
e
,
c
)
return
c
:
IsFacedown
()
end
function
c29400787
.
btval
(
e
,
c
)
return
not
c
:
IsImmuneToEffect
(
e
)
end
function
c29400787
.
dircon
(
e
)
local
tp
=
Duel
.
GetTurnPlayer
()
return
not
Duel
.
IsExistingMatchingCard
(
Card
.
IsFaceup
,
tp
,
0
,
LOCATION_MZONE
,
1
,
nil
)
end
\ No newline at end of file
script/c48424886.lua
View file @
3a04f42d
...
...
@@ -45,7 +45,7 @@ function c48424886.ffilter1(c)
return
c
:
IsSetCard
(
0x9d
)
end
function
c48424886
.
ffilter2
(
c
)
return
c
:
IsAttribute
(
ATTRIBUTE_FIRE
)
or
c
:
IsHasEffect
(
4904633
)
~=
0
return
c
:
IsAttribute
(
ATTRIBUTE_FIRE
)
or
c
:
IsHasEffect
(
4904633
)
end
function
c48424886
.
exfilter
(
c
,
g
)
return
c
:
IsFaceup
()
and
c
:
IsCanBeFusionMaterial
()
and
not
g
:
IsContains
(
c
)
...
...
script/c74822425.lua
View file @
3a04f42d
...
...
@@ -46,7 +46,7 @@ function c74822425.ffilter1(c)
return
c
:
IsSetCard
(
0x9d
)
end
function
c74822425
.
ffilter2
(
c
)
return
c
:
IsAttribute
(
ATTRIBUTE_EARTH
)
or
c
:
IsHasEffect
(
4904633
)
~=
0
return
c
:
IsAttribute
(
ATTRIBUTE_EARTH
)
or
c
:
IsHasEffect
(
4904633
)
end
function
c74822425
.
exfilter
(
c
,
g
)
return
c
:
IsFaceup
()
and
c
:
IsCanBeFusionMaterial
()
and
not
g
:
IsContains
(
c
)
...
...
script/c7617062.lua
View file @
3a04f42d
...
...
@@ -27,10 +27,9 @@ function c7617062.initial_effect(c)
local
e4
=
Effect
.
CreateEffect
(
c
)
e4
:
SetType
(
EFFECT_TYPE_FIELD
)
e4
:
SetCode
(
EFFECT_DIRECT_ATTACK
)
e4
:
SetProperty
(
EFFECT_FLAG_SET_AVAILABLE
)
e4
:
SetRange
(
LOCATION_SZONE
)
e4
:
SetTargetRange
(
LOCATION_MZONE
,
LOCATION_MZONE
)
e4
:
Set
Condition
(
c7617062
.
dircon
)
e4
:
Set
Target
(
c7617062
.
dirtg
)
c
:
RegisterEffect
(
e4
)
--pos
local
e5
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -40,6 +39,15 @@ function c7617062.initial_effect(c)
e5
:
SetOperation
(
c7617062
.
operation
)
c
:
RegisterEffect
(
e5
)
end
function
c7617062
.
bttg
(
e
,
c
)
return
c
:
IsFacedown
()
end
function
c7617062
.
btval
(
e
,
c
)
return
not
c
:
IsImmuneToEffect
(
e
)
end
function
c7617062
.
dirtg
(
e
,
c
)
return
not
Duel
.
IsExistingMatchingCard
(
Card
.
IsFaceup
,
c
:
GetControler
(),
0
,
LOCATION_MZONE
,
1
,
nil
)
end
function
c7617062
.
ftarget
(
e
,
c
)
return
not
c
:
IsSetCard
(
0x8d
)
end
...
...
@@ -58,13 +66,3 @@ end
function
c7617062
.
posop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
ChangePosition
(
e
:
GetHandler
(),
POS_FACEDOWN_DEFENCE
)
end
function
c7617062
.
bttg
(
e
,
c
)
return
c
:
IsFacedown
()
end
function
c7617062
.
btval
(
e
,
c
)
return
not
c
:
IsImmuneToEffect
(
e
)
end
function
c7617062
.
dircon
(
e
)
local
tp
=
Duel
.
GetTurnPlayer
()
return
not
Duel
.
IsExistingMatchingCard
(
Card
.
IsFaceup
,
tp
,
0
,
LOCATION_MZONE
,
1
,
nil
)
end
\ No newline at end of file
script/c94977269.lua
View file @
3a04f42d
...
...
@@ -37,7 +37,6 @@ function c94977269.initial_effect(c)
local
e5
=
Effect
.
CreateEffect
(
c
)
e5
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e5
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e5
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e5
:
SetRange
(
LOCATION_MZONE
)
e5
:
SetOperation
(
c94977269
.
checkop
)
c
:
RegisterEffect
(
e5
)
...
...
@@ -57,7 +56,7 @@ function c94977269.ffilter1(c)
return
c
:
IsSetCard
(
0x9d
)
end
function
c94977269
.
ffilter2
(
c
)
return
c
:
IsAttribute
(
ATTRIBUTE_DARK
)
or
c
:
IsHasEffect
(
4904633
)
~=
0
return
c
:
IsAttribute
(
ATTRIBUTE_DARK
)
or
c
:
IsHasEffect
(
4904633
)
end
function
c94977269
.
exfilter
(
c
,
g
)
return
c
:
IsFaceup
()
and
c
:
IsCanBeFusionMaterial
()
and
not
g
:
IsContains
(
c
)
...
...
script/c99795159.lua
View file @
3a04f42d
...
...
@@ -19,10 +19,9 @@ function c99795159.initial_effect(c)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
)
e3
:
SetCode
(
EFFECT_DIRECT_ATTACK
)
e3
:
SetProperty
(
EFFECT_FLAG_SET_AVAILABLE
)
e3
:
SetRange
(
LOCATION_SZONE
)
e3
:
SetTargetRange
(
LOCATION_MZONE
,
LOCATION_MZONE
)
e3
:
Set
Condition
(
c99795159
.
dircon
)
e3
:
Set
Target
(
c99795159
.
dirtg
)
c
:
RegisterEffect
(
e3
)
--
local
e4
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -34,18 +33,17 @@ function c99795159.initial_effect(c)
e4
:
SetValue
(
c99795159
.
val
)
c
:
RegisterEffect
(
e4
)
end
function
c99795159
.
val
(
e
,
re
,
dam
,
r
,
rp
,
rc
)
if
bit
.
band
(
r
,
REASON_EFFECT
)
~=
0
or
(
rc
and
not
rc
:
IsSetCard
(
0x8d
))
then
return
dam
/
2
else
return
dam
end
end
function
c99795159
.
bttg
(
e
,
c
)
return
c
:
IsFacedown
()
end
function
c99795159
.
btval
(
e
,
c
)
return
not
c
:
IsImmuneToEffect
(
e
)
end
function
c99795159
.
dircon
(
e
)
local
tp
=
Duel
.
GetTurnPlayer
()
return
not
Duel
.
IsExistingMatchingCard
(
Card
.
IsFaceup
,
tp
,
0
,
LOCATION_MZONE
,
1
,
nil
)
end
\ No newline at end of file
function
c99795159
.
dirtg
(
e
,
c
)
return
not
Duel
.
IsExistingMatchingCard
(
Card
.
IsFaceup
,
c
:
GetControler
(),
0
,
LOCATION_MZONE
,
1
,
nil
)
end
function
c99795159
.
val
(
e
,
re
,
dam
,
r
,
rp
,
rc
)
if
bit
.
band
(
r
,
REASON_EFFECT
)
~=
0
or
(
rc
and
not
rc
:
IsSetCard
(
0x8d
))
then
return
dam
/
2
else
return
dam
end
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