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
List
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
八宫一月
ygopro-scripts
Commits
592c23bd
Commit
592c23bd
authored
Jun 27, 2018
by
DailyShana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update, close Fluorohydride/ygopro#2010
parent
23684246
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
6 additions
and
42 deletions
+6
-42
c13803864.lua
c13803864.lua
+1
-7
c19891310.lua
c19891310.lua
+1
-7
c28912357.lua
c28912357.lua
+1
-7
c35952884.lua
c35952884.lua
+1
-7
c40854197.lua
c40854197.lua
+1
-7
c65536818.lua
c65536818.lua
+1
-7
No files found.
c13803864.lua
View file @
592c23bd
...
@@ -9,17 +9,11 @@ function c13803864.initial_effect(c)
...
@@ -9,17 +9,11 @@ function c13803864.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e1
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
)
e1
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
)
e1
:
SetCode
(
EVENT_
TO_GRAVE
)
e1
:
SetCode
(
EVENT_
LEAVE_FIELD
)
e1
:
SetCondition
(
c13803864
.
spcon
)
e1
:
SetCondition
(
c13803864
.
spcon
)
e1
:
SetTarget
(
c13803864
.
sptg
)
e1
:
SetTarget
(
c13803864
.
sptg
)
e1
:
SetOperation
(
c13803864
.
spop
)
e1
:
SetOperation
(
c13803864
.
spop
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
local
e2
=
e1
:
Clone
()
e2
:
SetCode
(
EVENT_REMOVE
)
c
:
RegisterEffect
(
e2
)
local
e3
=
e1
:
Clone
()
e3
:
SetCode
(
EVENT_TO_DECK
)
c
:
RegisterEffect
(
e3
)
end
end
function
c13803864
.
spfilter
(
c
,
e
,
tp
)
function
c13803864
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsCode
(
27288416
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsCode
(
27288416
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
...
...
c19891310.lua
View file @
592c23bd
...
@@ -18,17 +18,11 @@ function c19891310.initial_effect(c)
...
@@ -18,17 +18,11 @@ function c19891310.initial_effect(c)
e2
:
SetCategory
(
CATEGORY_TOHAND
)
e2
:
SetCategory
(
CATEGORY_TOHAND
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
+
EFFECT_FLAG_DAMAGE_STEP
)
e2
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
+
EFFECT_FLAG_DAMAGE_STEP
)
e2
:
SetCode
(
EVENT_
TO_GRAVE
)
e2
:
SetCode
(
EVENT_
LEAVE_FIELD
)
e2
:
SetCondition
(
c19891310
.
thcon
)
e2
:
SetCondition
(
c19891310
.
thcon
)
e2
:
SetTarget
(
c19891310
.
thtg
)
e2
:
SetTarget
(
c19891310
.
thtg
)
e2
:
SetOperation
(
c19891310
.
thop
)
e2
:
SetOperation
(
c19891310
.
thop
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
local
e3
=
e2
:
Clone
()
e3
:
SetCode
(
EVENT_REMOVE
)
c
:
RegisterEffect
(
e3
)
local
e4
=
e2
:
Clone
()
e4
:
SetCode
(
EVENT_TO_DECK
)
c
:
RegisterEffect
(
e4
)
end
end
function
c19891310
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c19891310
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
bt
=
Duel
.
GetAttacker
()
local
bt
=
Duel
.
GetAttacker
()
...
...
c28912357.lua
View file @
592c23bd
...
@@ -20,17 +20,11 @@ function c28912357.initial_effect(c)
...
@@ -20,17 +20,11 @@ function c28912357.initial_effect(c)
e2
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e2
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
+
EFFECT_FLAG_DAMAGE_STEP
)
e2
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
+
EFFECT_FLAG_DAMAGE_STEP
)
e2
:
SetCode
(
EVENT_
TO_GRAVE
)
e2
:
SetCode
(
EVENT_
LEAVE_FIELD
)
e2
:
SetCondition
(
c28912357
.
spcon
)
e2
:
SetCondition
(
c28912357
.
spcon
)
e2
:
SetTarget
(
c28912357
.
sptg
)
e2
:
SetTarget
(
c28912357
.
sptg
)
e2
:
SetOperation
(
c28912357
.
spop
)
e2
:
SetOperation
(
c28912357
.
spop
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
local
e3
=
e2
:
Clone
()
e3
:
SetCode
(
EVENT_REMOVE
)
c
:
RegisterEffect
(
e3
)
local
e4
=
e2
:
Clone
()
e4
:
SetCode
(
EVENT_TO_DECK
)
c
:
RegisterEffect
(
e4
)
end
end
function
c28912357
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c28912357
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
CheckRemoveOverlayCard
(
tp
,
1
,
REASON_COST
)
end
if
chk
==
0
then
return
e
:
GetHandler
():
CheckRemoveOverlayCard
(
tp
,
1
,
REASON_COST
)
end
...
...
c35952884.lua
View file @
592c23bd
...
@@ -42,17 +42,11 @@ function c35952884.initial_effect(c)
...
@@ -42,17 +42,11 @@ function c35952884.initial_effect(c)
e4
:
SetType
(
EFFECT_TYPE_TRIGGER_O
+
EFFECT_TYPE_SINGLE
)
e4
:
SetType
(
EFFECT_TYPE_TRIGGER_O
+
EFFECT_TYPE_SINGLE
)
e4
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
)
e4
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
)
e4
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e4
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e4
:
SetCode
(
EVENT_
TO_GRAVE
)
e4
:
SetCode
(
EVENT_
LEAVE_FIELD
)
e4
:
SetCondition
(
c35952884
.
sumcon
)
e4
:
SetCondition
(
c35952884
.
sumcon
)
e4
:
SetTarget
(
c35952884
.
sumtg
)
e4
:
SetTarget
(
c35952884
.
sumtg
)
e4
:
SetOperation
(
c35952884
.
sumop
)
e4
:
SetOperation
(
c35952884
.
sumop
)
c
:
RegisterEffect
(
e4
)
c
:
RegisterEffect
(
e4
)
local
e5
=
e4
:
Clone
()
e5
:
SetCode
(
EVENT_REMOVE
)
c
:
RegisterEffect
(
e5
)
local
e6
=
e4
:
Clone
()
e6
:
SetCode
(
EVENT_TO_DECK
)
c
:
RegisterEffect
(
e6
)
end
end
function
c35952884
.
mfilter
(
c
)
function
c35952884
.
mfilter
(
c
)
return
not
c
:
IsType
(
TYPE_TUNER
)
return
not
c
:
IsType
(
TYPE_TUNER
)
...
...
c40854197.lua
View file @
592c23bd
...
@@ -15,17 +15,11 @@ function c40854197.initial_effect(c)
...
@@ -15,17 +15,11 @@ function c40854197.initial_effect(c)
e2
:
SetDescription
(
aux
.
Stringid
(
40854197
,
0
))
e2
:
SetDescription
(
aux
.
Stringid
(
40854197
,
0
))
e2
:
SetCategory
(
CATEGORY_DESTROY
)
e2
:
SetCategory
(
CATEGORY_DESTROY
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_F
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_F
)
e2
:
SetCode
(
EVENT_
TO_GRAVE
)
e2
:
SetCode
(
EVENT_
LEAVE_FIELD
)
e2
:
SetCondition
(
c40854197
.
descon
)
e2
:
SetCondition
(
c40854197
.
descon
)
e2
:
SetTarget
(
c40854197
.
destg
)
e2
:
SetTarget
(
c40854197
.
destg
)
e2
:
SetOperation
(
c40854197
.
desop
)
e2
:
SetOperation
(
c40854197
.
desop
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
local
e3
=
e2
:
Clone
()
e3
:
SetCode
(
EVENT_REMOVE
)
c
:
RegisterEffect
(
e3
)
local
e4
=
e2
:
Clone
()
e4
:
SetCode
(
EVENT_TO_DECK
)
c
:
RegisterEffect
(
e4
)
--atkup
--atkup
local
e5
=
Effect
.
CreateEffect
(
c
)
local
e5
=
Effect
.
CreateEffect
(
c
)
e5
:
SetType
(
EFFECT_TYPE_SINGLE
)
e5
:
SetType
(
EFFECT_TYPE_SINGLE
)
...
...
c65536818.lua
View file @
592c23bd
...
@@ -29,17 +29,11 @@ function c65536818.initial_effect(c)
...
@@ -29,17 +29,11 @@ function c65536818.initial_effect(c)
e3
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e3
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e3
:
SetProperty
(
EFFECT_FLAG_DELAY
+
EFFECT_FLAG_DAMAGE_STEP
+
EFFECT_FLAG_DAMAGE_CAL
)
e3
:
SetProperty
(
EFFECT_FLAG_DELAY
+
EFFECT_FLAG_DAMAGE_STEP
+
EFFECT_FLAG_DAMAGE_CAL
)
e3
:
SetCode
(
EVENT_
TO_GRAVE
)
e3
:
SetCode
(
EVENT_
LEAVE_FIELD
)
e3
:
SetCondition
(
c65536818
.
spcon
)
e3
:
SetCondition
(
c65536818
.
spcon
)
e3
:
SetTarget
(
c65536818
.
sptg
)
e3
:
SetTarget
(
c65536818
.
sptg
)
e3
:
SetOperation
(
c65536818
.
spop
)
e3
:
SetOperation
(
c65536818
.
spop
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
local
e4
=
e3
:
Clone
()
e4
:
SetCode
(
EVENT_REMOVE
)
c
:
RegisterEffect
(
e4
)
local
e5
=
e3
:
Clone
()
e5
:
SetCode
(
EVENT_TO_DECK
)
c
:
RegisterEffect
(
e5
)
end
end
function
c65536818
.
thfilter
(
c
)
function
c65536818
.
thfilter
(
c
)
return
c
:
IsSetCard
(
0x9e
)
and
c
:
IsAbleToHand
()
return
c
:
IsSetCard
(
0x9e
)
and
c
:
IsAbleToHand
()
...
...
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