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
96980f4b
Commit
96980f4b
authored
Jun 04, 2021
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
nmbd
parent
de31666c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
1 deletion
+19
-1
expansions/script/c33400100.lua
expansions/script/c33400100.lua
+17
-1
expansions/script/c33401651.lua
expansions/script/c33401651.lua
+2
-0
No files found.
expansions/script/c33400100.lua
View file @
96980f4b
...
...
@@ -7,7 +7,6 @@ function cm.initial_effect(c)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCountLimit
(
1
,
m
+
EFFECT_COUNT_CODE_OATH
)
c
:
RegisterEffect
(
e1
)
--Add counter
local
e2
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -16,6 +15,13 @@ function cm.initial_effect(c)
e2
:
SetRange
(
LOCATION_FZONE
)
e2
:
SetOperation
(
cm
.
acop
)
c
:
RegisterEffect
(
e2
)
--Add counter2
local
e5
=
Effect
.
CreateEffect
(
c
)
e5
:
SetType
(
EFFECT_TYPE_CONTINUOUS
+
EFFECT_TYPE_FIELD
)
e5
:
SetCode
(
EVENT_TO_GRAVE
)
e5
:
SetRange
(
LOCATION_FZONE
)
e5
:
SetOperation
(
cm
.
acop2
)
c
:
RegisterEffect
(
e5
)
--atk down
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
)
...
...
@@ -75,4 +81,14 @@ function cm.ctop(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
tc1
:
GetFirst
()
tc
:
AddCounter
(
0x34f
,
ct
,
true
)
end
end
function
cm
.
cfilter2
(
c
,
tp
,
re
)
return
c
:
GetPreviousControler
()
==
1
-
tp
and
c
:
IsPreviousLocation
(
LOCATION_ONFIELD
)
and
((
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsReason
(
REASON_BATTLE
)
and
c
:
GetReasonCard
():
IsSetCard
(
0x3341
,
0x3340
))
or
(
c
:
IsReason
(
REASON_EFFECT
)
and
c
:
GetReasonEffect
():
GetHandler
():
IsSetCard
(
0x3341
,
0x3340
)))
end
function
cm
.
acop2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
ct
=
eg
:
FilterCount
(
cm
.
cfilter2
,
nil
,
tp
,
re
)
if
ct
>
0
then
e
:
GetHandler
():
AddCounter
(
0x34f
,
ct
,
true
)
end
end
\ No newline at end of file
expansions/script/c33401651.lua
View file @
96980f4b
...
...
@@ -44,6 +44,8 @@ function cm.initial_effect(c)
e5
:
SetOperation
(
cm
.
ctop
)
c
:
RegisterEffect
(
e5
)
local
e6
=
e5
:
Clone
()
e6
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e6
:
SetCode
(
EVENT_FREE_CHAIN
)
e6
:
SetCondition
(
cm
.
con2
)
c
:
RegisterEffect
(
e6
)
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