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
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
Vee4
ygopro-scripts-888
Commits
a152081d
Commit
a152081d
authored
Feb 19, 2022
by
Chrono-Genex
Committed by
GitHub
Feb 19, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix (#1817)
parent
17e52392
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
c59170782.lua
c59170782.lua
+2
-2
c81983656.lua
c81983656.lua
+2
-2
No files found.
c59170782.lua
View file @
a152081d
...
@@ -15,7 +15,7 @@ function c59170782.initial_effect(c)
...
@@ -15,7 +15,7 @@ function c59170782.initial_effect(c)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
59170782
,
0
))
e2
:
SetDescription
(
aux
.
Stringid
(
59170782
,
0
))
e2
:
SetType
(
EFFECT_TYPE_
FIELD
+
EFFECT_TYPE_TRIGGER
_O
)
e2
:
SetType
(
EFFECT_TYPE_
QUICK
_O
)
e2
:
SetCode
(
EVENT_ATTACK_ANNOUNCE
)
e2
:
SetCode
(
EVENT_ATTACK_ANNOUNCE
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetCondition
(
c59170782
.
tgcon2
)
e2
:
SetCondition
(
c59170782
.
tgcon2
)
...
@@ -58,7 +58,7 @@ function c59170782.tgop1(e,tp,eg,ep,ev,re,r,rp)
...
@@ -58,7 +58,7 @@ function c59170782.tgop1(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
function
c59170782
.
tgcon2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c59170782
.
tgcon2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
tp
==
Duel
.
GetTurnPlayer
()
then
return
false
end
if
tp
==
Duel
.
GetTurnPlayer
()
or
e
:
GetHandler
():
IsStatus
(
STATUS_CHAINING
)
then
return
false
end
local
at
=
Duel
.
GetAttackTarget
()
local
at
=
Duel
.
GetAttackTarget
()
if
at
and
at
:
IsFaceup
()
and
at
:
IsSetCard
(
0x74
)
then
if
at
and
at
:
IsFaceup
()
and
at
:
IsSetCard
(
0x74
)
then
local
ag
=
eg
:
GetFirst
():
GetAttackableTarget
()
local
ag
=
eg
:
GetFirst
():
GetAttackableTarget
()
...
...
c81983656.lua
View file @
a152081d
...
@@ -16,7 +16,7 @@ function c81983656.initial_effect(c)
...
@@ -16,7 +16,7 @@ function c81983656.initial_effect(c)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
--change battle target
--change battle target
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_
SINGLE
+
EFFECT_TYPE_TRIGGER
_O
)
e2
:
SetType
(
EFFECT_TYPE_
QUICK
_O
)
e2
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e2
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e2
:
SetCode
(
EVENT_BE_BATTLE_TARGET
)
e2
:
SetCode
(
EVENT_BE_BATTLE_TARGET
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetRange
(
LOCATION_MZONE
)
...
@@ -55,7 +55,7 @@ function c81983656.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -55,7 +55,7 @@ function c81983656.spop(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
function
c81983656
.
cbcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c81983656
.
cbcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
r
~=
REASON_REPLACE
return
r
~=
REASON_REPLACE
and
Duel
.
GetAttackTarget
()
==
e
:
GetHandler
()
end
end
function
c81983656
.
cbfilter
(
c
,
at
)
function
c81983656
.
cbfilter
(
c
,
at
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x33
)
and
at
:
IsContains
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x33
)
and
at
:
IsContains
(
c
)
...
...
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