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
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-scripts
Commits
caba7e1f
Commit
caba7e1f
authored
Sep 20, 2016
by
VanillaSalt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
af509916
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
5 additions
and
7 deletions
+5
-7
c26556950.lua
c26556950.lua
+1
-1
c67547370.lua
c67547370.lua
+1
-3
c78274190.lua
c78274190.lua
+1
-1
c86157908.lua
c86157908.lua
+1
-1
c94689206.lua
c94689206.lua
+1
-1
No files found.
c26556950.lua
View file @
caba7e1f
...
...
@@ -53,7 +53,7 @@ function c26556950.regop(e,tp,eg,ep,ev,re,r,rp)
end
function
c26556950
.
damcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
return
c
:
GetOverlayCount
()
>
0
and
ep
~=
tp
and
c
:
GetFlagEffect
(
26556950
)
~=
0
return
c
:
GetOverlayCount
()
>
0
and
ep
~=
tp
and
c
:
GetFlagEffect
(
26556950
)
~=
0
and
re
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
end
function
c26556950
.
damop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_CARD
,
0
,
26556950
)
...
...
c67547370.lua
View file @
caba7e1f
...
...
@@ -85,9 +85,7 @@ function c67547370.efilter(e,te)
return
te
:
GetOwner
()
~=
e
:
GetOwner
()
end
function
c67547370
.
atkcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
bc
=
c
:
GetBattleTarget
()
return
bc
and
bc
:
IsControler
(
1
-
tp
)
return
e
:
GetHandler
():
GetBattleTarget
()
end
function
c67547370
.
atkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
...
...
c78274190.lua
View file @
caba7e1f
...
...
@@ -18,7 +18,7 @@ function c78274190.initial_effect(c)
local
e4
=
Effect
.
CreateEffect
(
c
)
e4
:
SetDescription
(
aux
.
Stringid
(
78274190
,
0
))
e4
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e4
:
SetCode
(
EVENT_BATTLE
D
)
e4
:
SetCode
(
EVENT_BATTLE
_DESTROYING
)
e4
:
SetRange
(
LOCATION_PZONE
)
e4
:
SetCountLimit
(
1
)
e4
:
SetCondition
(
c78274190
.
cacon
)
...
...
c86157908.lua
View file @
caba7e1f
...
...
@@ -19,7 +19,7 @@ function c86157908.initial_effect(c)
e3
:
SetCategory
(
CATEGORY_RECOVER
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e3
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e3
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
+
EFFECT_FLAG_CARD_TARGET
+
EFFECT_FLAG_DELAY
)
e3
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
+
EFFECT_FLAG_CARD_TARGET
)
e3
:
SetTarget
(
c86157908
.
target
)
e3
:
SetOperation
(
c86157908
.
operation
)
c
:
RegisterEffect
(
e3
)
...
...
c94689206.lua
View file @
caba7e1f
...
...
@@ -70,7 +70,7 @@ function c94689206.thop(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
GetMatchingGroup
(
c94689206
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
nil
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
local
sg
=
g
:
SelectWithSumEqual
(
tp
,
Card
.
GetLevel
,
8
,
1
,
3
)
if
sg
:
GetCount
()
>
0
then
if
sg
and
sg
:
GetCount
()
>
0
then
Duel
.
SendtoHand
(
sg
,
nil
,
REASON_EFFECT
)
Duel
.
ConfirmCards
(
1
-
tp
,
sg
)
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