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
Soulgamer
ygopro-222DIY-cards
Commits
78e07f65
Commit
78e07f65
authored
Aug 23, 2021
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ndyd
parent
3a941b4d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
expansions/script/c12084008.lua
expansions/script/c12084008.lua
+1
-1
expansions/script/c12084011.lua
expansions/script/c12084011.lua
+3
-3
expansions/script/c19500012.lua
expansions/script/c19500012.lua
+1
-1
No files found.
expansions/script/c12084008.lua
View file @
78e07f65
...
@@ -39,7 +39,7 @@ function cm.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -39,7 +39,7 @@ function cm.operation(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
function
cm
.
actop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
actop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsAbleToHand
,
tp
,
0
,
LOCATION_ONFIELD
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsAbleToHand
,
tp
,
LOCATION_ONFIELD
,
0
,
nil
)
if
g
:
GetCount
()
>
0
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
m
,
2
))
then
if
g
:
GetCount
()
>
0
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
m
,
2
))
then
Duel
.
BreakEffect
()
Duel
.
BreakEffect
()
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
...
...
expansions/script/c12084011.lua
View file @
78e07f65
...
@@ -72,7 +72,7 @@ function cm.drop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -72,7 +72,7 @@ function cm.drop(e,tp,eg,ep,ev,re,r,rp)
local
e2
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
local
e2
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetCode
(
EFFECT_PUBLIC
)
e2
:
SetCode
(
EFFECT_PUBLIC
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
tc
:
RegisterEffect
(
e2
)
tc
:
RegisterEffect
(
e2
)
tc
:
RegisterFlagEffect
(
12009060
,
RESET_EVENT
+
0x1fe0000
,
EFFECT_FLAG_CLIENT_HINT
,
0
,
1
,
aux
.
Stringid
(
m
,
2
))
tc
:
RegisterFlagEffect
(
12009060
,
RESET_EVENT
+
0x1fe0000
,
EFFECT_FLAG_CLIENT_HINT
,
0
,
1
,
aux
.
Stringid
(
m
,
2
))
tc
=
g
:
GetNext
()
tc
=
g
:
GetNext
()
...
@@ -98,10 +98,10 @@ function cm.drop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -98,10 +98,10 @@ function cm.drop(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
function
cm
.
sumlimit
(
e
,
c
)
function
cm
.
sumlimit
(
e
,
c
)
return
c
:
GetFlagEffect
(
m
)
return
c
:
GetFlagEffect
(
m
)
>
0
end
end
function
cm
.
aclimit
(
e
,
re
,
tp
)
function
cm
.
aclimit
(
e
,
re
,
tp
)
return
re
:
GetHandler
():
GetFlagEffect
(
m
)
and
re
:
IsActiveType
(
TYPE_MONSTER
)
return
re
:
GetHandler
():
GetFlagEffect
(
m
)
>
0
and
re
:
IsActiveType
(
TYPE_MONSTER
)
end
end
...
...
expansions/script/c19500012.lua
View file @
78e07f65
...
@@ -98,7 +98,7 @@ function c19500012.discost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -98,7 +98,7 @@ function c19500012.discost(e,tp,eg,ep,ev,re,r,rp,chk)
if
c
.
Mobius
~=
999
then
Duel
.
Remove
(
e
:
GetHandler
(),
POS_FACEUP
,
REASON_COST
)
else
end
if
c
.
Mobius
~=
999
then
Duel
.
Remove
(
e
:
GetHandler
(),
POS_FACEUP
,
REASON_COST
)
else
end
end
end
function
c19500012
.
tfilter
(
c
,
tp
)
function
c19500012
.
tfilter
(
c
,
tp
)
return
c
:
IsControler
(
tp
)
and
c
:
IsSetCard
(
0x3990
,
0x3991
)
return
c
:
IsControler
(
tp
)
and
c
:
IsSetCard
(
0x3990
,
0x3991
)
and
c
:
IsLocation
(
LOCATION_GRAVE
)
end
end
function
c19500012
.
discon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c19500012
.
discon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
rp
==
tp
or
e
:
GetHandler
():
IsStatus
(
STATUS_BATTLE_DESTROYED
)
then
return
false
end
if
rp
==
tp
or
e
:
GetHandler
():
IsStatus
(
STATUS_BATTLE_DESTROYED
)
then
return
false
end
...
...
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