Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro
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
YGOPRO-520DIY
ygopro
Commits
67398114
Commit
67398114
authored
Apr 06, 2012
by
argon.sun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
87c1b546
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
11 deletions
+11
-11
script/c66818682.lua
script/c66818682.lua
+1
-1
script/c80163754.lua
script/c80163754.lua
+8
-8
system.conf
system.conf
+2
-2
No files found.
script/c66818682.lua
View file @
67398114
...
...
@@ -17,7 +17,7 @@ function c66818682.initial_effect(c)
e2
:
SetDescription
(
aux
.
Stringid
(
66818682
,
1
))
e2
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
+
EFFECT_FLAG_DELAY
)
e2
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
+
EFFECT_FLAG_D
AMAGE_STEP
+
EFFECT_FLAG_D
ELAY
)
e2
:
SetCode
(
EVENT_DESTROYED
)
e2
:
SetCondition
(
c66818682
.
spcon
)
e2
:
SetTarget
(
c66818682
.
sptg
)
...
...
script/c80163754.lua
View file @
67398114
...
...
@@ -20,24 +20,24 @@ function c80163754.filter(c,atk)
end
function
c80163754
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
local
g
=
Duel
.
GetMatchingGroup
(
c80163754
.
filter
,
tp
,
0
,
LOCATION_MZONE
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
c80163754
.
filter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
)
if
g
:
GetCount
()
==
0
then
return
false
end
local
mg
=
g
:
GetMinGroup
(
Card
.
GetDefence
)
local
mg
,
mdef
=
g
:
GetMinGroup
(
Card
.
GetDefence
)
e
:
SetLabel
(
0
)
return
Duel
.
CheckReleaseGroup
(
tp
,
c80163754
.
cfilter
,
1
,
nil
,
g
:
GetFirst
():
GetDefence
()
)
return
Duel
.
CheckReleaseGroup
(
tp
,
c80163754
.
cfilter
,
1
,
nil
,
mdef
)
end
local
g
=
Duel
.
GetMatchingGroup
(
c80163754
.
filter
,
tp
,
0
,
LOCATION_MZONE
,
nil
)
local
mg
=
g
:
GetMinGroup
(
Card
.
GetDefence
)
local
rg
=
Duel
.
SelectReleaseGroup
(
tp
,
c80163754
.
cfilter
,
1
,
1
,
nil
,
g
:
GetFirst
():
GetDefence
()
)
local
g
=
Duel
.
GetMatchingGroup
(
c80163754
.
filter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
)
local
mg
,
mdef
=
g
:
GetMinGroup
(
Card
.
GetDefence
)
local
rg
=
Duel
.
SelectReleaseGroup
(
tp
,
c80163754
.
cfilter
,
1
,
1
,
nil
,
mdef
)
e
:
SetLabel
(
rg
:
GetFirst
():
GetAttack
())
Duel
.
Release
(
rg
,
REASON_COST
)
end
function
c80163754
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetLabel
()
==
0
end
local
dg
=
Duel
.
GetMatchingGroup
(
c80163754
.
filter
,
tp
,
0
,
LOCATION_MZONE
,
nil
,
e
:
GetLabel
())
local
dg
=
Duel
.
GetMatchingGroup
(
c80163754
.
filter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
e
:
GetLabel
())
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
dg
,
dg
:
GetCount
(),
0
,
0
)
end
function
c80163754
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
dg
=
Duel
.
GetMatchingGroup
(
c80163754
.
filter
,
tp
,
0
,
LOCATION_MZONE
,
nil
,
e
:
GetLabel
())
local
dg
=
Duel
.
GetMatchingGroup
(
c80163754
.
filter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
e
:
GetLabel
())
Duel
.
Destroy
(
dg
,
REASON_EFFECT
)
end
system.conf
View file @
67398114
...
...
@@ -3,9 +3,9 @@
antialias
=
2
nickname
=
Player
gamename
=
Game
lastdeck
=
test
lastdeck
=
ArriveGB
textfont
=
c
:/
windows
/
fonts
/
simsun
.
ttc
14
numfont
=
c
:/
windows
/
fonts
/
arialbd
.
ttf
serverport
=
7911
lastip
=
1
92
.
168
.
3
.
235
lastip
=
1
0
.
110
.
5
.
252
lastport
=
7911
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