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
alstroemeria-silentlove
ygopro-222DIY-cards
Commits
e195d2fb
Commit
e195d2fb
authored
Aug 20, 2019
by
2924713558
Committed by
GitHub
Aug 20, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update c1141702.lua
parent
77a971bd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
8 deletions
+6
-8
expansions/script/c1141702.lua
expansions/script/c1141702.lua
+6
-8
No files found.
expansions/script/c1141702.lua
View file @
e195d2fb
...
...
@@ -11,10 +11,11 @@ function c1141702.initial_effect(c)
c
:
RegisterEffect
(
e1
)
--
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e2
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetCode
(
EVENT_FREE_CHAIN
)
e2
:
SetRange
(
LOCATION_GRAVE
)
e2
:
SetCost
(
c1141702
.
cost2
)
e2
:
SetCost
(
aux
.
bfgcost
)
e2
:
SetCondition
(
c1141702
.
con2
)
e2
:
SetOperation
(
c1141702
.
op2
)
c
:
RegisterEffect
(
e2
)
...
...
@@ -58,11 +59,6 @@ function c1141702.op1(e,tp,eg,ep,ev,re,r,rp)
end
end
--
function
c1141702
.
cost2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
IsAbleToRemoveAsCost
()
end
Duel
.
Remove
(
e
:
GetHandler
(),
POS_FACEUP
,
REASON_COST
)
end
--
function
c1141702
.
tfilter2
(
c
,
tp
)
return
c
:
GetSummonPlayer
()
==
tp
and
muxu
.
check_set_Tatara
(
c
)
and
c
:
GetPreviousLocation
()
==
LOCATION_EXTRA
end
...
...
@@ -71,6 +67,8 @@ function c1141702.con2(e,tp,eg,ep,ev,re,r,rp)
end
--
function
c1141702
.
op2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
SkipPhase
(
1
-
tp
,
PHASE_MAIN1
,
RESET_PHASE
+
PHASE_MAIN1
,
1
)
if
Duel
.
GetTurnPlayer
()
~=
tp
and
Duel
.
GetCurrentPhase
()
==
PHASE_MAIN1
then
Duel
.
SkipPhase
(
1
-
tp
,
PHASE_MAIN1
,
RESET_PHASE
+
PHASE_MAIN1
,
1
)
end
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