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
3397323f
Commit
3397323f
authored
Oct 10, 2019
by
TanakaKotoha
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix lua
parent
01f57349
Changes
8
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
16 additions
and
13 deletions
+16
-13
README.md
README.md
+5
-3
expansions/script/c14801022.lua
expansions/script/c14801022.lua
+0
-1
expansions/script/c33330603.lua
expansions/script/c33330603.lua
+2
-2
expansions/script/c33330604.lua
expansions/script/c33330604.lua
+1
-0
expansions/script/c33400320.lua
expansions/script/c33400320.lua
+5
-4
expansions/script/c65020058.lua
expansions/script/c65020058.lua
+1
-1
expansions/script/c65020059.lua
expansions/script/c65020059.lua
+1
-1
expansions/script/c65020060.lua
expansions/script/c65020060.lua
+1
-1
No files found.
README.md
View file @
3397323f
# YGOPro-222DIY-cards
The custom card data of YGOPro 222DIY Custom Server. see http://koishi.pro/pre.html .
User QQ Group: 642043095
# Bloomy!
まっすぐに感じよう
いつも わたしらしくいよう
風が連れてくるよ カルペディエム
ひらり 舞い上がってゆけbloomy
# Sound
https://github.com/purerosefallen/ygopro-222DIY-sound
expansions/script/c14801022.lua
View file @
3397323f
...
...
@@ -27,7 +27,6 @@ function c14801022.initial_effect(c)
e3
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e3
:
SetCode
(
EVENT_CHAIN_SOLVED
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetCountLimit
(
1
)
e3
:
SetCondition
(
c14801022
.
damcon
)
e3
:
SetOperation
(
c14801022
.
damop2
)
c
:
RegisterEffect
(
e3
)
...
...
expansions/script/c33330603.lua
View file @
3397323f
...
...
@@ -55,7 +55,7 @@ function c33330603.op(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetTargetRange
(
LOCATION_MZONE
,
LOCATION_MZONE
)
e1
:
SetTarget
(
c33330603
.
distg
)
e1
:
SetLabelObject
(
tc
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
,
2
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
Duel
.
RegisterEffect
(
e1
,
tp
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
...
...
@@ -63,7 +63,7 @@ function c33330603.op(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetCondition
(
c33330603
.
discon
)
e2
:
SetOperation
(
c33330603
.
disop
)
e2
:
SetLabelObject
(
tc
)
e2
:
SetReset
(
RESET_PHASE
+
PHASE_END
,
2
)
e2
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
Duel
.
RegisterEffect
(
e2
,
tp
)
end
end
...
...
expansions/script/c33330604.lua
View file @
3397323f
...
...
@@ -12,6 +12,7 @@ function cm.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
)
e1
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e1
:
SetCountLimit
(
1
,
m
)
e1
:
SetTarget
(
cm
.
target
)
e1
:
SetOperation
(
cm
.
operation
)
c
:
RegisterEffect
(
e1
)
...
...
expansions/script/c33400320.lua
View file @
3397323f
...
...
@@ -34,7 +34,7 @@ function c33400320.initial_effect(c)
e5
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_REMOVE
)
e5
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e5
:
SetCode
(
EVENT_BATTLE_DESTROYING
)
e5
:
SetCountLimit
(
1
,
33400320
)
e5
:
SetCountLimit
(
1
,
33400320
+
10000
)
e5
:
SetCondition
(
aux
.
bdcon
)
e5
:
SetOperation
(
c33400320
.
desop
)
c
:
RegisterEffect
(
e5
)
...
...
@@ -140,9 +140,10 @@ function c33400320.thfilter1(c)
return
c
:
IsAbleToHand
()
and
c
:
IsSetCard
(
0x5341
)
end
function
c33400320
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
GetFieldGroupCount
(
c
:
GetControler
(),
0
,
LOCATION_ONFIELD
)
==
0
then
return
end
local
g1
=
GetMatchingGroup
(
nil
,
tp
,
0
,
LOCATION_ONFIELD
,
nil
)
local
g2
=
GetMatchingGroup
(
c33400320
.
thfilter1
,
tp
,
LOCATION_GRAVE
+
LOCATION_REMOVED
,
0
,
nil
)
if
Duel
.
GetFieldGroupCount
(
tp
,
0
,
LOCATION_ONFIELD
)
==
0
then
return
end
local
g1
=
Duel
.
GetMatchingGroup
(
nil
,
tp
,
0
,
LOCATION_ONFIELD
,
nil
)
local
g2
=
Duel
.
GetMatchingGroup
(
c33400320
.
thfilter1
,
tp
,
LOCATION_GRAVE
+
LOCATION_REMOVED
,
0
,
nil
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
local
tc
=
g1
:
Select
(
tp
,
1
,
1
,
nil
)
Duel
.
Remove
(
tc
,
POS_FACEDOWN
,
REASON_EFFECT
)
...
...
expansions/script/c65020058.lua
View file @
3397323f
...
...
@@ -6,7 +6,7 @@ function c65020058.initial_effect(c)
e1
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
)
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e1
:
SetRange
(
LOCATION_HAND
)
e1
:
SetCountLimit
(
1
,
65020058
)
e1
:
SetCountLimit
(
1
)
e1
:
SetCost
(
c65020058
.
cost
)
e1
:
SetTarget
(
c65020058
.
target
)
e1
:
SetOperation
(
c65020058
.
activate
)
...
...
expansions/script/c65020059.lua
View file @
3397323f
...
...
@@ -6,7 +6,7 @@ function c65020059.initial_effect(c)
e1
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
)
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e1
:
SetRange
(
LOCATION_HAND
)
e1
:
SetCountLimit
(
1
,
65020059
)
e1
:
SetCountLimit
(
1
)
e1
:
SetCost
(
c65020059
.
cost
)
e1
:
SetTarget
(
c65020059
.
target
)
e1
:
SetOperation
(
c65020059
.
activate
)
...
...
expansions/script/c65020060.lua
View file @
3397323f
...
...
@@ -6,7 +6,7 @@ function c65020060.initial_effect(c)
e1
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
)
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e1
:
SetRange
(
LOCATION_HAND
)
e1
:
SetCountLimit
(
1
,
65020060
)
e1
:
SetCountLimit
(
1
)
e1
:
SetCost
(
c65020060
.
cost
)
e1
:
SetTarget
(
c65020060
.
target
)
e1
:
SetOperation
(
c65020060
.
activate
)
...
...
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