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
ee84f244
Commit
ee84f244
authored
Oct 22, 2016
by
DailyShana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
desc
parent
69e51bd4
Changes
12
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
11 additions
and
12 deletions
+11
-12
c18716735.lua
c18716735.lua
+1
-1
c1992816.lua
c1992816.lua
+1
-1
c20003527.lua
c20003527.lua
+1
-1
c20951752.lua
c20951752.lua
+1
-1
c28601770.lua
c28601770.lua
+1
-1
c40908371.lua
c40908371.lua
+1
-1
c52840267.lua
c52840267.lua
+1
-1
c54366836.lua
c54366836.lua
+1
-1
c91895091.lua
c91895091.lua
+1
-1
c92039899.lua
c92039899.lua
+0
-1
c93751476.lua
c93751476.lua
+1
-1
c95943058.lua
c95943058.lua
+1
-1
No files found.
c18716735.lua
View file @
ee84f244
...
@@ -15,7 +15,7 @@ function c18716735.initial_effect(c)
...
@@ -15,7 +15,7 @@ function c18716735.initial_effect(c)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
--to hand
--to hand
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
18716735
,
0
))
e2
:
SetDescription
(
aux
.
Stringid
(
18716735
,
1
))
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e2
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e2
:
SetCode
(
EVENT_DESTROYED
)
e2
:
SetCode
(
EVENT_DESTROYED
)
...
...
c1992816.lua
View file @
ee84f244
...
@@ -26,7 +26,7 @@ function c1992816.initial_effect(c)
...
@@ -26,7 +26,7 @@ function c1992816.initial_effect(c)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
--direct attack
--direct attack
local
e3
=
Effect
.
CreateEffect
(
c
)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetDescription
(
aux
.
Stringid
(
1992816
,
0
))
e3
:
SetDescription
(
aux
.
Stringid
(
1992816
,
2
))
e3
:
SetType
(
EFFECT_TYPE_IGNITION
)
e3
:
SetType
(
EFFECT_TYPE_IGNITION
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetCountLimit
(
1
)
e3
:
SetCountLimit
(
1
)
...
...
c20003527.lua
View file @
ee84f244
...
@@ -32,7 +32,7 @@ function c20003527.initial_effect(c)
...
@@ -32,7 +32,7 @@ function c20003527.initial_effect(c)
c
:
RegisterEffect
(
e4
)
c
:
RegisterEffect
(
e4
)
--add counter
--add counter
local
e5
=
Effect
.
CreateEffect
(
c
)
local
e5
=
Effect
.
CreateEffect
(
c
)
e5
:
SetDescription
(
aux
.
Stringid
(
20003527
,
0
))
e5
:
SetDescription
(
aux
.
Stringid
(
20003527
,
1
))
e5
:
SetCategory
(
CATEGORY_COUNTER
)
e5
:
SetCategory
(
CATEGORY_COUNTER
)
e5
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_F
)
e5
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_F
)
e5
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e5
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
...
...
c20951752.lua
View file @
ee84f244
...
@@ -30,7 +30,7 @@ function c20951752.initial_effect(c)
...
@@ -30,7 +30,7 @@ function c20951752.initial_effect(c)
e2
:
SetLabelObject
(
e3
)
e2
:
SetLabelObject
(
e3
)
--destroy
--destroy
local
e4
=
Effect
.
CreateEffect
(
c
)
local
e4
=
Effect
.
CreateEffect
(
c
)
e4
:
SetDescription
(
aux
.
Stringid
(
20951752
,
0
))
e4
:
SetDescription
(
aux
.
Stringid
(
20951752
,
1
))
e4
:
SetCategory
(
CATEGORY_DESTROY
)
e4
:
SetCategory
(
CATEGORY_DESTROY
)
e4
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e4
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e4
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e4
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
...
...
c28601770.lua
View file @
ee84f244
...
@@ -17,7 +17,7 @@ end
...
@@ -17,7 +17,7 @@ end
function
c28601770
.
ntop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
function
c28601770
.
ntop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
--destroy
--destroy
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
28601770
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
28601770
,
1
))
e1
:
SetCategory
(
CATEGORY_DESTROY
+
CATEGORY_DAMAGE
)
e1
:
SetCategory
(
CATEGORY_DESTROY
+
CATEGORY_DAMAGE
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_F
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_F
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetRange
(
LOCATION_MZONE
)
...
...
c40908371.lua
View file @
ee84f244
...
@@ -12,7 +12,7 @@ function c40908371.initial_effect(c)
...
@@ -12,7 +12,7 @@ function c40908371.initial_effect(c)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
--spsumon
--spsumon
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
40908371
,
0
))
e2
:
SetDescription
(
aux
.
Stringid
(
40908371
,
1
))
e2
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e2
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e2
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
...
...
c52840267.lua
View file @
ee84f244
...
@@ -3,7 +3,7 @@ function c52840267.initial_effect(c)
...
@@ -3,7 +3,7 @@ function c52840267.initial_effect(c)
c
:
SetSPSummonOnce
(
52840267
)
c
:
SetSPSummonOnce
(
52840267
)
--cannot spsummon
--cannot spsummon
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
52840267
,
1
))
e1
:
SetDescription
(
aux
.
Stringid
(
52840267
,
0
))
e1
:
SetCategory
(
CATEGORY_DRAW
)
e1
:
SetCategory
(
CATEGORY_DRAW
)
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
...
...
c54366836.lua
View file @
ee84f244
...
@@ -24,7 +24,7 @@ function c54366836.initial_effect(c)
...
@@ -24,7 +24,7 @@ function c54366836.initial_effect(c)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
--damage
--damage
local
e3
=
Effect
.
CreateEffect
(
c
)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetDescription
(
aux
.
Stringid
(
54366836
,
0
))
e3
:
SetDescription
(
aux
.
Stringid
(
54366836
,
1
))
e3
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e3
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e3
:
SetCode
(
EVENT_PRE_DAMAGE_CALCULATE
)
e3
:
SetCode
(
EVENT_PRE_DAMAGE_CALCULATE
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetRange
(
LOCATION_MZONE
)
...
...
c91895091.lua
View file @
ee84f244
...
@@ -16,7 +16,7 @@ function c91895091.initial_effect(c)
...
@@ -16,7 +16,7 @@ function c91895091.initial_effect(c)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
--spsummon
--spsummon
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
91895091
,
0
))
e2
:
SetDescription
(
aux
.
Stringid
(
91895091
,
1
))
e2
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e2
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e2
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e2
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
...
...
c92039899.lua
View file @
ee84f244
...
@@ -31,7 +31,6 @@ function c92039899.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -31,7 +31,6 @@ function c92039899.spop(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
Duel
.
GetFirstTarget
()
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
and
tc
:
IsRelateToEffect
(
e
)
and
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
>
0
then
if
tc
and
tc
:
IsRelateToEffect
(
e
)
and
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
>
0
then
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetDescription
(
aux
.
Stringid
(
92039899
,
0
))
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e1
:
SetCode
(
EFFECT_CANNOT_ATTACK
)
e1
:
SetCode
(
EFFECT_CANNOT_ATTACK
)
...
...
c93751476.lua
View file @
ee84f244
...
@@ -9,7 +9,7 @@ function c93751476.initial_effect(c)
...
@@ -9,7 +9,7 @@ function c93751476.initial_effect(c)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
--set
--set
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
93751476
,
0
))
e2
:
SetDescription
(
aux
.
Stringid
(
93751476
,
1
))
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e2
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e2
:
SetCode
(
EVENT_BE_MATERIAL
)
e2
:
SetCode
(
EVENT_BE_MATERIAL
)
...
...
c95943058.lua
View file @
ee84f244
...
@@ -43,7 +43,7 @@ function c95943058.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -43,7 +43,7 @@ function c95943058.operation(e,tp,eg,ep,ev,re,r,rp)
end
end
--sp summon
--sp summon
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
95943058
,
0
))
e2
:
SetDescription
(
aux
.
Stringid
(
95943058
,
1
))
e2
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e2
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_F
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_F
)
e2
:
SetRange
(
LOCATION_REMOVED
)
e2
:
SetRange
(
LOCATION_REMOVED
)
...
...
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