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
6625c0cf
Commit
6625c0cf
authored
Dec 19, 2020
by
mercury233
Committed by
GitHub
Dec 18, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix disable attack target effects (#1515)
parent
ecb830ba
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
7 additions
and
0 deletions
+7
-0
c12735388.lua
c12735388.lua
+1
-0
c27331568.lua
c27331568.lua
+1
-0
c35220244.lua
c35220244.lua
+1
-0
c40509732.lua
c40509732.lua
+1
-0
c71345905.lua
c71345905.lua
+1
-0
c76080032.lua
c76080032.lua
+1
-0
c87460579.lua
c87460579.lua
+1
-0
No files found.
c12735388.lua
View file @
6625c0cf
...
...
@@ -57,6 +57,7 @@ function c12735388.disop1(e,tp,eg,ep,ev,re,r,rp)
local
c
=
e
:
GetHandler
()
local
tc
=
c
:
GetEquipTarget
():
GetBattleTarget
()
tc
:
RegisterFlagEffect
(
12735388
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_BATTLE
,
0
,
1
)
Duel
.
AdjustInstantly
(
c
)
end
function
c12735388
.
distg
(
e
,
c
)
return
c
:
GetFlagEffect
(
12735388
)
~=
0
...
...
c27331568.lua
View file @
6625c0cf
...
...
@@ -64,6 +64,7 @@ function c27331568.distg(e,c)
if
c
:
GetFlagEffect
(
27331568
)
>
0
then
return
true
end
if
c
:
GetSummonLocation
()
==
LOCATION_EXTRA
and
c
:
GetBattleTarget
()
~=
nil
and
c
:
GetBattleTarget
():
GetFieldID
()
==
e
:
GetLabel
()
then
c
:
RegisterFlagEffect
(
27331568
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_BATTLE
,
0
,
1
)
Duel
.
AdjustInstantly
(
e
:
GetHandler
())
return
true
end
return
false
...
...
c35220244.lua
View file @
6625c0cf
...
...
@@ -82,6 +82,7 @@ end
function
c35220244
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
e
:
GetHandler
():
GetEquipTarget
():
GetBattleTarget
()
tc
:
RegisterFlagEffect
(
35220244
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_BATTLE
,
0
,
1
)
Duel
.
AdjustInstantly
(
e
:
GetHandler
())
end
function
c35220244
.
distg
(
e
,
c
)
return
c
:
GetFlagEffect
(
35220244
)
~=
0
...
...
c40509732.lua
View file @
6625c0cf
...
...
@@ -53,6 +53,7 @@ function c40509732.disop(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
e
:
GetHandler
():
GetBattleTarget
()
if
not
tc
then
return
end
tc
:
RegisterFlagEffect
(
40509732
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_BATTLE
,
0
,
1
)
Duel
.
AdjustInstantly
(
e
:
GetHandler
())
end
function
c40509732
.
distg
(
e
,
c
)
return
c
:
GetFlagEffect
(
40509732
)
~=
0
...
...
c71345905.lua
View file @
6625c0cf
...
...
@@ -73,6 +73,7 @@ function c71345905.disop(e,tp,eg,ep,ev,re,r,rp)
local
bc
=
c
:
GetBattleTarget
()
if
bc
then
bc
:
RegisterFlagEffect
(
71345905
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_BATTLE
,
0
,
1
)
Duel
.
AdjustInstantly
(
e
:
GetHandler
())
end
end
function
c71345905
.
distg
(
e
,
c
)
...
...
c76080032.lua
View file @
6625c0cf
...
...
@@ -77,6 +77,7 @@ end
function
c76080032
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
e
:
GetHandler
():
GetEquipTarget
():
GetBattleTarget
()
tc
:
RegisterFlagEffect
(
76080032
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_BATTLE
,
0
,
1
)
Duel
.
AdjustInstantly
(
e
:
GetHandler
())
end
function
c76080032
.
distg
(
e
,
c
)
return
c
:
GetFlagEffect
(
76080032
)
~=
0
...
...
c87460579.lua
View file @
6625c0cf
...
...
@@ -80,6 +80,7 @@ function c87460579.disop(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
Duel
.
GetAttackTarget
()
if
tc
:
IsControler
(
tp
)
then
tc
=
Duel
.
GetAttacker
()
end
tc
:
RegisterFlagEffect
(
87460579
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_BATTLE
,
0
,
1
)
Duel
.
AdjustInstantly
(
c
)
end
function
c87460579
.
distg
(
e
,
c
)
return
c
:
GetFlagEffect
(
87460579
)
~=
0
...
...
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