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
47066dc3
Commit
47066dc3
authored
Jul 24, 2014
by
VanillaSalt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
6bc4ec03
Changes
12
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
17 additions
and
14 deletions
+17
-14
script/c11039171.lua
script/c11039171.lua
+1
-2
script/c12948099.lua
script/c12948099.lua
+2
-2
script/c21954587.lua
script/c21954587.lua
+1
-1
script/c30741334.lua
script/c30741334.lua
+3
-3
script/c42199039.lua
script/c42199039.lua
+1
-1
script/c51617185.lua
script/c51617185.lua
+1
-1
script/c64496451.lua
script/c64496451.lua
+1
-0
script/c65331686.lua
script/c65331686.lua
+1
-1
script/c86559484.lua
script/c86559484.lua
+3
-1
script/c91907707.lua
script/c91907707.lua
+1
-0
script/c9287078.lua
script/c9287078.lua
+1
-1
script/c93016201.lua
script/c93016201.lua
+1
-1
No files found.
script/c11039171.lua
View file @
47066dc3
...
...
@@ -29,8 +29,7 @@ function c11039171.splimit(e,se,sp,st)
return
bit
.
band
(
st
,
SUMMON_TYPE_FUSION
)
==
SUMMON_TYPE_FUSION
end
function
c11039171
.
mfilter
(
c
,
mg
)
return
(
c
:
IsCode
(
30068120
)
or
c
:
IsHasEffect
(
EFFECT_FUSION_SUBSTITUTE
))
and
mg
:
IsExists
(
Card
.
IsSetCard
,
1
,
c
,
0xa9
)
return
c
:
IsCode
(
30068120
)
and
mg
:
IsExists
(
Card
.
IsSetCard
,
1
,
c
,
0xa9
)
end
function
c11039171
.
fscon
(
e
,
mg
,
gc
)
if
mg
==
nil
then
return
false
end
...
...
script/c12948099.lua
View file @
47066dc3
...
...
@@ -46,11 +46,11 @@ end
function
c12948099
.
tdop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
GetMatchingGroup
(
c12948099
.
filter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
)
if
g
:
GetCount
()
>
0
then
Duel
.
SendtoDeck
(
g
,
nil
,
2
,
REASON_EFFECT
)
Duel
.
SendtoDeck
(
g
,
nil
,
0
,
REASON_EFFECT
)
end
end
function
c12948099
.
drcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
r
==
REASON_
SYNCHRO
return
r
==
REASON_
FUSION
end
function
c12948099
.
drtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
...
...
script/c21954587.lua
View file @
47066dc3
...
...
@@ -70,7 +70,7 @@ function c21954587.thop(e,tp,eg,ep,ev,re,r,rp)
end
function
c21954587
.
atkcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetTurnCount
()
~=
1
and
Duel
.
GetCurrentPhase
()
==
PHASE_MAIN1
and
not
Duel
.
IsPlayerAffectedByEffect
(
tp
,
EFFECT_CANNOT_BP
)
and
not
Duel
.
IsPlayerAffectedByEffect
(
tp
,
EFFECT_CANNOT_BP
)
end
function
c21954587
.
rfilter
(
c
)
return
c
:
IsPosition
(
POS_FACEUP_ATTACK
)
and
c
:
IsAttribute
(
ATTRIBUTE_WATER
)
...
...
script/c30741334.lua
View file @
47066dc3
...
...
@@ -9,23 +9,23 @@ function c30741334.initial_effect(c)
e1
:
SetDescription
(
aux
.
Stringid
(
30741334
,
0
))
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetCountLimit
(
3
,
30741334
)
e1
:
SetCost
(
c30741334
.
cost
)
e1
:
SetTarget
(
c30741334
.
target
)
e1
:
SetOperation
(
c30741334
.
operation
)
c
:
RegisterEffect
(
e1
)
end
function
c30741334
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetCurrentPhase
()
==
PHASE_MAIN1
and
Duel
.
GetFlagEffect
(
tp
,
30741334
)
<
3
if
chk
==
0
then
return
Duel
.
GetCurrentPhase
()
==
PHASE_MAIN1
and
e
:
GetHandler
():
CheckRemoveOverlayCard
(
tp
,
1
,
REASON_COST
)
end
e
:
GetHandler
():
RemoveOverlayCard
(
tp
,
1
,
1
,
REASON_COST
)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetCode
(
EFFECT_CANNOT_BP
)
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
+
EFFECT_FLAG_OATH
)
e1
:
SetTargetRange
(
1
,
0
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
Duel
.
RegisterEffect
(
e1
,
tp
)
Duel
.
RegisterFlagEffect
(
tp
,
30741334
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
end
function
c30741334
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsPlayerCanDraw
(
tp
,
1
)
end
...
...
script/c42199039.lua
View file @
47066dc3
...
...
@@ -32,7 +32,7 @@ function c42199039.initial_effect(c)
e4
:
SetDescription
(
aux
.
Stringid
(
42199039
,
1
))
e4
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
)
e4
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e4
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
)
e4
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
+
EFFECT_FLAG_DELAY
)
e4
:
SetCode
(
EVENT_TO_GRAVE
)
e4
:
SetCondition
(
c42199039
.
thcon
)
e4
:
SetTarget
(
c42199039
.
thtg
)
...
...
script/c51617185.lua
View file @
47066dc3
...
...
@@ -53,7 +53,7 @@ end
function
c51617185
.
spcost2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
not
eg
:
IsContains
(
e
:
GetHandler
())
and
eg
:
IsExists
(
c51617185
.
cfilter
,
1
,
nil
,
tp
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
local
g
=
eg
:
FilterSelect
(
tp
,
c51617185
.
cfilter
,
tp
,
1
,
1
,
nil
)
local
g
=
eg
:
FilterSelect
(
tp
,
c51617185
.
cfilter
,
1
,
1
,
nil
,
tp
)
Duel
.
Remove
(
g
,
POS_FACEUP
,
REASON_COST
)
end
function
c51617185
.
sptg2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
script/c64496451.lua
View file @
47066dc3
...
...
@@ -23,6 +23,7 @@ function c64496451.initial_effect(c)
e3
:
SetRange
(
LOCATION_SZONE
)
e3
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
e3
:
SetTargetRange
(
LOCATION_MZONE
,
0
)
e3
:
SetTarget
(
aux
.
TargetBoolFunction
(
Card
.
IsSetCard
,
0xaa
))
e3
:
SetCondition
(
c64496451
.
pendcon
)
e3
:
SetValue
(
300
)
c
:
RegisterEffect
(
e3
)
...
...
script/c65331686.lua
View file @
47066dc3
...
...
@@ -31,7 +31,7 @@ function c65331686.thcon(e,tp,eg,ep,ev,re,r,rp)
return
e
:
GetHandler
():
IsPreviousLocation
(
LOCATION_HAND
)
end
function
c65331686
.
thfilter
(
c
)
return
c
:
IsCode
(
65331686
)
and
c
:
IsAbleToHand
()
return
c
:
IsCode
(
24094653
)
and
c
:
IsAbleToHand
()
end
function
c65331686
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c65331686
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
...
...
script/c86559484.lua
View file @
47066dc3
...
...
@@ -6,6 +6,7 @@ function c86559484.initial_effect(c)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetCountLimit
(
1
,
86559484
)
e1
:
SetCost
(
c86559484
.
spcost
)
e1
:
SetTarget
(
c86559484
.
sptg
)
e1
:
SetOperation
(
c86559484
.
spop
)
...
...
@@ -16,7 +17,8 @@ function c86559484.initial_effect(c)
e2
:
SetCategory
(
CATEGORY_DAMAGE
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetCode
(
EVENT_TO_GRAVE
)
e2
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e2
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
+
EFFECT_FLAG_DAMAGE_STEP
+
EFFECT_FLAG_DELAY
)
e2
:
SetCountLimit
(
1
,
86559485
)
e2
:
SetCondition
(
c86559484
.
damcon
)
e2
:
SetTarget
(
c86559484
.
damtg
)
e2
:
SetOperation
(
c86559484
.
damop
)
...
...
script/c91907707.lua
View file @
47066dc3
...
...
@@ -23,6 +23,7 @@ function c91907707.initial_effect(c)
e3
:
SetRange
(
LOCATION_SZONE
)
e3
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
e3
:
SetTargetRange
(
LOCATION_MZONE
,
0
)
e3
:
SetTarget
(
aux
.
TargetBoolFunction
(
Card
.
IsSetCard
,
0xaa
))
e3
:
SetCondition
(
c91907707
.
pendcon
)
e3
:
SetValue
(
300
)
c
:
RegisterEffect
(
e3
)
...
...
script/c9287078.lua
View file @
47066dc3
...
...
@@ -14,7 +14,7 @@ function c9287078.initial_effect(c)
c
:
RegisterEffect
(
e2
)
end
function
c9287078
.
filter1
(
c
,
e
,
tp
)
return
c
:
GetSummonPlayer
()
==
1
-
tp
and
c
:
IsCanBeEffectTarget
(
e
)
return
c
:
GetSummonPlayer
()
==
1
-
tp
and
c
:
Is
Location
(
LOCATION_MZONE
)
and
c
:
Is
CanBeEffectTarget
(
e
)
and
Duel
.
IsExistingTarget
(
c9287078
.
filter2
,
tp
,
LOCATION_MZONE
,
0
,
1
,
c
)
end
function
c9287078
.
filter2
(
c
)
...
...
script/c93016201.lua
View file @
47066dc3
...
...
@@ -46,7 +46,7 @@ end
function
c93016201
.
cost1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
e
:
SetLabel
(
0
)
if
not
Duel
.
CheckLPCost
(
tp
,
800
)
then
return
end
if
not
Duel
.
CheckLPCost
(
tp
,
800
)
then
return
end
local
ct
=
Duel
.
GetCurrentChain
()
if
ct
==
1
then
return
end
local
pe
=
Duel
.
GetChainInfo
(
ct
-
1
,
CHAININFO_TRIGGERING_EFFECT
)
...
...
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