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
Ai
ygopro-222DIY-cards
Commits
26f94b41
Commit
26f94b41
authored
Jul 11, 2019
by
HuangYuNan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
0711-bugfix-0
parent
6196f71d
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
5 additions
and
15 deletions
+5
-15
expansions/script/c17050932.lua
expansions/script/c17050932.lua
+1
-4
expansions/script/c65010107.lua
expansions/script/c65010107.lua
+1
-1
expansions/script/c65010124.lua
expansions/script/c65010124.lua
+1
-1
expansions/script/c81011111.lua
expansions/script/c81011111.lua
+2
-4
expansions/script/c9980706.lua
expansions/script/c9980706.lua
+0
-1
expansions/script/c9980710.lua
expansions/script/c9980710.lua
+0
-4
No files found.
expansions/script/c17050932.lua
View file @
26f94b41
...
@@ -59,11 +59,8 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -59,11 +59,8 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
local
zone
=
e
:
GetHandler
():
GetLinkedZone
(
tp
)
local
zone
=
e
:
GetHandler
():
GetLinkedZone
(
tp
)
local
lt
=
c
:
GetLinkedGroupCount
()
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
,
tp
,
LOCATION_REASON_TOFIELD
,
zone
)
local
ft
=
2
-
lt
if
c
:
GetSequence
()
>
4
then
ft
=
3
-
lt
end
local
tg
=
Duel
.
GetMatchingGroup
(
cm
.
filter
,
tp
,
LOCATION_DECK
,
0
,
nil
,
e
,
tp
,
zone
)
local
tg
=
Duel
.
GetMatchingGroup
(
cm
.
filter
,
tp
,
LOCATION_DECK
,
0
,
nil
,
e
,
tp
,
zone
)
if
tg
:
GetCount
()
==
0
or
ft
<=
0
then
return
end
if
Duel
.
IsPlayerAffectedByEffect
(
tp
,
59822133
)
then
ft
=
1
end
if
Duel
.
IsPlayerAffectedByEffect
(
tp
,
59822133
)
then
ft
=
1
end
local
g
=
Group
.
CreateGroup
()
local
g
=
Group
.
CreateGroup
()
while
tg
:
GetCount
()
>
0
and
ft
>
0
do
while
tg
:
GetCount
()
>
0
and
ft
>
0
do
...
...
expansions/script/c65010107.lua
View file @
26f94b41
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
function
c65010107
.
initial_effect
(
c
)
function
c65010107
.
initial_effect
(
c
)
--activate
--activate
local
e0
=
Effect
.
CreateEffect
(
c
)
local
e0
=
Effect
.
CreateEffect
(
c
)
e0
:
SetDescription
(
aux
.
Stringid
(
65010107
,
1
))
e0
:
SetDescription
(
aux
.
Stringid
(
65010107
,
0
))
e0
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e0
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e0
:
SetCode
(
EVENT_FREE_CHAIN
)
e0
:
SetCode
(
EVENT_FREE_CHAIN
)
c
:
RegisterEffect
(
e0
)
c
:
RegisterEffect
(
e0
)
...
...
expansions/script/c65010124.lua
View file @
26f94b41
...
@@ -37,7 +37,7 @@ function c65010124.initial_effect(c)
...
@@ -37,7 +37,7 @@ function c65010124.initial_effect(c)
c
:
RegisterEffect
(
e4
)
c
:
RegisterEffect
(
e4
)
end
end
function
c65010124
.
notgtg
(
e
,
c
)
function
c65010124
.
notgtg
(
e
,
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x9da0
)
and
not
c
=
=
e
:
GetHandler
()
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x9da0
)
and
c
~
=
e
:
GetHandler
()
end
end
function
c65010124
.
atkcon
(
e
)
function
c65010124
.
atkcon
(
e
)
return
Duel
.
GetCurrentPhase
()
==
PHASE_DAMAGE_CAL
return
Duel
.
GetCurrentPhase
()
==
PHASE_DAMAGE_CAL
...
...
expansions/script/c81011111.lua
View file @
26f94b41
...
@@ -60,12 +60,10 @@ end
...
@@ -60,12 +60,10 @@ end
function
c81011111
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c81011111
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
return
end
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
return
end
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c81011111
.
bafilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
e
,
tp
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c81011111
.
bafilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
e
,
tp
)
local
tc
=
g
:
GetFirst
()
if
g
:
GetCount
()
>
0
then
if
tc
then
Duel
.
SpecialSummon
(
g
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummonStep
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
end
local
e3
=
Effect
.
CreateEffect
(
c
)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
)
...
...
expansions/script/c9980706.lua
View file @
26f94b41
--戈尔贡三姐妹
--戈尔贡三姐妹
function
c9980706
.
initial_effect
(
c
)
function
c9980706
.
initial_effect
(
c
)
c
:
EnableReviveLimit
()
--splimit
--splimit
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
...
...
expansions/script/c9980710.lua
View file @
26f94b41
...
@@ -30,7 +30,6 @@ function c9980710.initial_effect(c)
...
@@ -30,7 +30,6 @@ function c9980710.initial_effect(c)
e2
:
SetRange
(
LOCATION_FZONE
)
e2
:
SetRange
(
LOCATION_FZONE
)
e2
:
SetCode
(
EFFECT_SELF_DESTROY
)
e2
:
SetCode
(
EFFECT_SELF_DESTROY
)
e2
:
SetTargetRange
(
LOCATION_MZONE
,
LOCATION_MZONE
)
e2
:
SetTargetRange
(
LOCATION_MZONE
,
LOCATION_MZONE
)
e2
:
SetCondition
(
c9980710
.
effcon
)
e2
:
SetTarget
(
c9980710
.
filter
)
e2
:
SetTarget
(
c9980710
.
filter
)
e2
:
SetValue
(
aux
.
TRUE
)
e2
:
SetValue
(
aux
.
TRUE
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
...
@@ -62,9 +61,6 @@ function c9980710.counter(e,tp,eg,ep,ev,re,r,rp)
...
@@ -62,9 +61,6 @@ function c9980710.counter(e,tp,eg,ep,ev,re,r,rp)
e
:
GetHandler
():
AddCounter
(
0x1009
,
ct
)
e
:
GetHandler
():
AddCounter
(
0x1009
,
ct
)
end
end
end
end
function
c9980710
.
effcon
(
e
)
return
e
:
GetHandler
():
GetOverlayCount
()
>
0
end
function
c9980710
.
filter
(
e
,
c
)
function
c9980710
.
filter
(
e
,
c
)
return
(
c
:
IsAttackBelow
(
500
)
or
c
:
IsDefenseBelow
(
500
))
and
c
:
IsFaceup
()
and
not
c
:
IsSetCard
(
0xbc8
)
and
not
c
:
IsImmuneToEffect
(
e
)
and
c
:
IsDestructable
()
return
(
c
:
IsAttackBelow
(
500
)
or
c
:
IsDefenseBelow
(
500
))
and
c
:
IsFaceup
()
and
not
c
:
IsSetCard
(
0xbc8
)
and
not
c
:
IsImmuneToEffect
(
e
)
and
c
:
IsDestructable
()
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