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
Nguyễn Anh Kiệt
ygopro-222DIY-cards
Commits
144edb64
Commit
144edb64
authored
Sep 03, 2024
by
花桃白音
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix 4270003 miko of wolf quickeffect condition
parent
e36d5db8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
expansions/script/c4270003.lua
expansions/script/c4270003.lua
+4
-4
No files found.
expansions/script/c4270003.lua
View file @
144edb64
...
...
@@ -7,7 +7,7 @@ function c4270003.initial_effect(c)
e1
:
SetRange
(
LOCATION_HAND
)
e1
:
SetCountLimit
(
1
,
4270005
)
e1
:
SetCost
(
c4270003
.
cost
)
e1
:
SetCondition
(
c4270003
.
condition
0
)
e1
:
SetCondition
(
c4270003
.
condition
1
)
e1
:
SetTarget
(
c4270003
.
target
)
e1
:
SetOperation
(
c4270003
.
operation
)
c
:
RegisterEffect
(
e1
)
...
...
@@ -15,7 +15,7 @@ function c4270003.initial_effect(c)
e2
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e2
:
SetHintTiming
(
0
,
TIMINGS_CHECK_MONSTER
+
TIMING_END_PHASE
)
e2
:
SetCode
(
EVENT_FREE_CHAIN
)
e2
:
SetCondition
(
c4270003
.
condition
1
)
e2
:
SetCondition
(
c4270003
.
condition
0
)
c
:
RegisterEffect
(
e2
)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
...
...
@@ -31,10 +31,10 @@ function c4270003.filter(c,tp)
return
c
:
IsCode
(
4270009
)
and
c
:
IsFaceup
()
end
function
c4270003
.
condition0
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
IsExisting
Target
(
c4270003
.
filter
,
tp
,
LOCATION_REMOVED
,
0
,
1
,
nil
)
return
Duel
.
IsExisting
MatchingCard
(
c4270003
.
filter
,
tp
,
LOCATION_REMOVED
,
0
,
1
,
nil
)
end
function
c4270003
.
condition1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
not
Duel
.
IsExisting
Target
(
c4270003
.
filter
,
tp
,
LOCATION_REMOVED
,
0
,
1
,
nil
)
return
not
Duel
.
IsExisting
MatchingCard
(
c4270003
.
filter
,
tp
,
LOCATION_REMOVED
,
0
,
1
,
nil
)
end
function
c4270003
.
cfilter
(
c
,
tp
)
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToRemoveAsCost
()
...
...
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