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
Reinen
ygopro-scripts
Commits
9ec37e73
Commit
9ec37e73
authored
Feb 23, 2021
by
mallu11
Committed by
GitHub
Feb 23, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix 果たし-Ai- (#1568)
parent
d8882afc
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
c28645123.lua
c28645123.lua
+4
-3
No files found.
c28645123.lua
View file @
9ec37e73
...
...
@@ -6,6 +6,7 @@ function c28645123.initial_effect(c)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
)
e1
:
SetHintTiming
(
TIMING_DAMAGE_STEP
)
e1
:
SetCondition
(
aux
.
dscon
)
c
:
RegisterEffect
(
e1
)
--atk down
local
e2
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -40,7 +41,7 @@ function c28645123.initial_effect(c)
c
:
RegisterEffect
(
e4
)
end
function
c28645123
.
atkval
(
e
)
return
Duel
.
Get
MatchingGroupCount
(
Card
.
IsFaceup
,
e
:
GetHandlerPlayer
(),
LOCATION_ONFIELD
,
0
,
nil
)
*-
100
return
Duel
.
Get
FieldGroupCount
(
e
:
GetHandlerPlayer
(),
LOCATION_ONFIELD
,
0
)
*-
100
end
function
c28645123
.
actfilter
(
c
,
tp
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x135
)
and
c
:
IsControler
(
tp
)
...
...
@@ -52,13 +53,13 @@ function c28645123.actcon(e)
return
(
a
and
c28645123
.
actfilter
(
a
,
tp
))
or
(
d
and
c28645123
.
actfilter
(
d
,
tp
))
end
function
c28645123
.
cfilter
(
c
,
tp
)
return
c
:
IsSetCard
(
0x135
)
and
c
:
IsPreviousLocation
(
LOCATION_MZONE
)
and
c
:
IsPreviousControler
(
tp
)
return
c
:
Is
Previous
SetCard
(
0x135
)
and
c
:
IsPreviousLocation
(
LOCATION_MZONE
)
and
c
:
IsPreviousControler
(
tp
)
end
function
c28645123
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
eg
:
IsExists
(
c28645123
.
cfilter
,
1
,
nil
,
tp
)
end
function
c28645123
.
spfilter
(
c
,
e
,
tp
)
return
c
:
GetAttack
()
==
2300
and
c
:
IsRace
(
RACE_CYBERSE
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsAttack
(
2300
)
and
c
:
IsRace
(
RACE_CYBERSE
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
function
c28645123
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsControler
(
tp
)
and
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
c28645123
.
spfilter
(
chkc
,
e
,
tp
)
and
not
eg
:
IsContains
(
chkc
)
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