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
a75989b0
Commit
a75989b0
authored
Aug 20, 2018
by
DailyShana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
c612e353
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
3 deletions
+4
-3
c26232916.lua
c26232916.lua
+2
-2
c4290468.lua
c4290468.lua
+1
-1
c94585852.lua
c94585852.lua
+1
-0
No files found.
c26232916.lua
View file @
a75989b0
...
...
@@ -74,8 +74,8 @@ function c26232916.aclimit(e,re,tp)
end
function
c26232916
.
repfilter
(
c
,
tp
)
return
c
:
IsFaceup
()
and
(
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsSetCard
(
0x2b
)
or
c
:
IsSetCard
(
0x61
))
and
c
:
IsOnField
()
and
c
:
IsControler
(
tp
)
and
not
c
:
IsReason
(
REASON_REPLACE
)
and
c
:
IsReason
(
REASON_BATTLE
+
REASON_EFFECT
)
and
c
:
IsOnField
()
and
c
:
IsControler
(
tp
)
and
not
c
:
IsReason
(
REASON_REPLACE
)
and
(
c
:
IsReason
(
REASON_BATTLE
)
or
c
:
IsReason
(
REASON_EFFECT
)
and
c
:
GetReasonPlayer
()
==
1
-
tp
)
end
function
c26232916
.
rmfilter
(
c
)
return
c
:
IsSetCard
(
0x2b
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToRemoveAsCost
()
...
...
c4290468.lua
View file @
a75989b0
...
...
@@ -53,7 +53,7 @@ function c4290468.atkop(e,tp,eg,ep,ev,re,r,rp)
tc
:
RegisterEffect
(
e1
)
end
function
c4290468
.
dacon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
(
Duel
.
GetCurrentPhase
()
>=
PHASE_BATTLE_START
and
Duel
.
GetCurrentPhase
()
<=
PHASE_BATTLE
)
and
e
:
GetHandler
():
GetAttackedGroup
Count
()
~=
0
return
Duel
.
GetCurrentPhase
()
==
PHASE_BATTLE_STEP
and
e
:
GetHandler
():
GetAttacked
Count
()
~=
0
and
Duel
.
GetAttacker
()
==
nil
and
Duel
.
GetCurrentChain
()
==
0
end
function
c4290468
.
dacost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
c94585852.lua
View file @
a75989b0
...
...
@@ -48,6 +48,7 @@ function c94585852.regop(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
eg
:
GetFirst
()
while
tc
do
if
tc
:
IsReason
(
REASON_DESTROY
)
and
not
tc
:
IsReason
(
REASON_BATTLE
)
and
tc
:
IsSetCard
(
0x45
)
and
tc
:
GetLevel
()
>
0
then
local
tlv
=
tc
:
GetLevel
()
if
tc
:
IsControler
(
tp
)
then
if
tlv
>
lv1
then
lv1
=
tlv
end
g1
:
AddCard
(
tc
)
...
...
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