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
97890fcc
Commit
97890fcc
authored
Apr 17, 2018
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
18a427bd
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
script/c101005071.lua
script/c101005071.lua
+2
-2
script/c101005074.lua
script/c101005074.lua
+0
-1
No files found.
script/c101005071.lua
View file @
97890fcc
...
...
@@ -12,7 +12,7 @@ function c101005071.initial_effect(c)
--atk limit
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetCode
(
EFFECT_
ONLY_ATTACK_MONSTER
)
e2
:
SetCode
(
EFFECT_
CANNOT_DIRECT_ATTACK
)
e2
:
SetRange
(
LOCATION_SZONE
)
e2
:
SetTargetRange
(
0
,
LOCATION_MZONE
)
e2
:
SetCondition
(
c101005071
.
atcon
)
...
...
@@ -32,7 +32,7 @@ end
function
c101005071
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
if
Duel
.
CheckReleaseGroup
(
tp
,
c101005071
.
spfilter1
,
1
,
nil
,
e
,
tp
)
and
Duel
.
Select
YesNo
(
tp
,
aux
.
Stringid
(
101005071
,
0
))
then
and
Duel
.
Select
EffectYesNo
(
tp
,
e
:
GetHandler
()
,
aux
.
Stringid
(
101005071
,
0
))
then
e
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e
:
SetOperation
(
c101005071
.
activate
)
local
rg
=
Duel
.
SelectReleaseGroup
(
tp
,
c101005071
.
spfilter1
,
1
,
1
,
nil
,
e
,
tp
)
...
...
script/c101005074.lua
View file @
97890fcc
...
...
@@ -4,7 +4,6 @@
function
c101005074
.
initial_effect
(
c
)
--Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
c
:
RegisterEffect
(
e1
)
...
...
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