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
八宫一月
ygopro-scripts
Commits
90e39158
Commit
90e39158
authored
Dec 04, 2018
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
d4361801
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
4 deletions
+23
-4
c77967790.lua
c77967790.lua
+23
-4
No files found.
c77967790.lua
View file @
90e39158
--ダイナレスラー・キング・Tレッ
クス
--ダイナレスラー・キング・Tレッ
スル
function
c77967790
.
initial_effect
(
c
)
--link summon
aux
.
AddLinkProcedure
(
c
,
aux
.
FilterBoolFunction
(
Card
.
IsLinkSetCard
,
0x11a
),
2
)
...
...
@@ -56,21 +56,32 @@ function c77967790.atkop(e,tp,eg,ep,ev,re,r,rp)
local
c
=
e
:
GetHandler
()
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToEffect
(
e
)
then
local
fid
=
c
:
GetFieldID
()
Duel
.
RegisterFlagEffect
(
tp
,
77967790
,
RESET_PHASE
+
PHASE_BATTLE
,
0
,
1
)
tc
:
RegisterFlagEffect
(
77967790
,
RESET_PHASE
+
PHASE_BATTLE
+
RESET_EVENT
+
RESETS_STANDARD
,
0
,
1
,
fid
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetCode
(
EFFECT_CANNOT_ATTACK
)
e1
:
SetTargetRange
(
0
,
LOCATION_MZONE
)
e1
:
SetLabel
(
fid
)
e1
:
SetLabelObject
(
tc
)
e1
:
SetCondition
(
c77967790
.
descon
)
e1
:
SetCondition
(
c77967790
.
atkcon2
)
e1
:
SetTarget
(
c77967790
.
atktg2
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_BATTLE
)
Duel
.
RegisterEffect
(
e1
,
tp
)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e3
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e3
:
SetCode
(
EVENT_ATTACK_ANNOUNCE
)
e3
:
SetOperation
(
c77967790
.
atkop2
)
e3
:
SetReset
(
RESET_PHASE
+
PHASE_BATTLE
+
RESET_EVENT
+
RESETS_STANDARD
)
tc
:
RegisterEffect
(
e3
,
true
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
77967790
,
1
))
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e2
:
SetCode
(
EVENT_PHASE
+
PHASE_BATTLE
)
e2
:
SetCountLimit
(
1
)
e2
:
SetLabel
(
fid
)
e2
:
SetLabelObject
(
tc
)
e2
:
SetCondition
(
c77967790
.
descon
)
e2
:
SetOperation
(
c77967790
.
desop
)
...
...
@@ -78,12 +89,20 @@ function c77967790.atkop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
RegisterEffect
(
e2
,
tp
)
end
end
function
c77967790
.
atkcon2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
e
:
GetLabelObject
()
return
tc
:
GetFlagEffect
(
77967791
)
==
0
end
function
c77967790
.
atktg2
(
e
,
c
)
return
c
~=
e
:
GetLabelObject
()
local
tc
=
e
:
GetLabelObject
()
return
c
~=
tc
or
c
:
GetFlagEffectLabel
(
77967790
)
~=
e
:
GetLabel
()
end
function
c77967790
.
atkop2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
e
:
GetHandler
():
RegisterFlagEffect
(
77967791
,
RESET_PHASE
+
PHASE_BATTLE
,
0
,
1
)
end
function
c77967790
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
e
:
GetLabelObject
()
return
Duel
.
GetFlagEffect
(
tp
,
77967790
)
~=
0
and
tc
:
GetAttackAnnouncedCount
()
==
0
return
tc
:
GetFlagEffectLabel
(
77967790
)
==
e
:
GetLabel
()
and
tc
:
GetAttackAnnouncedCount
()
==
0
end
function
c77967790
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
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