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
55702689
Commit
55702689
authored
Sep 07, 2017
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixes
parent
6394c206
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
4 deletions
+7
-4
expansions/script/c12000052.lua
expansions/script/c12000052.lua
+5
-2
expansions/script/c13255222.lua
expansions/script/c13255222.lua
+2
-2
No files found.
expansions/script/c12000052.lua
View file @
55702689
--奇迹糕点 誓言皇后
function
c12000052
.
initial_effect
(
c
)
--pendulum summon
aux
.
EnablePendulumAttribute
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
...
...
@@ -15,7 +18,7 @@ function c12000052.initial_effect(c)
e3
:
SetType
(
EFFECT_TYPE_IGNITION
)
e3
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e3
:
SetRange
(
LOCATION_GRAVE
)
e3
:
SetCountLimit
(
1
,
120001
07
)
e3
:
SetCountLimit
(
1
,
120001
52
)
e3
:
SetTarget
(
c12000052
.
destg
)
e3
:
SetOperation
(
c12000052
.
desop
)
c
:
RegisterEffect
(
e3
)
...
...
@@ -58,7 +61,7 @@ function c12000052.spop(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e2
:
SetAbsoluteRange
(
tp
,
1
,
0
)
e2
:
SetTarget
(
c12000052
.
splimit
)
e2
:
SetReset
(
RESET_EVENT
+
0x1f
e0000
)
e2
:
SetReset
(
RESET_EVENT
+
0x1f
f0000
+
RESET_PHASE
+
PHASE_END
)
Duel
.
RegisterEffect
(
e2
,
tp
)
end
end
...
...
expansions/script/c13255222.lua
View file @
55702689
...
...
@@ -30,7 +30,7 @@ function c13255222.initial_effect(c)
e3
:
SetDescription
(
aux
.
Stringid
(
13255222
,
2
))
e3
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e3
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e3
:
SetProperty
(
EFFECT_FLAG_DELAY
+
EFFECT_FLAG_CARD_TARGET
)
e3
:
SetCode
(
EVENT_REMOVE
)
e3
:
SetCountLimit
(
1
,
13255222
)
e3
:
SetTarget
(
c13255222
.
sptg1
)
...
...
@@ -94,7 +94,7 @@ function c13255222.disop(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c13255222
.
spfilter1
(
c
,
e
,
tp
)
return
c
:
IsLevelBelow
(
1
)
and
not
c
:
IsCode
(
13255222
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsLevelBelow
(
1
)
and
c
:
IsFaceup
()
and
not
c
:
IsCode
(
13255222
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
function
c13255222
.
sptg1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
...
...
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