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
869f9a85
Commit
869f9a85
authored
Mar 16, 2016
by
VanillaSalt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
dca7df49
Changes
18
Hide whitespace changes
Inline
Side-by-side
Showing
18 changed files
with
29 additions
and
28 deletions
+29
-28
c10004783.lua
c10004783.lua
+1
-1
c11136371.lua
c11136371.lua
+1
-1
c21698716.lua
c21698716.lua
+1
-1
c24857466.lua
c24857466.lua
+2
-2
c32710364.lua
c32710364.lua
+1
-1
c32933942.lua
c32933942.lua
+2
-2
c35486099.lua
c35486099.lua
+3
-2
c36278828.lua
c36278828.lua
+1
-1
c47121070.lua
c47121070.lua
+1
-1
c60728397.lua
c60728397.lua
+1
-1
c68215963.lua
c68215963.lua
+1
-1
c69937550.lua
c69937550.lua
+1
-1
c7093411.lua
c7093411.lua
+2
-2
c73899015.lua
c73899015.lua
+1
-1
c77972406.lua
c77972406.lua
+1
-1
c9284723.lua
c9284723.lua
+1
-1
c94256039.lua
c94256039.lua
+7
-7
c95600067.lua
c95600067.lua
+1
-1
No files found.
c10004783.lua
View file @
869f9a85
...
...
@@ -73,6 +73,6 @@ function c10004783.tfop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetReset
(
RESET_EVENT
+
0x1fe0000
)
e1
:
SetValue
(
TYPE_SPELL
+
TYPE_CONTINUOUS
)
tc
:
RegisterEffect
(
e1
)
Duel
.
RaiseEvent
(
tc
,
47408488
,
e
,
0
,
tp
,
0
,
0
)
Duel
.
RaiseEvent
(
tc
,
EVENT_CARD
+
47408488
,
e
,
0
,
tp
,
0
,
0
)
end
end
c11136371.lua
View file @
869f9a85
...
...
@@ -39,7 +39,7 @@ function c11136371.plop(e,tp,eg,ep,ev,re,r,rp)
tc
:
RegisterEffect
(
e1
)
tc
=
g
:
GetNext
()
end
Duel
.
RaiseEvent
(
g
,
47408488
,
e
,
0
,
tp
,
0
,
0
)
Duel
.
RaiseEvent
(
g
,
EVENT_CARD
+
47408488
,
e
,
0
,
tp
,
0
,
0
)
end
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
...
...
c21698716.lua
View file @
869f9a85
...
...
@@ -33,7 +33,7 @@ function c21698716.repop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetReset
(
RESET_EVENT
+
0x1fc0000
)
e1
:
SetValue
(
TYPE_SPELL
+
TYPE_CONTINUOUS
)
c
:
RegisterEffect
(
e1
)
Duel
.
RaiseEvent
(
c
,
47408488
,
e
,
0
,
tp
,
0
,
0
)
Duel
.
RaiseEvent
(
c
,
EVENT_CARD
+
47408488
,
e
,
0
,
tp
,
0
,
0
)
end
function
c21698716
.
filter
(
c
)
return
c
:
IsSetCard
(
0x1034
)
and
c
:
IsAbleToDeck
()
and
c
:
IsFaceup
()
...
...
c24857466.lua
View file @
869f9a85
...
...
@@ -35,7 +35,7 @@ function c24857466.initial_effect(c)
e5
:
SetCategory
(
CATEGORY_DESTROY
)
e5
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_F
)
e5
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e5
:
SetCode
(
24857466
)
e5
:
SetCode
(
EVENT_CARD
+
24857466
)
e5
:
SetCondition
(
c24857466
.
descon
)
e5
:
SetTarget
(
c24857466
.
destg
)
e5
:
SetOperation
(
c24857466
.
desop
)
...
...
@@ -46,7 +46,7 @@ function c24857466.initial_effect(c)
e6
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e6
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_F
)
e6
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e6
:
SetCode
(
24857466
)
e6
:
SetCode
(
EVENT_CARD
+
24857466
)
e6
:
SetCondition
(
c24857466
.
spcon
)
e6
:
SetTarget
(
c24857466
.
sptg
)
e6
:
SetOperation
(
c24857466
.
spop
)
...
...
c32710364.lua
View file @
869f9a85
...
...
@@ -32,7 +32,7 @@ function c32710364.repop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetReset
(
RESET_EVENT
+
0x1fc0000
)
e1
:
SetValue
(
TYPE_SPELL
+
TYPE_CONTINUOUS
)
c
:
RegisterEffect
(
e1
)
Duel
.
RaiseEvent
(
c
,
47408488
,
e
,
0
,
tp
,
0
,
0
)
Duel
.
RaiseEvent
(
c
,
EVENT_CARD
+
47408488
,
e
,
0
,
tp
,
0
,
0
)
end
function
c32710364
.
filter
(
c
,
e
,
sp
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x1034
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
sp
,
true
,
false
)
...
...
c32933942.lua
View file @
869f9a85
...
...
@@ -35,7 +35,7 @@ function c32933942.repop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetReset
(
RESET_EVENT
+
0x1fc0000
)
e1
:
SetValue
(
TYPE_SPELL
+
TYPE_CONTINUOUS
)
c
:
RegisterEffect
(
e1
)
Duel
.
RaiseEvent
(
c
,
47408488
,
e
,
0
,
tp
,
0
,
0
)
Duel
.
RaiseEvent
(
c
,
EVENT_CARD
+
47408488
,
e
,
0
,
tp
,
0
,
0
)
end
function
c32933942
.
rdcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
...
...
@@ -44,4 +44,4 @@ function c32933942.rdcon(e,tp,eg,ep,ev,re,r,rp)
end
function
c32933942
.
rdop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
ChangeBattleDamage
(
ep
,
ev
/
2
)
end
\ No newline at end of file
end
c35486099.lua
View file @
869f9a85
...
...
@@ -11,7 +11,7 @@ function c35486099.initial_effect(c)
c
:
RegisterEffect
(
e1
)
end
function
c35486099
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
GetControler
()
==
tp
and
chkc
:
GetLocation
()
==
LOCATION_GRAVE
and
chkc
:
IsSetCard
(
0x1034
)
end
if
chkc
then
return
chkc
:
IsControler
(
tp
)
and
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsSetCard
(
0x1034
)
end
if
chk
==
0
then
if
not
Duel
.
IsExistingTarget
(
Card
.
IsSetCard
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
,
0x1034
)
then
return
false
end
if
e
:
GetHandler
():
IsLocation
(
LOCATION_HAND
)
then
...
...
@@ -31,6 +31,7 @@ function c35486099.activate(e,tp,eg,ep,ev,re,r,rp)
local
sg
=
g
:
Filter
(
Card
.
IsRelateToEffect
,
nil
,
e
)
if
sg
:
GetCount
()
>
0
then
if
sg
:
GetCount
()
>
ft
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOFIELD
)
local
rg
=
sg
:
Select
(
tp
,
ft
,
ft
,
nil
)
sg
=
rg
end
...
...
@@ -46,6 +47,6 @@ function c35486099.activate(e,tp,eg,ep,ev,re,r,rp)
tc
:
RegisterEffect
(
e1
)
tc
=
sg
:
GetNext
()
end
Duel
.
RaiseEvent
(
sg
,
47408488
,
e
,
0
,
tp
,
0
,
0
)
Duel
.
RaiseEvent
(
sg
,
EVENT_CARD
+
47408488
,
e
,
0
,
tp
,
0
,
0
)
end
end
c36278828.lua
View file @
869f9a85
...
...
@@ -25,7 +25,7 @@ function c36278828.operation(e,tp,eg,ep,ev,re,r,rp)
local
atk
=
tc
:
GetAttack
()
tc
:
AddCounter
(
0x9
,
1
)
if
atk
>
0
and
tc
:
GetAttack
()
==
0
then
Duel
.
RaiseEvent
(
tc
,
54306223
,
e
,
0
,
0
,
0
,
0
)
Duel
.
RaiseEvent
(
tc
,
EVENT_CARD
+
54306223
,
e
,
0
,
0
,
0
,
0
)
end
end
end
c47121070.lua
View file @
869f9a85
...
...
@@ -33,7 +33,7 @@ function c47121070.tfop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetReset
(
RESET_EVENT
+
0x1fc0000
)
e1
:
SetValue
(
TYPE_SPELL
+
TYPE_CONTINUOUS
)
tc
:
RegisterEffect
(
e1
)
Duel
.
RaiseEvent
(
tc
,
47408488
,
e
,
0
,
tp
,
0
,
0
)
Duel
.
RaiseEvent
(
tc
,
EVENT_CARD
+
47408488
,
e
,
0
,
tp
,
0
,
0
)
end
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
...
...
c60728397.lua
View file @
869f9a85
...
...
@@ -38,7 +38,7 @@ function c60728397.activate(e,tp,eg,ep,ev,re,r,rp)
local
atk
=
tc
:
GetAttack
()
tc
:
AddCounter
(
0x9
,
2
)
if
atk
>
0
and
tc
:
GetAttack
()
==
0
then
Duel
.
RaiseEvent
(
tc
,
54306223
,
e
,
0
,
0
,
0
,
0
)
Duel
.
RaiseEvent
(
tc
,
EVENT_CARD
+
54306223
,
e
,
0
,
0
,
0
,
0
)
end
end
end
...
...
c68215963.lua
View file @
869f9a85
...
...
@@ -33,7 +33,7 @@ function c68215963.repop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetReset
(
RESET_EVENT
+
0x1fc0000
)
e1
:
SetValue
(
TYPE_SPELL
+
TYPE_CONTINUOUS
)
c
:
RegisterEffect
(
e1
)
Duel
.
RaiseEvent
(
c
,
47408488
,
e
,
0
,
tp
,
0
,
0
)
Duel
.
RaiseEvent
(
c
,
EVENT_CARD
+
47408488
,
e
,
0
,
tp
,
0
,
0
)
end
function
c68215963
.
filter
(
c
)
return
c
:
IsAttackPos
()
and
c
:
GetAttackedCount
()
>
0
...
...
c69937550.lua
View file @
869f9a85
...
...
@@ -31,7 +31,7 @@ function c69937550.repop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetReset
(
RESET_EVENT
+
0x1fc0000
)
e1
:
SetValue
(
TYPE_SPELL
+
TYPE_CONTINUOUS
)
c
:
RegisterEffect
(
e1
)
Duel
.
RaiseEvent
(
c
,
47408488
,
e
,
0
,
tp
,
0
,
0
)
Duel
.
RaiseEvent
(
c
,
EVENT_CARD
+
47408488
,
e
,
0
,
tp
,
0
,
0
)
end
function
c69937550
.
cbcondition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
...
...
c7093411.lua
View file @
869f9a85
...
...
@@ -37,7 +37,7 @@ function c7093411.repop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetReset
(
RESET_EVENT
+
0x1fc0000
)
e1
:
SetValue
(
TYPE_SPELL
+
TYPE_CONTINUOUS
)
c
:
RegisterEffect
(
e1
)
Duel
.
RaiseEvent
(
c
,
47408488
,
e
,
0
,
tp
,
0
,
0
)
Duel
.
RaiseEvent
(
c
,
EVENT_CARD
+
47408488
,
e
,
0
,
tp
,
0
,
0
)
end
function
c7093411
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsSetCard
,
tp
,
LOCATION_DECK
+
LOCATION_GRAVE
+
LOCATION_HAND
,
0
,
1
,
nil
,
0x1034
)
...
...
@@ -57,6 +57,6 @@ function c7093411.operation(e,tp,eg,ep,ev,re,r,rp,chk)
e1
:
SetReset
(
RESET_EVENT
+
0x1fc0000
)
e1
:
SetValue
(
TYPE_SPELL
+
TYPE_CONTINUOUS
)
tc
:
RegisterEffect
(
e1
)
Duel
.
RaiseEvent
(
tc
,
47408488
,
e
,
0
,
tp
,
0
,
0
)
Duel
.
RaiseEvent
(
tc
,
EVENT_CARD
+
47408488
,
e
,
0
,
tp
,
0
,
0
)
end
end
c73899015.lua
View file @
869f9a85
...
...
@@ -35,7 +35,7 @@ function c73899015.operation(e,tp,eg,ep,ev,re,r,rp)
local
atk
=
tc
:
GetAttack
()
tc
:
AddCounter
(
0x9
,
1
)
if
atk
>
0
and
tc
:
GetAttack
()
==
0
then
Duel
.
RaiseEvent
(
tc
,
54306223
,
e
,
0
,
0
,
0
,
0
)
Duel
.
RaiseEvent
(
tc
,
EVENT_CARD
+
54306223
,
e
,
0
,
0
,
0
,
0
)
end
end
end
c77972406.lua
View file @
869f9a85
...
...
@@ -28,7 +28,7 @@ function c77972406.activate(e,tp,eg,ep,ev,re,r,rp)
local
atk
=
tc
:
GetAttack
()
tc
:
AddCounter
(
0x9
,
1
)
if
atk
>
0
and
tc
:
GetAttack
()
==
0
then
Duel
.
RaiseEvent
(
tc
,
54306223
,
e
,
0
,
0
,
0
,
0
)
Duel
.
RaiseEvent
(
tc
,
EVENT_CARD
+
54306223
,
e
,
0
,
0
,
0
,
0
)
end
end
end
c9284723.lua
View file @
869f9a85
...
...
@@ -35,7 +35,7 @@ function c9284723.operation(e,tp,eg,ep,ev,re,r,rp)
local
atk
=
tc
:
GetAttack
()
tc
:
AddCounter
(
0x9
,
2
)
if
atk
>
0
and
tc
:
GetAttack
()
==
0
then
Duel
.
RaiseEvent
(
tc
,
54306223
,
e
,
0
,
0
,
0
,
0
)
Duel
.
RaiseEvent
(
tc
,
EVENT_CARD
+
54306223
,
e
,
0
,
0
,
0
,
0
)
end
end
end
c94256039.lua
View file @
869f9a85
...
...
@@ -31,13 +31,13 @@ function c94256039.initial_effect(c)
c
:
RegisterEffect
(
e4
)
--
local
e5
=
Effect
.
CreateEffect
(
c
)
e
4
:
SetCategory
(
CATEGORY_DESTROY
)
e
4
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_F
)
e
4
:
SetCode
(
EVENT_ADD_COUNTER
+
0x3001
)
e
4
:
SetCondition
(
c94256039
.
descon
)
e
4
:
SetTarget
(
c94256039
.
destg
)
e
4
:
SetOperation
(
c94256039
.
desop
)
c
:
RegisterEffect
(
e
4
)
e
5
:
SetCategory
(
CATEGORY_DESTROY
)
e
5
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_F
)
e
5
:
SetCode
(
EVENT_ADD_COUNTER
+
0x3001
)
e
5
:
SetCondition
(
c94256039
.
descon
)
e
5
:
SetTarget
(
c94256039
.
destg
)
e
5
:
SetOperation
(
c94256039
.
desop
)
c
:
RegisterEffect
(
e
5
)
end
function
c94256039
.
acop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
p
=
Duel
.
GetChainInfo
(
ev
,
CHAININFO_TRIGGERING_PLAYER
)
...
...
c95600067.lua
View file @
869f9a85
...
...
@@ -31,7 +31,7 @@ function c95600067.repop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetReset
(
RESET_EVENT
+
0x1fc0000
)
e1
:
SetValue
(
TYPE_SPELL
+
TYPE_CONTINUOUS
)
c
:
RegisterEffect
(
e1
)
Duel
.
RaiseEvent
(
c
,
47408488
,
e
,
0
,
tp
,
0
,
0
)
Duel
.
RaiseEvent
(
c
,
EVENT_CARD
+
47408488
,
e
,
0
,
tp
,
0
,
0
)
end
function
c95600067
.
condition
(
e
)
local
phase
=
Duel
.
GetCurrentPhase
()
...
...
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