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
64aa0dad
Commit
64aa0dad
authored
Sep 19, 2015
by
salix5
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
aux.exccon
parent
64db4bd6
Changes
15
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
16 additions
and
21 deletions
+16
-21
script/c14094090.lua
script/c14094090.lua
+1
-1
script/c18803791.lua
script/c18803791.lua
+1
-1
script/c29795530.lua
script/c29795530.lua
+1
-1
script/c30392583.lua
script/c30392583.lua
+1
-1
script/c36970611.lua
script/c36970611.lua
+1
-1
script/c46008667.lua
script/c46008667.lua
+1
-1
script/c5133471.lua
script/c5133471.lua
+1
-1
script/c62835876.lua
script/c62835876.lua
+1
-4
script/c63227401.lua
script/c63227401.lua
+1
-1
script/c73694478.lua
script/c73694478.lua
+1
-2
script/c73729209.lua
script/c73729209.lua
+1
-2
script/c75214390.lua
script/c75214390.lua
+1
-1
script/c78474168.lua
script/c78474168.lua
+1
-1
script/c88204302.lua
script/c88204302.lua
+1
-1
script/utility.lua
script/utility.lua
+2
-2
No files found.
script/c14094090.lua
View file @
64aa0dad
...
@@ -7,7 +7,7 @@ function c14094090.initial_effect(c)
...
@@ -7,7 +7,7 @@ function c14094090.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e1
:
SetRange
(
LOCATION_GRAVE
)
e1
:
SetRange
(
LOCATION_GRAVE
)
e1
:
SetCountLimit
(
1
,
14094090
)
e1
:
SetCountLimit
(
1
,
14094090
)
e1
:
SetCondition
(
aux
.
tgrvdly
con
)
e1
:
SetCondition
(
aux
.
exc
con
)
e1
:
SetCost
(
c14094090
.
spcost
)
e1
:
SetCost
(
c14094090
.
spcost
)
e1
:
SetTarget
(
c14094090
.
sptg
)
e1
:
SetTarget
(
c14094090
.
sptg
)
e1
:
SetOperation
(
c14094090
.
spop
)
e1
:
SetOperation
(
c14094090
.
spop
)
...
...
script/c18803791.lua
View file @
64aa0dad
...
@@ -6,7 +6,7 @@ function c18803791.initial_effect(c)
...
@@ -6,7 +6,7 @@ function c18803791.initial_effect(c)
e1
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
)
e1
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
)
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e1
:
SetRange
(
LOCATION_GRAVE
)
e1
:
SetRange
(
LOCATION_GRAVE
)
e1
:
SetCondition
(
aux
.
tgrvdly
con
)
e1
:
SetCondition
(
aux
.
exc
con
)
e1
:
SetCost
(
c18803791
.
thcost
)
e1
:
SetCost
(
c18803791
.
thcost
)
e1
:
SetTarget
(
c18803791
.
thtg
)
e1
:
SetTarget
(
c18803791
.
thtg
)
e1
:
SetOperation
(
c18803791
.
thop
)
e1
:
SetOperation
(
c18803791
.
thop
)
...
...
script/c29795530.lua
View file @
64aa0dad
...
@@ -16,7 +16,7 @@ function c29795530.initial_effect(c)
...
@@ -16,7 +16,7 @@ function c29795530.initial_effect(c)
e2
:
SetCode
(
EVENT_FREE_CHAIN
)
e2
:
SetCode
(
EVENT_FREE_CHAIN
)
e2
:
SetHintTiming
(
0
,
0x1c0
)
e2
:
SetHintTiming
(
0
,
0x1c0
)
e2
:
SetRange
(
LOCATION_GRAVE
)
e2
:
SetRange
(
LOCATION_GRAVE
)
e2
:
SetCondition
(
aux
.
tgrvdly
con
)
e2
:
SetCondition
(
aux
.
exc
con
)
e2
:
SetCost
(
c29795530
.
lvcost
)
e2
:
SetCost
(
c29795530
.
lvcost
)
e2
:
SetTarget
(
c29795530
.
lvtg
)
e2
:
SetTarget
(
c29795530
.
lvtg
)
e2
:
SetOperation
(
c29795530
.
lvop
)
e2
:
SetOperation
(
c29795530
.
lvop
)
...
...
script/c30392583.lua
View file @
64aa0dad
...
@@ -6,7 +6,7 @@ function c30392583.initial_effect(c)
...
@@ -6,7 +6,7 @@ function c30392583.initial_effect(c)
e1
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
)
e1
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
)
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e1
:
SetRange
(
LOCATION_GRAVE
)
e1
:
SetRange
(
LOCATION_GRAVE
)
e1
:
SetCondition
(
aux
.
tgrvdly
con
)
e1
:
SetCondition
(
aux
.
exc
con
)
e1
:
SetCost
(
c30392583
.
thcost
)
e1
:
SetCost
(
c30392583
.
thcost
)
e1
:
SetTarget
(
c30392583
.
thtg
)
e1
:
SetTarget
(
c30392583
.
thtg
)
e1
:
SetOperation
(
c30392583
.
thop
)
e1
:
SetOperation
(
c30392583
.
thop
)
...
...
script/c36970611.lua
View file @
64aa0dad
...
@@ -26,7 +26,7 @@ function c36970611.initial_effect(c)
...
@@ -26,7 +26,7 @@ function c36970611.initial_effect(c)
e3
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e3
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e3
:
SetRange
(
LOCATION_GRAVE
)
e3
:
SetRange
(
LOCATION_GRAVE
)
e3
:
SetCode
(
EVENT_FREE_CHAIN
)
e3
:
SetCode
(
EVENT_FREE_CHAIN
)
e3
:
SetCondition
(
aux
.
tgrvdly
con
)
e3
:
SetCondition
(
aux
.
exc
con
)
e3
:
SetCost
(
c36970611
.
thcost
)
e3
:
SetCost
(
c36970611
.
thcost
)
e3
:
SetTarget
(
c36970611
.
thtg
)
e3
:
SetTarget
(
c36970611
.
thtg
)
e3
:
SetOperation
(
c36970611
.
thop
)
e3
:
SetOperation
(
c36970611
.
thop
)
...
...
script/c46008667.lua
View file @
64aa0dad
...
@@ -17,7 +17,7 @@ function c46008667.initial_effect(c)
...
@@ -17,7 +17,7 @@ function c46008667.initial_effect(c)
e2
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e2
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e2
:
SetRange
(
LOCATION_GRAVE
)
e2
:
SetRange
(
LOCATION_GRAVE
)
e2
:
SetCountLimit
(
1
,
46008667
)
e2
:
SetCountLimit
(
1
,
46008667
)
e2
:
SetCondition
(
aux
.
tgrvdly
con
)
e2
:
SetCondition
(
aux
.
exc
con
)
e2
:
SetCost
(
c46008667
.
spcost
)
e2
:
SetCost
(
c46008667
.
spcost
)
e2
:
SetTarget
(
c46008667
.
sptg
)
e2
:
SetTarget
(
c46008667
.
sptg
)
e2
:
SetOperation
(
c46008667
.
spop
)
e2
:
SetOperation
(
c46008667
.
spop
)
...
...
script/c5133471.lua
View file @
64aa0dad
...
@@ -18,7 +18,7 @@ function c5133471.initial_effect(c)
...
@@ -18,7 +18,7 @@ function c5133471.initial_effect(c)
e2
:
SetRange
(
LOCATION_GRAVE
)
e2
:
SetRange
(
LOCATION_GRAVE
)
e2
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e2
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e2
:
SetCountLimit
(
1
,
5133471
)
e2
:
SetCountLimit
(
1
,
5133471
)
e2
:
SetCondition
(
aux
.
tgrvdly
con
)
e2
:
SetCondition
(
aux
.
exc
con
)
e2
:
SetCost
(
c5133471
.
descost
)
e2
:
SetCost
(
c5133471
.
descost
)
e2
:
SetTarget
(
c5133471
.
destg
)
e2
:
SetTarget
(
c5133471
.
destg
)
e2
:
SetOperation
(
c5133471
.
activate
)
e2
:
SetOperation
(
c5133471
.
activate
)
...
...
script/c62835876.lua
View file @
64aa0dad
...
@@ -7,15 +7,12 @@ function c62835876.initial_effect(c)
...
@@ -7,15 +7,12 @@ function c62835876.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e1
:
SetRange
(
LOCATION_GRAVE
)
e1
:
SetRange
(
LOCATION_GRAVE
)
e1
:
SetCountLimit
(
1
,
62835876
)
e1
:
SetCountLimit
(
1
,
62835876
)
e1
:
SetCondition
(
c62835876
.
th
con
)
e1
:
SetCondition
(
aux
.
exc
con
)
e1
:
SetCost
(
c62835876
.
thcost
)
e1
:
SetCost
(
c62835876
.
thcost
)
e1
:
SetTarget
(
c62835876
.
thtg
)
e1
:
SetTarget
(
c62835876
.
thtg
)
e1
:
SetOperation
(
c62835876
.
thop
)
e1
:
SetOperation
(
c62835876
.
thop
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
function
c62835876
.
thcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetTurnCount
()
~=
e
:
GetHandler
():
GetTurnID
()
or
e
:
GetHandler
():
IsReason
(
REASON_RETURN
)
end
function
c62835876
.
cfilter
(
c
)
function
c62835876
.
cfilter
(
c
)
return
c
:
IsSetCard
(
0xb1
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToGraveAsCost
()
return
c
:
IsSetCard
(
0xb1
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToGraveAsCost
()
end
end
...
...
script/c63227401.lua
View file @
64aa0dad
...
@@ -18,7 +18,7 @@ function c63227401.initial_effect(c)
...
@@ -18,7 +18,7 @@ function c63227401.initial_effect(c)
e2
:
SetRange
(
LOCATION_GRAVE
)
e2
:
SetRange
(
LOCATION_GRAVE
)
e2
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e2
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e2
:
SetCode
(
EVENT_FREE_CHAIN
)
e2
:
SetCode
(
EVENT_FREE_CHAIN
)
e2
:
SetCondition
(
aux
.
tgrvdly
con
)
e2
:
SetCondition
(
aux
.
exc
con
)
e2
:
SetCost
(
c63227401
.
cost
)
e2
:
SetCost
(
c63227401
.
cost
)
e2
:
SetTarget
(
c63227401
.
target
)
e2
:
SetTarget
(
c63227401
.
target
)
e2
:
SetOperation
(
c63227401
.
activate
)
e2
:
SetOperation
(
c63227401
.
activate
)
...
...
script/c73694478.lua
View file @
64aa0dad
...
@@ -52,8 +52,7 @@ function c73694478.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -52,8 +52,7 @@ function c73694478.activate(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
function
c73694478
.
thcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c73694478
.
thcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
aux
.
tgrvdlycon
(
e
)
and
Duel
.
GetTurnPlayer
()
==
tp
return
aux
.
exccon
(
e
)
and
Duel
.
GetTurnPlayer
()
==
tp
and
(
Duel
.
GetCurrentPhase
()
==
PHASE_MAIN1
or
Duel
.
GetCurrentPhase
()
==
PHASE_MAIN2
)
and
(
Duel
.
GetCurrentPhase
()
==
PHASE_MAIN1
or
Duel
.
GetCurrentPhase
()
==
PHASE_MAIN2
)
end
end
function
c73694478
.
thcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c73694478
.
thcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
IsAbleToRemoveAsCost
()
end
if
chk
==
0
then
return
e
:
GetHandler
():
IsAbleToRemoveAsCost
()
end
...
...
script/c73729209.lua
View file @
64aa0dad
...
@@ -49,8 +49,7 @@ function c73729209.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -49,8 +49,7 @@ function c73729209.activate(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
function
c73729209
.
atkcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c73729209
.
atkcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
aux
.
tgrvdlycon
(
e
)
and
Duel
.
GetTurnPlayer
()
==
tp
return
aux
.
exccon
(
e
)
and
Duel
.
GetTurnPlayer
()
==
tp
and
(
Duel
.
GetCurrentPhase
()
~=
PHASE_DAMAGE
or
not
Duel
.
IsDamageCalculated
())
and
(
Duel
.
GetCurrentPhase
()
~=
PHASE_DAMAGE
or
not
Duel
.
IsDamageCalculated
())
end
end
function
c73729209
.
atkcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c73729209
.
atkcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
IsAbleToRemoveAsCost
()
end
if
chk
==
0
then
return
e
:
GetHandler
():
IsAbleToRemoveAsCost
()
end
...
...
script/c75214390.lua
View file @
64aa0dad
...
@@ -16,7 +16,7 @@ function c75214390.initial_effect(c)
...
@@ -16,7 +16,7 @@ function c75214390.initial_effect(c)
e2
:
SetType
(
EFFECT_TYPE_IGNITION
)
e2
:
SetType
(
EFFECT_TYPE_IGNITION
)
e2
:
SetRange
(
LOCATION_GRAVE
)
e2
:
SetRange
(
LOCATION_GRAVE
)
e2
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e2
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e2
:
SetCondition
(
aux
.
tgrvdly
con
)
e2
:
SetCondition
(
aux
.
exc
con
)
e2
:
SetCost
(
c75214390
.
atkcost
)
e2
:
SetCost
(
c75214390
.
atkcost
)
e2
:
SetTarget
(
c75214390
.
atktg
)
e2
:
SetTarget
(
c75214390
.
atktg
)
e2
:
SetOperation
(
c75214390
.
atkop
)
e2
:
SetOperation
(
c75214390
.
atkop
)
...
...
script/c78474168.lua
View file @
64aa0dad
...
@@ -52,7 +52,7 @@ function c78474168.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -52,7 +52,7 @@ function c78474168.activate(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
function
c78474168
.
negcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c78474168
.
negcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
aux
.
tgrvdly
con
(
e
)
and
Duel
.
GetTurnPlayer
()
==
tp
return
aux
.
exc
con
(
e
)
and
Duel
.
GetTurnPlayer
()
==
tp
end
end
function
c78474168
.
negcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c78474168
.
negcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
IsAbleToRemoveAsCost
()
end
if
chk
==
0
then
return
e
:
GetHandler
():
IsAbleToRemoveAsCost
()
end
...
...
script/c88204302.lua
View file @
64aa0dad
...
@@ -17,7 +17,7 @@ function c88204302.initial_effect(c)
...
@@ -17,7 +17,7 @@ function c88204302.initial_effect(c)
e2
:
SetType
(
EFFECT_TYPE_IGNITION
)
e2
:
SetType
(
EFFECT_TYPE_IGNITION
)
e2
:
SetRange
(
LOCATION_GRAVE
)
e2
:
SetRange
(
LOCATION_GRAVE
)
e2
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e2
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e2
:
SetCondition
(
aux
.
tgrvdly
con
)
e2
:
SetCondition
(
aux
.
exc
con
)
e2
:
SetCost
(
c88204302
.
thcost
)
e2
:
SetCost
(
c88204302
.
thcost
)
e2
:
SetTarget
(
c88204302
.
thtg
)
e2
:
SetTarget
(
c88204302
.
thtg
)
e2
:
SetOperation
(
c88204302
.
thop
)
e2
:
SetOperation
(
c88204302
.
thop
)
...
...
script/utility.lua
View file @
64aa0dad
...
@@ -1184,8 +1184,8 @@ end
...
@@ -1184,8 +1184,8 @@ end
function
Auxiliary
.
nfbdncon
(
e
)
function
Auxiliary
.
nfbdncon
(
e
)
return
not
e
:
GetHandler
():
IsForbidden
()
return
not
e
:
GetHandler
():
IsForbidden
()
end
end
--condition of
not during the turn which handler sent to grave (to grave delay condition)
--condition of
"except the turn this card was sent to the Graveyard"
function
Auxiliary
.
tgrvdly
con
(
e
)
function
Auxiliary
.
exc
con
(
e
)
return
Duel
.
GetTurnCount
()
~=
e
:
GetHandler
():
GetTurnID
()
or
e
:
GetHandler
():
IsReason
(
REASON_RETURN
)
return
Duel
.
GetTurnCount
()
~=
e
:
GetHandler
():
GetTurnID
()
or
e
:
GetHandler
():
IsReason
(
REASON_RETURN
)
end
end
--flag effect for spell counter
--flag effect for spell counter
...
...
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