Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-scripts-888
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
5
Merge Requests
5
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-scripts-888
Commits
c13764e8
Commit
c13764e8
authored
Mar 18, 2023
by
Chrono-Genex
Committed by
GitHub
Mar 18, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix (#2055)
parent
b6593349
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
2 deletions
+11
-2
c58775978.lua
c58775978.lua
+5
-1
c72302403.lua
c72302403.lua
+4
-0
c84808313.lua
c84808313.lua
+2
-1
No files found.
c58775978.lua
View file @
c13764e8
...
@@ -11,9 +11,10 @@ function c58775978.initial_effect(c)
...
@@ -11,9 +11,10 @@ function c58775978.initial_effect(c)
--cannot attack
--cannot attack
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetCode
(
EFFECT_CANNOT_ATTACK
_ANNOUNCE
)
e2
:
SetCode
(
EFFECT_CANNOT_ATTACK
)
e2
:
SetRange
(
LOCATION_SZONE
)
e2
:
SetRange
(
LOCATION_SZONE
)
e2
:
SetTargetRange
(
LOCATION_MZONE
,
LOCATION_MZONE
)
e2
:
SetTargetRange
(
LOCATION_MZONE
,
LOCATION_MZONE
)
e2
:
SetCondition
(
c58775978
.
atkcon
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
--remain field
--remain field
local
e3
=
Effect
.
CreateEffect
(
c
)
local
e3
=
Effect
.
CreateEffect
(
c
)
...
@@ -53,3 +54,6 @@ function c58775978.desop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -53,3 +54,6 @@ function c58775978.desop(e,tp,eg,ep,ev,re,r,rp)
c
:
ResetFlagEffect
(
1082946
)
c
:
ResetFlagEffect
(
1082946
)
end
end
end
end
function
c58775978
.
atkcon
(
e
)
return
e
:
GetHandler
():
GetType
()
==
TYPE_SPELL
end
c72302403.lua
View file @
c13764e8
...
@@ -14,6 +14,7 @@ function c72302403.initial_effect(c)
...
@@ -14,6 +14,7 @@ function c72302403.initial_effect(c)
e2
:
SetCode
(
EFFECT_CANNOT_ATTACK_ANNOUNCE
)
e2
:
SetCode
(
EFFECT_CANNOT_ATTACK_ANNOUNCE
)
e2
:
SetRange
(
LOCATION_SZONE
)
e2
:
SetRange
(
LOCATION_SZONE
)
e2
:
SetTargetRange
(
0
,
LOCATION_MZONE
)
e2
:
SetTargetRange
(
0
,
LOCATION_MZONE
)
e2
:
SetCondition
(
c72302403
.
atkcon
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
--remain field
--remain field
local
e3
=
Effect
.
CreateEffect
(
c
)
local
e3
=
Effect
.
CreateEffect
(
c
)
...
@@ -60,3 +61,6 @@ function c72302403.desop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -60,3 +61,6 @@ function c72302403.desop(e,tp,eg,ep,ev,re,r,rp)
c
:
ResetFlagEffect
(
1082946
)
c
:
ResetFlagEffect
(
1082946
)
end
end
end
end
function
c72302403
.
atkcon
(
e
)
return
e
:
GetHandler
():
GetType
()
==
TYPE_SPELL
end
c84808313.lua
View file @
c13764e8
...
@@ -57,7 +57,8 @@ function c84808313.desop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -57,7 +57,8 @@ function c84808313.desop(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c84808313
.
ntcon
(
e
,
c
,
minc
)
function
c84808313
.
ntcon
(
e
,
c
,
minc
)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
return
minc
==
0
and
Duel
.
GetLocationCount
(
c
:
GetControler
(),
LOCATION_MZONE
)
>
0
return
e
:
GetHandler
():
GetType
()
==
TYPE_SPELL
and
minc
==
0
and
Duel
.
GetLocationCount
(
c
:
GetControler
(),
LOCATION_MZONE
)
>
0
end
end
function
c84808313
.
nttg
(
e
,
c
)
function
c84808313
.
nttg
(
e
,
c
)
return
c
:
IsLevelAbove
(
5
)
and
c
:
IsRace
(
RACE_DINOSAUR
)
return
c
:
IsLevelAbove
(
5
)
and
c
:
IsRace
(
RACE_DINOSAUR
)
...
...
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