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
alstroemeria-silentlove
ygopro-222DIY-cards
Commits
3b57cad2
Commit
3b57cad2
authored
Jul 05, 2020
by
TanakaKotoha
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sr
parent
130c5382
Pipeline
#266
passed with stage
in 15 minutes and 1 second
Changes
10
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
35 additions
and
18 deletions
+35
-18
expansions/222DIY.cdb
expansions/222DIY.cdb
+0
-0
expansions/script/c14140012.lua
expansions/script/c14140012.lua
+12
-11
expansions/script/c18001002.lua
expansions/script/c18001002.lua
+3
-0
expansions/script/c18001003.lua
expansions/script/c18001003.lua
+3
-0
expansions/script/c18001004.lua
expansions/script/c18001004.lua
+3
-0
expansions/script/c18001005.lua
expansions/script/c18001005.lua
+3
-0
expansions/script/c33330011.lua
expansions/script/c33330011.lua
+1
-0
expansions/script/c33330033.lua
expansions/script/c33330033.lua
+2
-0
expansions/script/c33330036.lua
expansions/script/c33330036.lua
+1
-0
expansions/script/c33500020.lua
expansions/script/c33500020.lua
+7
-7
No files found.
expansions/222DIY.cdb
View file @
3b57cad2
No preview for this file type
expansions/script/c14140012.lua
View file @
3b57cad2
...
@@ -33,17 +33,18 @@ function cm.initial_effect(c)
...
@@ -33,17 +33,18 @@ function cm.initial_effect(c)
end
end
end
)
end
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
local
e3
=
Effect
.
CreateEffect
(
c
)
local
e4
=
Effect
.
CreateEffect
(
c
)
e3
:
SetCategory
(
CATEGORY_NEGATE
+
CATEGORY_DESTROY
)
e4
:
SetCategory
(
CATEGORY_NEGATE
+
CATEGORY_DESTROY
)
e3
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e4
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e3
:
SetCode
(
EVENT_CHAINING
)
e4
:
SetCode
(
EVENT_CHAINING
)
e3
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
+
EFFECT_FLAG_DAMAGE_CAL
)
e4
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
+
EFFECT_FLAG_DAMAGE_CAL
)
e3
:
SetRange
(
LOCATION_MZONE
)
e4
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetCondition
(
cm
.
discon
)
e4
:
SetCountLimit
(
1
,
m
)
e3
:
SetCost
(
cm
.
discost
)
e4
:
SetCondition
(
cm
.
discon
)
e3
:
SetTarget
(
cm
.
distg
)
e4
:
SetCost
(
cm
.
discost
)
e3
:
SetOperation
(
cm
.
disop
)
e4
:
SetTarget
(
cm
.
distg
)
c
:
RegisterEffect
(
e3
)
e4
:
SetOperation
(
cm
.
disop
)
c
:
RegisterEffect
(
e4
)
end
end
function
cm
.
discon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
discon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
not
e
:
GetHandler
():
IsStatus
(
STATUS_BATTLE_DESTROYED
)
and
Duel
.
IsChainNegatable
(
ev
)
return
not
e
:
GetHandler
():
IsStatus
(
STATUS_BATTLE_DESTROYED
)
and
Duel
.
IsChainNegatable
(
ev
)
...
...
expansions/script/c18001002.lua
View file @
3b57cad2
...
@@ -7,6 +7,7 @@ function c18001002.initial_effect(c)
...
@@ -7,6 +7,7 @@ function c18001002.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
+
EFFECT_FLAG_DELAY
)
e1
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
+
EFFECT_FLAG_DELAY
)
e1
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e1
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e1
:
SetCountLimit
(
1
,
18001002
)
e1
:
SetTarget
(
c18001002
.
eqtg
)
e1
:
SetTarget
(
c18001002
.
eqtg
)
e1
:
SetOperation
(
c18001002
.
eqop
)
e1
:
SetOperation
(
c18001002
.
eqop
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
...
@@ -20,6 +21,7 @@ function c18001002.initial_effect(c)
...
@@ -20,6 +21,7 @@ function c18001002.initial_effect(c)
e3
:
SetType
(
EFFECT_TYPE_IGNITION
)
e3
:
SetType
(
EFFECT_TYPE_IGNITION
)
e3
:
SetRange
(
LOCATION_GRAVE
)
e3
:
SetRange
(
LOCATION_GRAVE
)
e3
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e3
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e3
:
SetCountLimit
(
1
,
18001002
)
e3
:
SetCost
(
aux
.
bfgcost
)
e3
:
SetCost
(
aux
.
bfgcost
)
e3
:
SetTarget
(
c18001002
.
eqtg2
)
e3
:
SetTarget
(
c18001002
.
eqtg2
)
e3
:
SetOperation
(
c18001002
.
eqop2
)
e3
:
SetOperation
(
c18001002
.
eqop2
)
...
@@ -32,6 +34,7 @@ function c18001002.initial_effect(c)
...
@@ -32,6 +34,7 @@ function c18001002.initial_effect(c)
e4
:
SetRange
(
LOCATION_REMOVED
)
e4
:
SetRange
(
LOCATION_REMOVED
)
e4
:
SetProperty
(
EFFECT_FLAG_DELAY
+
EFFECT_FLAG_DAMAGE_STEP
)
e4
:
SetProperty
(
EFFECT_FLAG_DELAY
+
EFFECT_FLAG_DAMAGE_STEP
)
e4
:
SetCode
(
EVENT_DESTROYED
)
e4
:
SetCode
(
EVENT_DESTROYED
)
e4
:
SetCountLimit
(
1
,
18001002
)
e4
:
SetCondition
(
c18001002
.
condition
)
e4
:
SetCondition
(
c18001002
.
condition
)
e4
:
SetTarget
(
c18001002
.
target
)
e4
:
SetTarget
(
c18001002
.
target
)
e4
:
SetOperation
(
c18001002
.
operation
)
e4
:
SetOperation
(
c18001002
.
operation
)
...
...
expansions/script/c18001003.lua
View file @
3b57cad2
...
@@ -7,6 +7,7 @@ function c18001003.initial_effect(c)
...
@@ -7,6 +7,7 @@ function c18001003.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
+
EFFECT_FLAG_DELAY
)
e1
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
+
EFFECT_FLAG_DELAY
)
e1
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e1
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e1
:
SetCountLimit
(
1
,
18001003
)
e1
:
SetTarget
(
c18001003
.
eqtg
)
e1
:
SetTarget
(
c18001003
.
eqtg
)
e1
:
SetOperation
(
c18001003
.
eqop
)
e1
:
SetOperation
(
c18001003
.
eqop
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
...
@@ -20,6 +21,7 @@ function c18001003.initial_effect(c)
...
@@ -20,6 +21,7 @@ function c18001003.initial_effect(c)
e3
:
SetType
(
EFFECT_TYPE_IGNITION
)
e3
:
SetType
(
EFFECT_TYPE_IGNITION
)
e3
:
SetRange
(
LOCATION_GRAVE
)
e3
:
SetRange
(
LOCATION_GRAVE
)
e3
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e3
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e3
:
SetCountLimit
(
1
,
18001003
)
e3
:
SetCost
(
aux
.
bfgcost
)
e3
:
SetCost
(
aux
.
bfgcost
)
e3
:
SetTarget
(
c18001003
.
eqtg2
)
e3
:
SetTarget
(
c18001003
.
eqtg2
)
e3
:
SetOperation
(
c18001003
.
eqop2
)
e3
:
SetOperation
(
c18001003
.
eqop2
)
...
@@ -32,6 +34,7 @@ function c18001003.initial_effect(c)
...
@@ -32,6 +34,7 @@ function c18001003.initial_effect(c)
e4
:
SetRange
(
LOCATION_REMOVED
)
e4
:
SetRange
(
LOCATION_REMOVED
)
e4
:
SetProperty
(
EFFECT_FLAG_DELAY
+
EFFECT_FLAG_DAMAGE_STEP
)
e4
:
SetProperty
(
EFFECT_FLAG_DELAY
+
EFFECT_FLAG_DAMAGE_STEP
)
e4
:
SetCode
(
EVENT_DESTROYED
)
e4
:
SetCode
(
EVENT_DESTROYED
)
e4
:
SetCountLimit
(
1
,
18001003
)
e4
:
SetCondition
(
c18001003
.
condition
)
e4
:
SetCondition
(
c18001003
.
condition
)
e4
:
SetTarget
(
c18001003
.
target
)
e4
:
SetTarget
(
c18001003
.
target
)
e4
:
SetOperation
(
c18001003
.
operation
)
e4
:
SetOperation
(
c18001003
.
operation
)
...
...
expansions/script/c18001004.lua
View file @
3b57cad2
...
@@ -7,6 +7,7 @@ function c18001004.initial_effect(c)
...
@@ -7,6 +7,7 @@ function c18001004.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
+
EFFECT_FLAG_DELAY
)
e1
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
+
EFFECT_FLAG_DELAY
)
e1
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e1
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e1
:
SetCountLimit
(
1
,
18001004
)
e1
:
SetTarget
(
c18001004
.
eqtg
)
e1
:
SetTarget
(
c18001004
.
eqtg
)
e1
:
SetOperation
(
c18001004
.
eqop
)
e1
:
SetOperation
(
c18001004
.
eqop
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
...
@@ -20,6 +21,7 @@ function c18001004.initial_effect(c)
...
@@ -20,6 +21,7 @@ function c18001004.initial_effect(c)
e3
:
SetType
(
EFFECT_TYPE_IGNITION
)
e3
:
SetType
(
EFFECT_TYPE_IGNITION
)
e3
:
SetRange
(
LOCATION_GRAVE
)
e3
:
SetRange
(
LOCATION_GRAVE
)
e3
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e3
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e3
:
SetCountLimit
(
1
,
18001004
)
e3
:
SetCost
(
aux
.
bfgcost
)
e3
:
SetCost
(
aux
.
bfgcost
)
e3
:
SetTarget
(
c18001004
.
eqtg2
)
e3
:
SetTarget
(
c18001004
.
eqtg2
)
e3
:
SetOperation
(
c18001004
.
eqop2
)
e3
:
SetOperation
(
c18001004
.
eqop2
)
...
@@ -32,6 +34,7 @@ function c18001004.initial_effect(c)
...
@@ -32,6 +34,7 @@ function c18001004.initial_effect(c)
e4
:
SetRange
(
LOCATION_REMOVED
)
e4
:
SetRange
(
LOCATION_REMOVED
)
e4
:
SetProperty
(
EFFECT_FLAG_DELAY
+
EFFECT_FLAG_DAMAGE_STEP
)
e4
:
SetProperty
(
EFFECT_FLAG_DELAY
+
EFFECT_FLAG_DAMAGE_STEP
)
e4
:
SetCode
(
EVENT_DESTROYED
)
e4
:
SetCode
(
EVENT_DESTROYED
)
e4
:
SetCountLimit
(
1
,
18001004
)
e4
:
SetCondition
(
c18001004
.
condition
)
e4
:
SetCondition
(
c18001004
.
condition
)
e4
:
SetTarget
(
c18001004
.
target
)
e4
:
SetTarget
(
c18001004
.
target
)
e4
:
SetOperation
(
c18001004
.
operation
)
e4
:
SetOperation
(
c18001004
.
operation
)
...
...
expansions/script/c18001005.lua
View file @
3b57cad2
...
@@ -7,6 +7,7 @@ function c18001005.initial_effect(c)
...
@@ -7,6 +7,7 @@ function c18001005.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
+
EFFECT_FLAG_DELAY
)
e1
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
+
EFFECT_FLAG_DELAY
)
e1
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e1
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e1
:
SetCountLimit
(
1
,
18001005
)
e1
:
SetTarget
(
c18001005
.
eqtg
)
e1
:
SetTarget
(
c18001005
.
eqtg
)
e1
:
SetOperation
(
c18001005
.
eqop
)
e1
:
SetOperation
(
c18001005
.
eqop
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
...
@@ -20,6 +21,7 @@ function c18001005.initial_effect(c)
...
@@ -20,6 +21,7 @@ function c18001005.initial_effect(c)
e3
:
SetType
(
EFFECT_TYPE_IGNITION
)
e3
:
SetType
(
EFFECT_TYPE_IGNITION
)
e3
:
SetRange
(
LOCATION_GRAVE
)
e3
:
SetRange
(
LOCATION_GRAVE
)
e3
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e3
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e3
:
SetCountLimit
(
1
,
18001005
)
e3
:
SetCost
(
aux
.
bfgcost
)
e3
:
SetCost
(
aux
.
bfgcost
)
e3
:
SetTarget
(
c18001005
.
eqtg2
)
e3
:
SetTarget
(
c18001005
.
eqtg2
)
e3
:
SetOperation
(
c18001005
.
eqop2
)
e3
:
SetOperation
(
c18001005
.
eqop2
)
...
@@ -32,6 +34,7 @@ function c18001005.initial_effect(c)
...
@@ -32,6 +34,7 @@ function c18001005.initial_effect(c)
e4
:
SetRange
(
LOCATION_REMOVED
)
e4
:
SetRange
(
LOCATION_REMOVED
)
e4
:
SetProperty
(
EFFECT_FLAG_DELAY
+
EFFECT_FLAG_DAMAGE_STEP
)
e4
:
SetProperty
(
EFFECT_FLAG_DELAY
+
EFFECT_FLAG_DAMAGE_STEP
)
e4
:
SetCode
(
EVENT_DESTROYED
)
e4
:
SetCode
(
EVENT_DESTROYED
)
e4
:
SetCountLimit
(
1
,
18001005
)
e4
:
SetCondition
(
c18001005
.
condition
)
e4
:
SetCondition
(
c18001005
.
condition
)
e4
:
SetTarget
(
c18001005
.
target
)
e4
:
SetTarget
(
c18001005
.
target
)
e4
:
SetOperation
(
c18001005
.
operation
)
e4
:
SetOperation
(
c18001005
.
operation
)
...
...
expansions/script/c33330011.lua
View file @
3b57cad2
...
@@ -15,6 +15,7 @@ function cm.initial_effect(c)
...
@@ -15,6 +15,7 @@ function cm.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e1
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e1
:
SetProperty
(
EFFECT_FLAG_DELAY
+
EFFECT_FLAG_DAMAGE_STEP
)
e1
:
SetProperty
(
EFFECT_FLAG_DELAY
+
EFFECT_FLAG_DAMAGE_STEP
)
e1
:
SetCountLimit
(
1
,
m
+
900
)
e1
:
SetTarget
(
cm
.
destg
)
e1
:
SetTarget
(
cm
.
destg
)
e1
:
SetOperation
(
cm
.
desop
)
e1
:
SetOperation
(
cm
.
desop
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
...
...
expansions/script/c33330033.lua
View file @
3b57cad2
...
@@ -14,6 +14,7 @@ function cm.initial_effect(c)
...
@@ -14,6 +14,7 @@ function cm.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e1
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e1
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e1
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e1
:
SetCountLimit
(
1
,
m
)
e1
:
SetTarget
(
cm
.
destg
)
e1
:
SetTarget
(
cm
.
destg
)
e1
:
SetOperation
(
cm
.
desop
)
e1
:
SetOperation
(
cm
.
desop
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
...
@@ -33,6 +34,7 @@ function cm.initial_effect(c)
...
@@ -33,6 +34,7 @@ function cm.initial_effect(c)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e3
:
SetCode
(
EVENT_LEAVE_FIELD
)
e3
:
SetCode
(
EVENT_LEAVE_FIELD
)
e3
:
SetProperty
(
EFFECT_FLAG_DELAY
+
EFFECT_FLAG_DAMAGE_STEP
)
e3
:
SetProperty
(
EFFECT_FLAG_DELAY
+
EFFECT_FLAG_DAMAGE_STEP
)
e3
:
SetCountLimit
(
1
,
m
+
900
)
e3
:
SetCondition
(
cm
.
spcon
)
e3
:
SetCondition
(
cm
.
spcon
)
e3
:
SetTarget
(
cm
.
sptg
)
e3
:
SetTarget
(
cm
.
sptg
)
e3
:
SetOperation
(
cm
.
spop
)
e3
:
SetOperation
(
cm
.
spop
)
...
...
expansions/script/c33330036.lua
View file @
3b57cad2
...
@@ -16,6 +16,7 @@ function c33330036.initial_effect(c)
...
@@ -16,6 +16,7 @@ function c33330036.initial_effect(c)
e1
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_DESTROY
)
e1
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_DESTROY
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e1
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e1
:
SetCountLimit
(
1
,
33330036
)
e1
:
SetTarget
(
c33330036
.
tg1
)
e1
:
SetTarget
(
c33330036
.
tg1
)
e1
:
SetOperation
(
c33330036
.
op1
)
e1
:
SetOperation
(
c33330036
.
op1
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
...
...
expansions/script/c33500020.lua
View file @
3b57cad2
...
@@ -79,17 +79,17 @@ function cm.drcon1(e,tp,eg,ep,ev,re,r,rp)
...
@@ -79,17 +79,17 @@ function cm.drcon1(e,tp,eg,ep,ev,re,r,rp)
and
(
not
re
:
IsHasType
(
EFFECT_TYPE_ACTIONS
)
or
re
:
IsHasType
(
EFFECT_TYPE_CONTINUOUS
))
and
(
not
re
:
IsHasType
(
EFFECT_TYPE_ACTIONS
)
or
re
:
IsHasType
(
EFFECT_TYPE_CONTINUOUS
))
end
end
function
cm
.
drop1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
drop1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
--
Duel.Draw(tp,1,REASON_EFFECT)
--
Duel.Draw(tp,1,REASON_EFFECT)
local
g
=
Duel
.
GetFlagEffect
(
1
-
tp
,
m
)
*
1000
--
local g=Duel.GetFlagEffect(1-tp,m)*1000
Duel
.
Recover
(
tp
,
g
,
REASON_EFFECT
)
Duel
.
Recover
(
tp
,
200
,
REASON_EFFECT
)
end
end
function
cm
.
regcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
regcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
eg
:
IsExists
(
cm
.
filter
,
1
,
nil
,
1
-
tp
)
return
eg
:
IsExists
(
cm
.
filter
,
1
,
nil
,
1
-
tp
)
and
re
:
IsHasType
(
EFFECT_TYPE_ACTIONS
)
and
not
re
:
IsHasType
(
EFFECT_TYPE_CONTINUOUS
)
and
re
:
IsHasType
(
EFFECT_TYPE_ACTIONS
)
and
not
re
:
IsHasType
(
EFFECT_TYPE_CONTINUOUS
)
end
end
function
cm
.
regop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
regop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
--
local g=Duel.GetFlagEffect(1-tp,m)*1000
--
local g=Duel.GetFlagEffect(1-tp,m)*1000
--
Duel.Recover(tp,g,REASON_EFFECT)
--
Duel.Recover(tp,g,REASON_EFFECT)
Duel
.
RegisterFlagEffect
(
tp
,
m
,
RESET_CHAIN
,
0
,
1
)
Duel
.
RegisterFlagEffect
(
tp
,
m
,
RESET_CHAIN
,
0
,
1
)
end
end
function
cm
.
drcon2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
drcon2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
@@ -100,7 +100,7 @@ function cm.drop2(e,tp,eg,ep,ev,re,r,rp)
...
@@ -100,7 +100,7 @@ function cm.drop2(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
GetFlagEffect
(
1
-
tp
,
m
)
*
1000
local
g
=
Duel
.
GetFlagEffect
(
1
-
tp
,
m
)
*
1000
Duel
.
ResetFlagEffect
(
tp
,
m
)
Duel
.
ResetFlagEffect
(
tp
,
m
)
while
n
do
while
n
do
Duel
.
Recover
(
tp
,
g
,
REASON_EFFECT
)
Duel
.
Recover
(
tp
,
200
,
REASON_EFFECT
)
g
=
g
-
1000
g
=
g
-
1000
n
=
n
-
1
n
=
n
-
1
if
n
==
0
then
if
n
==
0
then
...
@@ -110,6 +110,6 @@ function cm.drop2(e,tp,eg,ep,ev,re,r,rp)
...
@@ -110,6 +110,6 @@ function cm.drop2(e,tp,eg,ep,ev,re,r,rp)
end
end
--e2
--e2
function
cm
.
rcop2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
rcop2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
)
*
10
00
local
g
=
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
)
*
2
00
Duel
.
Recover
(
tp
,
g
,
REASON_EFFECT
)
Duel
.
Recover
(
tp
,
g
,
REASON_EFFECT
)
end
end
\ No newline at end of file
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