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
75c91c16
Commit
75c91c16
authored
Feb 05, 2021
by
mercury233
Committed by
GitHub
Feb 05, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix ZW-一角獣皇槍
when it is equipped by 竜装合体 ドラゴニック・ホープレイ
parent
6a003db6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
c76080032.lua
c76080032.lua
+5
-3
No files found.
c76080032.lua
View file @
75c91c16
...
...
@@ -26,6 +26,7 @@ function c76080032.initial_effect(c)
e4
:
SetCode
(
EFFECT_DISABLE
)
e4
:
SetRange
(
LOCATION_SZONE
)
e4
:
SetTargetRange
(
0
,
LOCATION_MZONE
)
e4
:
SetCondition
(
c76080032
.
discon
)
e4
:
SetTarget
(
c76080032
.
distg
)
c
:
RegisterEffect
(
e4
)
local
e5
=
e4
:
Clone
()
...
...
@@ -76,13 +77,14 @@ end
function
c76080032
.
discon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
ec
=
e
:
GetHandler
():
GetEquipTarget
()
return
ec
and
(
ec
==
Duel
.
GetAttacker
()
or
ec
==
Duel
.
GetAttackTarget
())
and
ec
:
GetBattleTarget
()
and
Duel
.
GetCurrentPhase
()
>=
PHASE_BATTLE_START
and
Duel
.
GetCurrentPhase
()
<=
PHASE_BATTLE
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
local
ec
=
e
:
GetHandler
():
GetEquipTarget
()
return
ec
and
c
==
ec
:
GetBattleTarget
()
end
function
c76080032
.
eqlimit
(
e
,
c
)
return
c
==
e
:
GetLabelObject
()
...
...
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