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
3
Merge Requests
3
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
13c209ad
Commit
13c209ad
authored
Mar 18, 2024
by
salix5
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix Ultimate Flame Swordsman
parent
dad78b2d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
13 deletions
+14
-13
c324483.lua
c324483.lua
+14
-13
No files found.
c324483.lua
View file @
13c209ad
...
@@ -63,21 +63,22 @@ function s.atkop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -63,21 +63,22 @@ function s.atkop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
e1
:
SetValue
(
c
:
GetAttack
()
*
2
)
e1
:
SetValue
(
c
:
GetAttack
()
*
2
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
local
fid
=
c
:
GetFieldID
()
c
:
RegisterFlagEffect
(
id
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
0
,
1
,
fid
)
c
:
RegisterFlagEffect
(
id
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
0
,
1
,
fid
)
local
sg
=
Group
.
FromCards
(
c
)
sg
:
KeepAlive
()
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e2
:
SetProperty
(
EFFECT_FLAG_IGNORE_IMMUNE
)
e2
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
e2
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
e2
:
SetCountLimit
(
1
)
e2
:
SetLabel
(
fid
)
e2
:
SetLabelObject
(
sg
)
e2
:
SetCondition
(
s
.
descon3
)
e2
:
SetOperation
(
s
.
desop3
)
Duel
.
RegisterEffect
(
e2
,
tp
)
end
end
local
sg
=
Group
.
FromCards
(
c
)
sg
:
KeepAlive
()
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e2
:
SetProperty
(
EFFECT_FLAG_IGNORE_IMMUNE
)
e2
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
e2
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
e2
:
SetCountLimit
(
1
)
e2
:
SetLabel
(
fid
)
e2
:
SetLabelObject
(
sg
)
e2
:
SetCondition
(
s
.
descon3
)
e2
:
SetOperation
(
s
.
desop3
)
Duel
.
RegisterEffect
(
e2
,
tp
)
end
end
function
s
.
desfilter
(
c
,
fid
)
function
s
.
desfilter
(
c
,
fid
)
return
c
:
GetFlagEffectLabel
(
id
)
==
fid
return
c
:
GetFlagEffectLabel
(
id
)
==
fid
...
...
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