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
八宫一月
ygopro-scripts
Commits
0ac38853
Commit
0ac38853
authored
Dec 05, 2018
by
nanahira
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
https://github.com/Fluorohydride/ygopro-scripts
parents
e2a0e5bc
faed93dd
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
c52551211.lua
c52551211.lua
+1
-1
c65500515.lua
c65500515.lua
+1
-1
c85289965.lua
c85289965.lua
+2
-2
No files found.
c52551211.lua
View file @
0ac38853
...
@@ -3,7 +3,7 @@ function c52551211.initial_effect(c)
...
@@ -3,7 +3,7 @@ function c52551211.initial_effect(c)
--tohand
--tohand
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
52551211
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
52551211
,
0
))
e1
:
SetCategory
(
CATEGORY_
SEARCH
+
CATEGORY_
TOHAND
)
e1
:
SetCategory
(
CATEGORY_TOHAND
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_FLIP
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_FLIP
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
+
EFFECT_FLAG_DELAY
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
+
EFFECT_FLAG_DELAY
)
e1
:
SetCountLimit
(
1
,
52551211
)
e1
:
SetCountLimit
(
1
,
52551211
)
...
...
c65500515.lua
View file @
0ac38853
...
@@ -34,7 +34,7 @@ function c65500515.seqop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -34,7 +34,7 @@ function c65500515.seqop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOZONE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOZONE
)
local
s
=
Duel
.
SelectDisableField
(
tp
,
1
,
LOCATION_MZONE
,
0
,
0
)
local
s
=
Duel
.
SelectDisableField
(
tp
,
1
,
LOCATION_MZONE
,
0
,
0
)
local
nseq
=
math.log
(
s
,
2
)
local
nseq
=
math.log
(
s
,
2
)
Duel
.
MoveSequence
(
t
c
,
nseq
)
Duel
.
MoveSequence
(
c
,
nseq
)
local
a
=
Duel
.
GetAttacker
()
local
a
=
Duel
.
GetAttacker
()
if
not
a
:
IsAttackable
()
or
not
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
65500516
,
0
,
0x4011
,
a
:
GetAttack
(),
0
,
2
,
RACE_AQUA
,
ATTRIBUTE_WATER
)
then
return
end
if
not
a
:
IsAttackable
()
or
not
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
65500516
,
0
,
0x4011
,
a
:
GetAttack
(),
0
,
2
,
RACE_AQUA
,
ATTRIBUTE_WATER
)
then
return
end
local
token
=
Duel
.
CreateToken
(
tp
,
65500516
)
local
token
=
Duel
.
CreateToken
(
tp
,
65500516
)
...
...
c85289965.lua
View file @
0ac38853
...
@@ -72,11 +72,11 @@ function c85289965.atkcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -72,11 +72,11 @@ function c85289965.atkcon(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c85289965
.
atktg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c85289965
.
atktg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chk
==
0
then
return
true
end
if
chk
==
0
then
return
true
end
e
:
GetHandler
():
GetBattleTarget
():
CreateEffectRelation
(
e
)
Duel
.
SetTargetCard
(
e
:
GetHandler
():
GetBattleTarget
()
)
end
end
function
c85289965
.
atkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c85289965
.
atkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
tc
=
c
:
GetBattle
Target
()
local
tc
=
Duel
.
GetFirst
Target
()
if
not
c
:
IsRelateToEffect
(
e
)
or
c
:
IsFacedown
()
or
tc
:
IsFacedown
()
or
not
tc
:
IsRelateToEffect
(
e
)
then
return
end
if
not
c
:
IsRelateToEffect
(
e
)
or
c
:
IsFacedown
()
or
tc
:
IsFacedown
()
or
not
tc
:
IsRelateToEffect
(
e
)
then
return
end
if
c
:
IsRelateToEffect
(
e
)
and
c
:
IsFaceup
()
then
if
c
:
IsRelateToEffect
(
e
)
and
c
:
IsFaceup
()
then
local
atk
=
tc
:
GetAttack
()
local
atk
=
tc
:
GetAttack
()
...
...
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