Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-222DIY-cards
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
Nguyễn Anh Kiệt
ygopro-222DIY-cards
Commits
de3a285d
Commit
de3a285d
authored
Aug 20, 2024
by
聖園ミカ
🐟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
byd
parent
b3479492
Changes
41
Show whitespace changes
Inline
Side-by-side
Showing
41 changed files
with
168 additions
and
168 deletions
+168
-168
expansions/script/c1000373.lua
expansions/script/c1000373.lua
+4
-4
expansions/script/c1090008.lua
expansions/script/c1090008.lua
+2
-2
expansions/script/c1090009.lua
expansions/script/c1090009.lua
+2
-2
expansions/script/c1090010.lua
expansions/script/c1090010.lua
+2
-2
expansions/script/c1141202.lua
expansions/script/c1141202.lua
+8
-8
expansions/script/c31300041.lua
expansions/script/c31300041.lua
+3
-3
expansions/script/c31300043.lua
expansions/script/c31300043.lua
+3
-3
expansions/script/c31300046.lua
expansions/script/c31300046.lua
+4
-4
expansions/script/c31300051.lua
expansions/script/c31300051.lua
+5
-5
expansions/script/c60002009.lua
expansions/script/c60002009.lua
+13
-13
expansions/script/c60002010.lua
expansions/script/c60002010.lua
+3
-3
expansions/script/c60002011.lua
expansions/script/c60002011.lua
+3
-3
expansions/script/c60002012.lua
expansions/script/c60002012.lua
+3
-3
expansions/script/c60002013.lua
expansions/script/c60002013.lua
+3
-3
expansions/script/c60002014.lua
expansions/script/c60002014.lua
+3
-3
expansions/script/c60002015.lua
expansions/script/c60002015.lua
+3
-3
expansions/script/c60002016.lua
expansions/script/c60002016.lua
+4
-4
expansions/script/c60002017.lua
expansions/script/c60002017.lua
+6
-6
expansions/script/c60002018.lua
expansions/script/c60002018.lua
+5
-5
expansions/script/c60002021.lua
expansions/script/c60002021.lua
+3
-3
expansions/script/c60002022.lua
expansions/script/c60002022.lua
+4
-4
expansions/script/c60002023.lua
expansions/script/c60002023.lua
+3
-3
expansions/script/c60002024.lua
expansions/script/c60002024.lua
+3
-3
expansions/script/c60010145.lua
expansions/script/c60010145.lua
+5
-5
expansions/script/c60010147.lua
expansions/script/c60010147.lua
+5
-5
expansions/script/c60010148.lua
expansions/script/c60010148.lua
+3
-3
expansions/script/c60010149.lua
expansions/script/c60010149.lua
+5
-5
expansions/script/c60010151.lua
expansions/script/c60010151.lua
+5
-5
expansions/script/c60010153.lua
expansions/script/c60010153.lua
+5
-5
expansions/script/c60010155.lua
expansions/script/c60010155.lua
+5
-5
expansions/script/c60010157.lua
expansions/script/c60010157.lua
+5
-5
expansions/script/c60010159.lua
expansions/script/c60010159.lua
+5
-5
expansions/script/c60010161.lua
expansions/script/c60010161.lua
+5
-5
expansions/script/c60010163.lua
expansions/script/c60010163.lua
+5
-5
expansions/script/c60010165.lua
expansions/script/c60010165.lua
+5
-5
expansions/script/c65810070.lua
expansions/script/c65810070.lua
+3
-3
expansions/script/c75646616.lua
expansions/script/c75646616.lua
+3
-3
expansions/script/c81010036.lua
expansions/script/c81010036.lua
+4
-4
expansions/script/c81086031.lua
expansions/script/c81086031.lua
+6
-6
expansions/script/c88123018.lua
expansions/script/c88123018.lua
+1
-1
expansions/script/c88178103.lua
expansions/script/c88178103.lua
+1
-1
No files found.
expansions/script/c1000373.lua
View file @
de3a285d
expansions/script/c1090008.lua
View file @
de3a285d
expansions/script/c1090009.lua
View file @
de3a285d
expansions/script/c1090010.lua
View file @
de3a285d
expansions/script/c1141202.lua
View file @
de3a285d
expansions/script/c31300041.lua
View file @
de3a285d
--全都Lost掉了
--
全都Lost掉了
local
s
,
id
,
o
=
GetID
()
function
s
.
initial_effect
(
c
)
--Activate
--
Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
...
...
@@ -12,7 +12,7 @@ end
function
s
.
atkupp
(
c
)
--atk up
--
atk up
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
...
...
expansions/script/c31300043.lua
View file @
de3a285d
--魔女 Bijou
--
魔女 Bijou
local
s
,
id
,
o
=
GetID
()
function
s
.
initial_effect
(
c
)
if
not
s
.
global_check
then
...
...
@@ -21,7 +21,7 @@ function s.chk(e,tp,eg,ep,ev,re,r,rp)
end
end
function
s
.
fusioneff
(
c
)
--destroy
--
destroy
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetDescription
(
1169
)
e3
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_FUSION_SUMMON
+
CATEGORY_TOGRAVE
)
...
...
@@ -119,7 +119,7 @@ end
function
s
.
specialsum
(
c
)
--special summon
--
special summon
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
2
)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
...
...
expansions/script/c31300046.lua
View file @
de3a285d
--感情结晶体
--
感情结晶体
local
s
,
id
,
o
=
GetID
()
function
s
.
initial_effect
(
c
)
--fusion material
--
fusion material
c
:
EnableReviveLimit
()
aux
.
AddFusionProcFunRep2
(
c
,
aux
.
FilterBoolFunction
(
Card
.
IsRace
,
RACE_ROCK
),
2
,
127
,
true
)
--spsummon success
--
spsummon success
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e3
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
...
...
@@ -37,7 +37,7 @@ end
function
s
.
toextra
(
c
)
--token
--
token
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
9047460
,
0
))
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_TOKEN
)
...
...
expansions/script/c31300051.lua
View file @
de3a285d
--魔人 Bijou
--
魔人 Bijou
local
s
,
id
,
o
=
GetID
()
function
s
.
initial_effect
(
c
)
s
.
specialsum
(
c
)
...
...
@@ -7,7 +7,7 @@ end
function
s
.
searchcard
(
c
)
--to hand
--
to hand
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
1109
)
e1
:
SetCategory
(
CATEGORY_SEARCH
+
CATEGORY_TOHAND
)
...
...
@@ -42,7 +42,7 @@ end
function
s
.
specialsum
(
c
)
--special summon
--
special summon
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
1109
)
e1
:
SetCategory
(
CATEGORY_DESTROY
+
CATEGORY_SPECIAL_SUMMON
)
...
...
@@ -85,7 +85,7 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_FUSION_SUMMON
)
e2
:
SetType
(
EFFECT_TYPE_IGNITION
)
e2
:
SetRange
(
LOCATION_MZONE
)
--e2:SetCountLimit(1)
--
e2:SetCountLimit(1)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e2
:
SetTarget
(
s
.
target
)
e2
:
SetOperation
(
s
.
operation
)
...
...
expansions/script/c60002009.lua
View file @
de3a285d
expansions/script/c60002010.lua
View file @
de3a285d
expansions/script/c60002011.lua
View file @
de3a285d
expansions/script/c60002012.lua
View file @
de3a285d
expansions/script/c60002013.lua
View file @
de3a285d
expansions/script/c60002014.lua
View file @
de3a285d
expansions/script/c60002015.lua
View file @
de3a285d
expansions/script/c60002016.lua
View file @
de3a285d
expansions/script/c60002017.lua
View file @
de3a285d
expansions/script/c60002018.lua
View file @
de3a285d
expansions/script/c60002021.lua
View file @
de3a285d
expansions/script/c60002022.lua
View file @
de3a285d
expansions/script/c60002023.lua
View file @
de3a285d
expansions/script/c60002024.lua
View file @
de3a285d
expansions/script/c60010145.lua
View file @
de3a285d
--晚安与睡颜
--
晚安与睡颜
local
cm
,
m
,
o
=
GetID
()
function
cm
.
initial_effect
(
c
)
c
:
EnableCounterPermit
(
0x629
,
LOCATION_ONFIELD
)
--Activate
--
Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
--e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
--
e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetOperation
(
cm
.
activate
)
c
:
RegisterEffect
(
e1
)
--change effect type
--
change effect type
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
...
...
@@ -17,7 +17,7 @@ function cm.initial_effect(c)
e2
:
SetRange
(
LOCATION_SZONE
)
e2
:
SetTargetRange
(
1
,
0
)
c
:
RegisterEffect
(
e2
)
--destory
--
destory
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_COUNTER
)
...
...
expansions/script/c60010147.lua
View file @
de3a285d
--制胜的瞬间
--
制胜的瞬间
local
cm
,
m
,
o
=
GetID
()
function
cm
.
initial_effect
(
c
)
c
:
EnableCounterPermit
(
0x629
,
LOCATION_ONFIELD
)
--Activate
--
Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
--e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
--
e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetOperation
(
cm
.
activate
)
c
:
RegisterEffect
(
e1
)
--change effect type
--
change effect type
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
...
...
@@ -17,7 +17,7 @@ function cm.initial_effect(c)
e2
:
SetRange
(
LOCATION_SZONE
)
e2
:
SetTargetRange
(
1
,
0
)
c
:
RegisterEffect
(
e2
)
--destory
--
destory
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
e1
:
SetCategory
(
CATEGORY_DESTROY
+
CATEGORY_COUNTER
)
...
...
expansions/script/c60010148.lua
View file @
de3a285d
--布洛妮娅-存护之志-
--
布洛妮娅-存护之志-
local
cm
,
m
,
o
=
GetID
()
function
cm
.
initial_effect
(
c
)
c
:
EnableCounterPermit
(
0x629
,
LOCATION_ONFIELD
)
c
:
SetUniqueOnField
(
1
,
0
,
m
)
--defense attack
--
defense attack
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_DEFENSE_ATTACK
)
e1
:
SetValue
(
1
)
c
:
RegisterEffect
(
e1
)
--special summon
--
special summon
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
...
...
expansions/script/c60010149.lua
View file @
de3a285d
--但战斗还未结束
--
但战斗还未结束
local
cm
,
m
,
o
=
GetID
()
function
cm
.
initial_effect
(
c
)
c
:
EnableCounterPermit
(
0x629
,
LOCATION_ONFIELD
)
--Activate
--
Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
--e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
--
e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetOperation
(
cm
.
activate
)
c
:
RegisterEffect
(
e1
)
--change effect type
--
change effect type
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
...
...
@@ -17,7 +17,7 @@ function cm.initial_effect(c)
e2
:
SetRange
(
LOCATION_SZONE
)
e2
:
SetTargetRange
(
1
,
0
)
c
:
RegisterEffect
(
e2
)
--destory
--
destory
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
e1
:
SetCategory
(
CATEGORY_DRAW
+
CATEGORY_COUNTER
)
...
...
expansions/script/c60010151.lua
View file @
de3a285d
--于夜色中
--
于夜色中
local
cm
,
m
,
o
=
GetID
()
function
cm
.
initial_effect
(
c
)
c
:
EnableCounterPermit
(
0x629
,
LOCATION_ONFIELD
)
--Activate
--
Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
--e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
--
e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetOperation
(
cm
.
activate
)
c
:
RegisterEffect
(
e1
)
--change effect type
--
change effect type
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
...
...
@@ -17,7 +17,7 @@ function cm.initial_effect(c)
e2
:
SetRange
(
LOCATION_SZONE
)
e2
:
SetTargetRange
(
1
,
0
)
c
:
RegisterEffect
(
e2
)
--destory
--
destory
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_COUNTER
)
...
...
expansions/script/c60010153.lua
View file @
de3a285d
--别让世界静下来
--
别让世界静下来
local
cm
,
m
,
o
=
GetID
()
function
cm
.
initial_effect
(
c
)
c
:
EnableCounterPermit
(
0x629
,
LOCATION_ONFIELD
)
--Activate
--
Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
--e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
--
e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetOperation
(
cm
.
activate
)
c
:
RegisterEffect
(
e1
)
--change effect type
--
change effect type
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
...
...
@@ -17,7 +17,7 @@ function cm.initial_effect(c)
e2
:
SetRange
(
LOCATION_SZONE
)
e2
:
SetTargetRange
(
1
,
0
)
c
:
RegisterEffect
(
e2
)
--destory
--
destory
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_COUNTER
)
...
...
expansions/script/c60010155.lua
View file @
de3a285d
--无可取代的东西
--
无可取代的东西
local
cm
,
m
,
o
=
GetID
()
function
cm
.
initial_effect
(
c
)
c
:
EnableCounterPermit
(
0x629
,
LOCATION_ONFIELD
)
--Activate
--
Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
--e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
--
e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetOperation
(
cm
.
activate
)
c
:
RegisterEffect
(
e1
)
--change effect type
--
change effect type
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
...
...
@@ -17,7 +17,7 @@ function cm.initial_effect(c)
e2
:
SetRange
(
LOCATION_SZONE
)
e2
:
SetTargetRange
(
1
,
0
)
c
:
RegisterEffect
(
e2
)
--destory
--
destory
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
e1
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_COUNTER
)
...
...
expansions/script/c60010157.lua
View file @
de3a285d
--鼹鼠党欢迎你
--
鼹鼠党欢迎你
local
cm
,
m
,
o
=
GetID
()
function
cm
.
initial_effect
(
c
)
c
:
EnableCounterPermit
(
0x629
,
LOCATION_ONFIELD
)
--Activate
--
Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
--e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
--
e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetOperation
(
cm
.
activate
)
c
:
RegisterEffect
(
e1
)
--change effect type
--
change effect type
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
...
...
@@ -17,7 +17,7 @@ function cm.initial_effect(c)
e2
:
SetRange
(
LOCATION_SZONE
)
e2
:
SetTargetRange
(
1
,
0
)
c
:
RegisterEffect
(
e2
)
--destory
--
destory
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
e1
:
SetCategory
(
CATEGORY_RECOVER
+
CATEGORY_COUNTER
)
...
...
expansions/script/c60010159.lua
View file @
de3a285d
--暖夜不会漫长
--
暖夜不会漫长
local
cm
,
m
,
o
=
GetID
()
function
cm
.
initial_effect
(
c
)
c
:
EnableCounterPermit
(
0x629
,
LOCATION_ONFIELD
)
--Activate
--
Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
--e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
--
e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetOperation
(
cm
.
activate
)
c
:
RegisterEffect
(
e1
)
--change effect type
--
change effect type
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
...
...
@@ -17,7 +17,7 @@ function cm.initial_effect(c)
e2
:
SetRange
(
LOCATION_SZONE
)
e2
:
SetTargetRange
(
1
,
0
)
c
:
RegisterEffect
(
e2
)
--destory
--
destory
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
e1
:
SetCategory
(
CATEGORY_DRAW
+
CATEGORY_COUNTER
)
...
...
expansions/script/c60010161.lua
View file @
de3a285d
--一场术后对话
--
一场术后对话
local
cm
,
m
,
o
=
GetID
()
function
cm
.
initial_effect
(
c
)
c
:
EnableCounterPermit
(
0x629
,
LOCATION_ONFIELD
)
--Activate
--
Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
--e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
--
e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetOperation
(
cm
.
activate
)
c
:
RegisterEffect
(
e1
)
--change effect type
--
change effect type
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
...
...
@@ -17,7 +17,7 @@ function cm.initial_effect(c)
e2
:
SetRange
(
LOCATION_SZONE
)
e2
:
SetTargetRange
(
1
,
0
)
c
:
RegisterEffect
(
e2
)
--destory
--
destory
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
e1
:
SetCategory
(
CATEGORY_DRAW
+
CATEGORY_COUNTER
)
...
...
expansions/script/c60010163.lua
View file @
de3a285d
--决心如汗珠般闪耀
--
决心如汗珠般闪耀
local
cm
,
m
,
o
=
GetID
()
function
cm
.
initial_effect
(
c
)
c
:
EnableCounterPermit
(
0x629
,
LOCATION_ONFIELD
)
--Activate
--
Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
--e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
--
e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetOperation
(
cm
.
activate
)
c
:
RegisterEffect
(
e1
)
--change effect type
--
change effect type
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
...
...
@@ -17,7 +17,7 @@ function cm.initial_effect(c)
e2
:
SetRange
(
LOCATION_SZONE
)
e2
:
SetTargetRange
(
1
,
0
)
c
:
RegisterEffect
(
e2
)
--destory
--
destory
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
e1
:
SetCategory
(
CATEGORY_POSITION
+
CATEGORY_COUNTER
)
...
...
expansions/script/c60010165.lua
View file @
de3a285d
--猎物的视线
--
猎物的视线
local
cm
,
m
,
o
=
GetID
()
function
cm
.
initial_effect
(
c
)
c
:
EnableCounterPermit
(
0x629
,
LOCATION_ONFIELD
)
--Activate
--
Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
--e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
--
e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetOperation
(
cm
.
activate
)
c
:
RegisterEffect
(
e1
)
--change effect type
--
change effect type
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
...
...
@@ -17,7 +17,7 @@ function cm.initial_effect(c)
e2
:
SetRange
(
LOCATION_SZONE
)
e2
:
SetTargetRange
(
1
,
0
)
c
:
RegisterEffect
(
e2
)
--destory
--
destory
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
e1
:
SetCategory
(
CATEGORY_POSITION
+
CATEGORY_COUNTER
)
...
...
expansions/script/c65810070.lua
View file @
de3a285d
--盛夏回忆·飞舞
--
盛夏回忆·飞舞
function
c65810070
.
initial_effect
(
c
)
--仪式召唤
--
仪式召唤
aux
.
AddCodeList
(
c
,
65810055
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_DECKDES
)
...
...
@@ -11,7 +11,7 @@ function c65810070.initial_effect(c)
e1
:
SetTarget
(
c65810070
.
target1
)
e1
:
SetOperation
(
c65810070
.
activate1
)
c
:
RegisterEffect
(
e1
)
--回收
--
回收
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_GRAVE_ACTION
)
e2
:
SetType
(
EFFECT_TYPE_IGNITION
)
...
...
expansions/script/c75646616.lua
View file @
de3a285d
--科学的原点 SCIENCE
--
科学的原点 SCIENCE
function
c75646616
.
initial_effect
(
c
)
aux
.
AddCodeList
(
c
,
75646600
)
--Activate
--
Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
75646616
,
0
))
e1
:
SetCategory
(
CATEGORY_TOGRAVE
+
CATEGORY_RECOVER
+
CATEGORY_TOHAND
+
CATEGORY_SEARCH
)
...
...
@@ -11,7 +11,7 @@ function c75646616.initial_effect(c)
e1
:
SetTarget
(
c75646616
.
target
)
e1
:
SetOperation
(
c75646616
.
activate
)
c
:
RegisterEffect
(
e1
)
--Recover
--
Recover
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetCategory
(
CATEGORY_RECOVER
+
CATEGORY_SPECIAL_SUMMON
)
e2
:
SetType
(
EFFECT_TYPE_IGNITION
)
...
...
expansions/script/c81010036.lua
View file @
de3a285d
expansions/script/c81086031.lua
View file @
de3a285d
--夜色之下·便利屋68
--
夜色之下·便利屋68
local
m
=
81086031
local
cm
=
_G
[
"c"
..
m
]
Duel
.
LoadScript
(
"c81000000.lua"
)
function
cm
.
initial_effect
(
c
)
--fusion procedure
--
fusion procedure
aux
.
AddMaterialCodeList
(
c
,
81086007
)
c
:
EnableReviveLimit
()
aux
.
AddFusionProcMix
(
c
,
true
,
true
,
81086007
,
cm
.
matfilter1
,
cm
.
matfilter2
,
nil
)
--spsummon condition
--
spsummon condition
local
e0
=
Effect
.
CreateEffect
(
c
)
e0
:
SetType
(
EFFECT_TYPE_SINGLE
)
e0
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
+
EFFECT_FLAG_SINGLE_RANGE
)
...
...
@@ -15,7 +15,7 @@ function cm.initial_effect(c)
e0
:
SetRange
(
LOCATION_EXTRA
)
e0
:
SetValue
(
aux
.
fuslimit
)
c
:
RegisterEffect
(
e0
)
--act limit
--
act limit
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetRange
(
LOCATION_MZONE
)
...
...
@@ -24,7 +24,7 @@ function cm.initial_effect(c)
e1
:
SetTargetRange
(
0
,
LOCATION_MZONE
)
e1
:
SetTarget
(
cm
.
actfilter
)
c
:
RegisterEffect
(
e1
)
--negate
--
negate
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetCategory
(
CATEGORY_NEGATE
+
CATEGORY_TOGRAVE
)
e2
:
SetType
(
EFFECT_TYPE_QUICK_O
)
...
...
@@ -37,7 +37,7 @@ function cm.initial_effect(c)
e2
:
SetTarget
(
cm
.
negtg
)
e2
:
SetOperation
(
cm
.
negop
)
c
:
RegisterEffect
(
e2
)
--spsummon
--
spsummon
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
...
...
expansions/script/c88123018.lua
View file @
de3a285d
expansions/script/c88178103.lua
View file @
de3a285d
--红魔馆的绯红恶魔 蕾米莉亚·斯卡雷特
--
红魔馆的绯红恶魔 蕾米莉亚·斯卡雷特
function
c88178103
.
initial_effect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
88178103
,
0
))
...
...
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