Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-pre-data
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
MyCard
ygopro-pre-data
Commits
41aec8f3
Commit
41aec8f3
authored
Oct 23, 2021
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
94a1bd74
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
script/c100426034.lua
script/c100426034.lua
+1
-1
script/c101107013.lua
script/c101107013.lua
+2
-2
No files found.
script/c100426034.lua
View file @
41aec8f3
...
...
@@ -67,7 +67,7 @@ function c100426034.thop(e,tp,eg,ep,ev,re,r,rp)
end
function
c100426034
.
discon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
loc
=
Duel
.
GetChainInfo
(
ev
,
CHAININFO_TRIGGERING_LOCATION
)
return
bit
.
band
(
loc
,
LOCATION_SZONE
)
~=
0
return
Duel
.
GetTurnPlayer
()
==
1
-
tp
and
bit
.
band
(
loc
,
LOCATION_SZONE
)
~=
0
and
re
:
IsActiveType
(
TYPE_SPELL
+
TYPE_TRAP
)
and
Duel
.
IsChainDisablable
(
ev
)
and
not
e
:
GetHandler
():
IsStatus
(
STATUS_BATTLE_DESTROYED
)
end
function
c100426034
.
spfilter
(
c
,
e
,
tp
,
ec
)
...
...
script/c101107013.lua
View file @
41aec8f3
...
...
@@ -67,7 +67,7 @@ function c101107013.atktg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
end
function
c101107013
.
atkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstTarget
()
local
ct
=
Duel
.
GetMatchingGroupCount
(
c101107013
.
atkfilter2
,
tp
,
LOCATION_ONFIELD
+
LOCATION_GRAVE
,
0
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
c101107013
.
atkfilter2
,
tp
,
LOCATION_ONFIELD
+
LOCATION_GRAVE
,
0
,
nil
)
local
atk
=
g
:
GetClassCount
(
Card
.
GetCode
)
*
500
if
atk
>
0
and
tc
:
IsFaceup
()
and
tc
:
IsRelateToEffect
(
e
)
then
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
...
...
@@ -101,7 +101,7 @@ end
function
c101107013
.
drcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_PENDULUM
)
end
function
c101107013
.
costfilter
(
c
)
function
c101107013
.
dr
costfilter
(
c
)
return
c
:
IsSetCard
(
0xae
,
0xaf
)
and
c
:
IsDiscardable
()
end
function
c101107013
.
drcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
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