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
76d085be
Commit
76d085be
authored
Jul 23, 2014
by
VanillaSalt
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #858 from salix5/patch
fix
parents
82487a74
ba09bbbd
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
9 additions
and
11 deletions
+9
-11
script/c31077447.lua
script/c31077447.lua
+1
-1
script/c44256816.lua
script/c44256816.lua
+4
-0
script/c65305468.lua
script/c65305468.lua
+0
-7
script/c66127916.lua
script/c66127916.lua
+3
-2
script/c67249508.lua
script/c67249508.lua
+1
-1
No files found.
script/c31077447.lua
View file @
76d085be
...
...
@@ -32,7 +32,7 @@ function c31077447.activate(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
e1
:
SetValue
(
-
val
)
e1
:
SetReset
(
RESET_EVENT
+
0x1fe0000
+
RESET_PHASE
+
PHASE_END
)
e1
:
SetReset
(
RESET_EVENT
+
0x1fe0000
)
tc
:
RegisterEffect
(
e1
)
end
end
script/c44256816.lua
View file @
76d085be
...
...
@@ -7,6 +7,7 @@ function c44256816.initial_effect(c)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCountLimit
(
1
,
44256816
+
EFFECT_COUNT_CODE_OATH
)
e1
:
SetCost
(
c44256816
.
cost
)
e1
:
SetCondition
(
c44256816
.
con
)
e1
:
SetTarget
(
c44256816
.
target
)
e1
:
SetOperation
(
c44256816
.
activate
)
c
:
RegisterEffect
(
e1
)
...
...
@@ -32,6 +33,9 @@ function c44256816.checkop(e,tp,eg,ep,ev,re,r,rp)
if
p1
then
Duel
.
RegisterFlagEffect
(
0
,
44256816
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
end
if
p2
then
Duel
.
RegisterFlagEffect
(
1
,
44256816
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
end
end
function
c44256816
.
con
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_MZONE
,
0
)
==
0
end
function
c44256816
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetFlagEffect
(
tp
,
44256816
)
==
0
end
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
...
...
script/c65305468.lua
View file @
76d085be
...
...
@@ -11,13 +11,6 @@ function c65305468.initial_effect(c)
e1
:
SetOperation
(
c65305468
.
xyzop
)
e1
:
SetValue
(
SUMMON_TYPE_XYZ
)
c
:
RegisterEffect
(
e1
)
--rank
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e2
:
SetCode
(
EFFECT_CHANGE_RANK
)
e2
:
SetValue
(
1
)
c
:
RegisterEffect
(
e2
)
--indes
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
)
...
...
script/c66127916.lua
View file @
76d085be
...
...
@@ -33,8 +33,9 @@ function c66127916.activate(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c66127916
.
filter2
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
cg
:
GetFirst
())
if
g
:
GetCount
()
>
0
then
Duel
.
SendtoGrave
(
g
,
REASON_EFFECT
)
local
tc
=
Duel
.
GetFirstMatchingCard
(
c66127916
.
filter3
,
tp
,
LOCATION_DECK
,
0
,
nil
)
Duel
.
SendtoHand
(
g
,
nil
,
REASON_EFFECT
)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
local
tc
=
Duel
.
GetFirstMatchingCard
(
c66127916
.
filter3
,
tp
,
LOCATION_GRAVE
,
0
,
nil
)
if
tc
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
66127916
,
0
))
then
Duel
.
SendtoHand
(
tc
,
nil
,
REASON_EFFECT
)
Duel
.
ConfirmCards
(
1
-
tp
,
tc
)
...
...
script/c67249508.lua
View file @
76d085be
...
...
@@ -18,7 +18,7 @@ function c67249508.condition(e,tp,eg,ep,ev,re,r,rp)
end
function
c67249508
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
tc
=
Duel
.
GetAttackTarge
t
()
local
tc
=
e
:
GetLabelObjec
t
()
if
tc
:
IsRelateToBattle
()
then
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
...
...
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