Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-scripts
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-scripts
Commits
e2bf62e3
Commit
e2bf62e3
authored
Nov 19, 2016
by
VanillaSalt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
9972c865
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
13 additions
and
19 deletions
+13
-19
c30314994.lua
c30314994.lua
+0
-2
c37780349.lua
c37780349.lua
+4
-0
c44877690.lua
c44877690.lua
+0
-7
c47457347.lua
c47457347.lua
+1
-1
c47679935.lua
c47679935.lua
+0
-1
c67820935.lua
c67820935.lua
+1
-1
c73360025.lua
c73360025.lua
+0
-3
c86120751.lua
c86120751.lua
+2
-2
c95943058.lua
c95943058.lua
+5
-2
No files found.
c30314994.lua
View file @
e2bf62e3
...
...
@@ -25,8 +25,6 @@ function c30314994.atkcon(e)
return
Duel
.
IsExistingMatchingCard
(
c30314994
.
filter
,
0
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
,
ATTRIBUTE_FIRE
)
end
function
c30314994
.
atcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
bc
=
c
:
GetBattleTarget
()
return
aux
.
bdocon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
and
e
:
GetHandler
():
IsChainAttackable
()
and
Duel
.
IsExistingMatchingCard
(
c30314994
.
filter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
,
ATTRIBUTE_WIND
)
end
...
...
c37780349.lua
View file @
e2bf62e3
...
...
@@ -7,6 +7,7 @@ function c37780349.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e1
:
SetCode
(
EVENT_PRE_DAMAGE_CALCULATE
)
e1
:
SetRange
(
LOCATION_HAND
)
e1
:
SetCondition
(
c37780349
.
dmcon
)
e1
:
SetCost
(
c37780349
.
dmcost
)
e1
:
SetTarget
(
c37780349
.
dmtg
)
e1
:
SetOperation
(
c37780349
.
dmop
)
...
...
@@ -23,6 +24,9 @@ function c37780349.initial_effect(c)
e2
:
SetOperation
(
c37780349
.
atkop
)
c
:
RegisterEffect
(
e2
)
end
function
c37780349
.
dmcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetBattleDamage
(
tp
)
>
0
end
function
c37780349
.
dmcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
IsDiscardable
()
end
Duel
.
SendtoGrave
(
e
:
GetHandler
(),
REASON_COST
+
REASON_DISCARD
)
...
...
c44877690.lua
View file @
e2bf62e3
...
...
@@ -5,7 +5,6 @@ function c44877690.initial_effect(c)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_SPSUMMON_CONDITION
)
e1
:
SetValue
(
aux
.
FALSE
)
c
:
RegisterEffect
(
e1
)
--summon,flip
local
e2
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -62,12 +61,6 @@ function c44877690.rettg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
e
:
GetHandler
(),
1
,
0
,
0
)
e
:
GetHandler
():
RegisterFlagEffect
(
44877690
,
RESET_EVENT
+
0x1fe0000
+
RESET_PHASE
+
PHASE_END
,
EFFECT_FLAG_OATH
,
1
)
end
function
c44877690
.
retop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
c
:
IsRelateToEffect
(
e
)
and
c
:
IsFaceup
()
then
Duel
.
SendtoHand
(
c
,
nil
,
REASON_EFFECT
)
end
end
function
c44877690
.
retcon2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
IsExistingMatchingCard
(
c44877690
.
cfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
e
:
GetHandler
())
end
...
...
c47457347.lua
View file @
e2bf62e3
...
...
@@ -15,7 +15,7 @@ function c47457347.filter(c,e,tp)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0xf4
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
function
c47457347
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_REMOVED
)
and
chkc
:
IsControler
(
tp
)
and
c47457347
.
filter
(
chkc
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_REMOVED
)
and
chkc
:
IsControler
(
tp
)
and
c47457347
.
filter
(
chkc
,
e
,
tp
)
end
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsExistingTarget
(
c47457347
.
filter
,
tp
,
LOCATION_REMOVED
,
0
,
1
,
nil
,
e
,
tp
)
end
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
...
...
c47679935.lua
View file @
e2bf62e3
...
...
@@ -46,7 +46,6 @@ end
function
c47679935
.
efilter
(
e
,
ct
)
local
p
=
e
:
GetHandlerPlayer
()
local
te
,
tp
=
Duel
.
GetChainInfo
(
ct
,
CHAININFO_TRIGGERING_EFFECT
,
CHAININFO_TRIGGERING_PLAYER
)
local
tc
=
te
:
GetHandler
()
return
p
==
tp
and
te
:
IsHasCategory
(
CATEGORY_FUSION_SUMMON
)
end
function
c47679935
.
limfilter
(
c
,
tp
)
...
...
c67820935.lua
View file @
e2bf62e3
...
...
@@ -6,7 +6,7 @@ function c67820935.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
+
EFFECT_FLAG_DAMAGE_STEP
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
Set
CountLimit
(
1
,
67820935
+
EFFECT_COUNT_CODE_OATH
)
e1
:
Set
HintTiming
(
TIMING_DAMAGE_STEP
)
e1
:
SetCondition
(
c67820935
.
condition
)
e1
:
SetTarget
(
c67820935
.
target
)
e1
:
SetOperation
(
c67820935
.
activate
)
...
...
c73360025.lua
View file @
e2bf62e3
...
...
@@ -113,9 +113,6 @@ function c73360025.spop(e,tp,eg,ep,ev,re,r,rp)
tc
:
CompleteProcedure
()
end
end
function
c73360025
.
ctfilter
(
c
)
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsSetCard
(
0xaf
)
end
function
c73360025
.
damcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetTurnPlayer
()
==
tp
end
...
...
c86120751.lua
View file @
e2bf62e3
...
...
@@ -62,11 +62,11 @@ end
function
c86120751
.
thfilter
(
c
)
return
c
:
IsCode
(
74063034
)
and
c
:
IsAbleToHand
()
end
function
c86120751
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c86120751
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c86120751
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
nil
,
1
,
tp
,
LOCATION_DECK
)
end
function
c86120751
.
thop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c86120751
.
thop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstMatchingCard
(
c86120751
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
nil
)
if
tc
then
Duel
.
SendtoHand
(
tc
,
nil
,
REASON_EFFECT
)
...
...
c95943058.lua
View file @
e2bf62e3
...
...
@@ -59,8 +59,11 @@ end
function
c95943058
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
GetTurnPlayer
()
~=
tp
then
return
end
local
ct
=
e
:
GetLabel
()
e
:
SetLabel
(
ct
+
1
)
return
ct
==
1
if
ct
==
0
then
e
:
SetLabel
(
Duel
.
GetTurnCount
())
return
false
end
return
ct
~=
Duel
.
GetTurnCount
()
end
function
c95943058
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
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