Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro
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
YGOPRO-520DIY
ygopro
Commits
20cda9c2
Commit
20cda9c2
authored
May 02, 2014
by
VanillaSalt
Browse files
Options
Browse Files
Download
Plain Diff
merge
parents
7a2bb808
89b97a8a
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
7 additions
and
6 deletions
+7
-6
script/c10282757.lua
script/c10282757.lua
+2
-2
script/c42776960.lua
script/c42776960.lua
+1
-1
script/c75380687.lua
script/c75380687.lua
+1
-1
script/c77505534.lua
script/c77505534.lua
+1
-0
script/c89397517.lua
script/c89397517.lua
+2
-2
No files found.
script/c10282757.lua
View file @
20cda9c2
...
...
@@ -28,9 +28,9 @@ function c10282757.activate(e,tp,eg,ep,ev,re,r,rp)
e3
:
SetTarget
(
c10282757
.
filter2
)
Duel
.
RegisterEffect
(
e3
,
tp
)
end
function
c10282757
.
filter1
(
c
)
function
c10282757
.
filter1
(
e
,
c
)
return
c
:
IsType
(
TYPE_XYZ
)
and
c
:
IsRankBelow
(
3
)
end
function
c10282757
.
filter2
(
c
)
function
c10282757
.
filter2
(
e
,
c
)
return
c
:
IsType
(
TYPE_XYZ
)
and
c
:
IsRankAbove
(
4
)
end
script/c42776960.lua
View file @
20cda9c2
...
...
@@ -40,7 +40,7 @@ function c42776960.activate(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetCode
(
EVENT_LEAVE_FIELD
)
e2
:
SetLabel
(
1
-
tp
)
e2
:
SetOperation
(
c42776960
.
leaveop
)
e2
:
SetReset
(
RESET_EVENT
+
0x1fe0000
)
e2
:
SetReset
(
RESET_EVENT
+
RESET_OVERLAY
)
tc
:
RegisterEffect
(
e2
)
end
end
...
...
script/c75380687.lua
View file @
20cda9c2
...
...
@@ -25,7 +25,7 @@ function c75380687.initial_effect(c)
e3
:
SetDescription
(
aux
.
Stringid
(
75380687
,
1
))
e3
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e3
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
+
EFFECT_FLAG_DELAY
)
e3
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
+
EFFECT_FLAG_DELAY
+
EFFECT_FLAG_DAMAGE_STEP
)
e3
:
SetCode
(
EVENT_DESTROYED
)
e3
:
SetTarget
(
c75380687
.
sptg
)
e3
:
SetOperation
(
c75380687
.
spop
)
...
...
script/c77505534.lua
View file @
20cda9c2
...
...
@@ -4,6 +4,7 @@ function c77505534.initial_effect(c)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetHintTiming
(
0
,
0x1e0
+
TIMING_END_PHASE
)
e1
:
SetTarget
(
c77505534
.
target
)
e1
:
SetOperation
(
c77505534
.
activate
)
c
:
RegisterEffect
(
e1
)
...
...
script/c89397517.lua
View file @
20cda9c2
...
...
@@ -21,7 +21,7 @@ function c89397517.rmfilter(c)
return
c
:
IsSetCard
(
0xa1
)
and
c
:
IsType
(
TYPE_SPELL
)
and
c
:
IsAbleToRemove
()
end
function
c89397517
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0xa0
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
true
,
fals
e
)
return
c
:
IsSetCard
(
0xa0
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
true
,
tru
e
)
end
function
c89397517
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
...
...
@@ -54,7 +54,7 @@ function c89397517.activate(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
tc
=
spg
:
Select
(
tp
,
1
,
1
,
nil
):
GetFirst
()
spg
:
Remove
(
Card
.
IsCode
,
nil
,
tc
:
GetCode
())
Duel
.
SpecialSummonStep
(
tc
,
0
,
tp
,
tp
,
true
,
fals
e
,
POS_FACEUP
)
Duel
.
SpecialSummonStep
(
tc
,
0
,
tp
,
tp
,
true
,
tru
e
,
POS_FACEUP
)
tc
:
CompleteProcedure
()
ct
=
ct
-
1
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