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
bdad82f7
Commit
bdad82f7
authored
May 17, 2015
by
VanillaSalt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
48ed1443
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
11 additions
and
9 deletions
+11
-9
script/c18271561.lua
script/c18271561.lua
+2
-4
script/c29267084.lua
script/c29267084.lua
+2
-1
script/c51099515.lua
script/c51099515.lua
+1
-0
script/c67113830.lua
script/c67113830.lua
+1
-0
script/c70861343.lua
script/c70861343.lua
+2
-2
script/c70899775.lua
script/c70899775.lua
+1
-0
script/c75078585.lua
script/c75078585.lua
+1
-0
script/c84401683.lua
script/c84401683.lua
+1
-2
No files found.
script/c18271561.lua
View file @
bdad82f7
...
...
@@ -12,12 +12,10 @@ function c18271561.initial_effect(c)
c
:
RegisterEffect
(
e1
)
end
function
c18271561
.
filter
(
c
,
tp
)
local
pos
=
c
:
GetPreviousPosition
()
if
c
:
IsReason
(
REASON_BATTLE
)
then
pos
=
c
:
GetBattlePosition
()
end
return
c
:
IsPreviousLocation
(
LOCATION_MZONE
)
and
bit
.
band
(
pos
,
POS_FACEUP
)
~=
0
return
c
:
IsPreviousLocation
(
LOCATION_MZONE
)
and
c
:
IsPreviousPosition
(
POS_FACEUP
)
and
c
:
GetPreviousControler
()
==
tp
and
c
:
IsReason
(
REASON_DESTROY
)
end
function
c18271561
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c18271561
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
eg
:
IsExists
(
c18271561
.
filter
,
1
,
nil
,
tp
)
end
function
c18271561
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
script/c29267084.lua
View file @
bdad82f7
...
...
@@ -6,6 +6,7 @@ function c29267084.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
+
EFFECT_FLAG_DAMAGE_STEP
)
e1
:
SetHintTiming
(
TIMING_DAMAGE_STEP
)
e1
:
SetCondition
(
c29267084
.
condition
)
e1
:
SetTarget
(
c29267084
.
target
)
e1
:
SetOperation
(
c29267084
.
operation
)
...
...
@@ -26,7 +27,7 @@ function c29267084.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
1
-
tp
)
and
chkc
:
IsFaceup
()
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
Card
.
IsFaceup
,
tp
,
0
,
LOCATION_MZONE
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FACEUP
)
local
g
=
Duel
.
SelectTarget
(
tp
,
Card
.
IsFaceup
,
tp
,
0
,
LOCATION_MZONE
,
1
,
1
,
nil
)
Duel
.
SelectTarget
(
tp
,
Card
.
IsFaceup
,
tp
,
0
,
LOCATION_MZONE
,
1
,
1
,
nil
)
end
function
c29267084
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
...
...
script/c51099515.lua
View file @
bdad82f7
...
...
@@ -6,6 +6,7 @@ function c51099515.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
+
EFFECT_FLAG_DAMAGE_STEP
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetHintTiming
(
TIMING_DAMAGE_STEP
)
e1
:
SetCondition
(
c51099515
.
condition
)
e1
:
SetCost
(
c51099515
.
cost
)
e1
:
SetTarget
(
c51099515
.
target
)
...
...
script/c67113830.lua
View file @
bdad82f7
...
...
@@ -5,6 +5,7 @@ function c67113830.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
)
e1
:
SetHintTiming
(
TIMING_DAMAGE_STEP
)
e1
:
SetCondition
(
c67113830
.
condition
)
e1
:
SetTarget
(
c67113830
.
target
)
e1
:
SetOperation
(
c67113830
.
activate
)
...
...
script/c70861343.lua
View file @
bdad82f7
...
...
@@ -5,7 +5,7 @@ function c70861343.initial_effect(c)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetHintTiming
(
0
,
0x1c0
,
TIMING_DRAW_PHASE
)
e1
:
SetHintTiming
(
0
,
0x1c0
+
TIMING_DRAW_PHASE
)
e1
:
SetTarget
(
c70861343
.
target
)
e1
:
SetOperation
(
c70861343
.
operation
)
c
:
RegisterEffect
(
e1
)
...
...
@@ -24,7 +24,7 @@ end
function
c70861343
.
filter
(
c
,
lv
,
e
,
tp
)
return
c
:
IsLevelBelow
(
lv
)
and
c
:
IsRace
(
RACE_BEAST
+
RACE_WINDBEAST
+
RACE_INSECT
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
function
c70861343
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c70861343
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>-
1
and
Duel
.
CheckReleaseGroup
(
tp
,
c70861343
.
cfilter
,
1
,
nil
,
e
,
tp
)
end
local
rg
=
Duel
.
SelectReleaseGroup
(
tp
,
c70861343
.
cfilter
,
1
,
1
,
nil
,
e
,
tp
)
...
...
script/c70899775.lua
View file @
bdad82f7
...
...
@@ -6,6 +6,7 @@ function c70899775.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
+
EFFECT_FLAG_DAMAGE_STEP
)
e1
:
SetHintTiming
(
TIMING_DAMAGE_STEP
)
e1
:
SetCondition
(
c70899775
.
condition
)
e1
:
SetTarget
(
c70899775
.
target
)
e1
:
SetOperation
(
c70899775
.
activate
)
...
...
script/c75078585.lua
View file @
bdad82f7
--スクランブル・エッグ
function
c75078585
.
initial_effect
(
c
)
Duel
.
EnableGlobalFlag
(
GLOBALFLAG_DELAYED_QUICKEFFECT
)
--Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
...
...
script/c84401683.lua
View file @
bdad82f7
...
...
@@ -10,10 +10,9 @@ function c84401683.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
+
EFFECT_FLAG_DAMAGE_STEP
)
e1
:
SetHintTiming
(
0
,
0x1c0
)
e1
:
SetHintTiming
(
TIMING_DAMAGE_STEP
,
TIMING_DAMAGE_STEP
+
0x1c0
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetCountLimit
(
1
)
e1
:
SetHintTiming
(
TIMING_DAMAGE_STEP
)
e1
:
SetCondition
(
c84401683
.
negcon
)
e1
:
SetCost
(
c84401683
.
negcost
)
e1
:
SetTarget
(
c84401683
.
negtg
)
...
...
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