Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-2pick
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
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
MyCard
ygopro-2pick
Commits
c2b1f418
Commit
c2b1f418
authored
Dec 03, 2011
by
argon.sun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
script
parent
6e603d07
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
36 additions
and
2 deletions
+36
-2
script/c10755984.lua
script/c10755984.lua
+4
-0
script/c12076263.lua
script/c12076263.lua
+30
-0
script/c12247206.lua
script/c12247206.lua
+2
-2
No files found.
script/c10755984.lua
View file @
c2b1f418
...
...
@@ -12,11 +12,15 @@ function c10755984.initial_effect(c)
e1
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetCountLimit
(
1
)
e1
:
SetCondition
(
c10755984
.
condition
)
e1
:
SetCost
(
c10755984
.
cost
)
e1
:
SetTarget
(
c10755984
.
target
)
e1
:
SetOperation
(
c10755984
.
operation
)
c
:
RegisterEffect
(
e1
)
end
function
c10755984
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetTurnPlayer
()
==
tp
end
function
c10755984
.
costfilter
(
c
)
return
c
:
IsAttribute
(
ATTRIBUTE_WIND
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToRemoveAsCost
()
end
...
...
script/c12076263.lua
0 → 100644
View file @
c2b1f418
--ゼンマイドッグ
function
c12076263
.
initial_effect
(
c
)
--atk/lv up
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
12076263
,
0
))
e1
:
SetProperty
(
EFFECT_FLAG_NO_TURN_RESET
)
e1
:
SetCategory
(
CATEGORY_ATKCHANGE
)
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetCountLimit
(
1
)
e1
:
SetOperation
(
c12076263
.
operation
)
c
:
RegisterEffect
(
e1
)
end
function
c12076263
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
c
:
IsFaceup
()
and
c
:
IsRelateToEffect
(
e
)
then
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
e1
:
SetReset
(
RESET_EVENT
+
0x1ff0000
+
RESET_PHASE
+
PHASE_END
)
e1
:
SetValue
(
600
)
c
:
RegisterEffect
(
e1
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetCode
(
EFFECT_UPDATE_LEVEL
)
e2
:
SetReset
(
RESET_EVENT
+
0x1ff0000
+
RESET_PHASE
+
PHASE_END
)
e2
:
SetValue
(
2
)
c
:
RegisterEffect
(
e2
)
end
end
script/c12247206.lua
View file @
c2b1f418
...
...
@@ -38,7 +38,7 @@ end
function
c12247206
.
sp
(
g
,
tp
)
local
sc
=
g
:
GetFirst
()
while
sc
do
Duel
.
SpecialSummonStep
(
sc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummonStep
(
sc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
_ATTACK
)
sc
=
g
:
GetNext
()
end
end
...
...
@@ -46,7 +46,7 @@ function c12247206.activate(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
e
:
GetLabelObject
()
local
ft1
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
local
gg
=
Group
.
CreateGroup
()
if
ft1
>
0
and
tc
:
IsRelateToEffect
(
e
)
then
if
ft1
>
0
and
tc
:
Is
Faceup
()
and
tc
:
Is
RelateToEffect
(
e
)
then
local
g
=
Duel
.
GetMatchingGroup
(
c12247206
.
filter
,
tp
,
0x13
,
0
,
nil
,
tc
:
GetCode
(),
e
,
tp
)
if
g
:
GetCount
()
<=
ft1
then
c12247206
.
sp
(
g
,
tp
)
else
...
...
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