Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-scripts
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
Reinen
ygopro-scripts
Commits
84e3e4af
Commit
84e3e4af
authored
Jul 25, 2017
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
a4896bde
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
17 additions
and
7 deletions
+17
-7
c27877771.lua
c27877771.lua
+1
-0
c37433748.lua
c37433748.lua
+14
-5
c66393507.lua
c66393507.lua
+1
-1
c92781606.lua
c92781606.lua
+1
-1
No files found.
c27877771.lua
View file @
84e3e4af
...
...
@@ -5,6 +5,7 @@ function c27877771.initial_effect(c)
e1
:
SetDescription
(
aux
.
Stringid
(
27877771
,
0
))
e1
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
+
EFFECT_FLAG_DELAY
)
e1
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e1
:
SetCountLimit
(
1
,
27877771
)
e1
:
SetTarget
(
c27877771
.
target
)
...
...
c37433748.lua
View file @
84e3e4af
...
...
@@ -61,6 +61,7 @@ function c37433748.eqop(e,tp,eg,ep,ev,re,r,rp)
e5
:
SetType
(
EFFECT_TYPE_IGNITION
)
e5
:
SetRange
(
LOCATION_SZONE
)
e5
:
SetCountLimit
(
1
)
e5
:
SetCondition
(
c37433748
.
dircon
)
e5
:
SetCost
(
c37433748
.
dircost
)
e5
:
SetOperation
(
c37433748
.
dirop
)
e5
:
SetReset
(
RESET_EVENT
+
0x1fe0000
)
...
...
@@ -69,18 +70,26 @@ end
function
c37433748
.
eqlimit
(
e
,
c
)
return
c
==
e
:
GetLabelObject
()
end
function
c37433748
.
dircon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
IsAbleToEnterBP
()
end
function
c37433748
.
cfilter
(
c
,
ec
)
return
c
:
IsAbleToGraveAsCost
()
and
c
~=
ec
end
function
c37433748
.
dircost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsAbleToGraveAsCost
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
c
)
end
local
ec
=
c
:
GetEquipTarget
()
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c37433748
.
cfilter
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
c
,
ec
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsAbleToGraveAsCost
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
1
,
c
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c37433748
.
cfilter
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
1
,
c
,
e
c
)
Duel
.
SendtoGrave
(
g
,
REASON_COST
)
end
function
c37433748
.
dirop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
not
e
:
GetHandler
():
IsRelateToEffect
(
e
)
then
return
end
local
ec
=
e
:
GetHandler
():
GetEquipTarget
()
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
local
ec
=
c
:
GetEquipTarget
()
if
not
ec
then
return
end
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
()
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_DIRECT_ATTACK
)
e1
:
SetReset
(
RESET_EVENT
+
0x1fe0000
+
RESET_PHASE
+
PHASE_END
)
...
...
c66393507.lua
View file @
84e3e4af
...
...
@@ -9,7 +9,7 @@ function c66393507.initial_effect(c)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetCode
(
EVENT_LEAVE_FIELD
)
e1
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
+
EFFECT_FLAG_DELAY
)
e1
:
SetProperty
(
EFFECT_FLAG_
CARD_TARGET
+
EFFECT_FLAG_
DAMAGE_STEP
+
EFFECT_FLAG_DELAY
)
e1
:
SetCondition
(
c66393507
.
spcon
)
e1
:
SetTarget
(
c66393507
.
sptg
)
e1
:
SetOperation
(
c66393507
.
spop
)
...
...
c92781606.lua
View file @
84e3e4af
...
...
@@ -9,7 +9,7 @@ function c92781606.initial_effect(c)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetCode
(
EVENT_LEAVE_FIELD
)
e1
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
+
EFFECT_FLAG_DELAY
)
e1
:
SetProperty
(
EFFECT_FLAG_
CARD_TARGET
+
EFFECT_FLAG_
DAMAGE_STEP
+
EFFECT_FLAG_DELAY
)
e1
:
SetCondition
(
c92781606
.
spcon
)
e1
:
SetTarget
(
c92781606
.
sptg
)
e1
:
SetOperation
(
c92781606
.
spop
)
...
...
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