Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-THC-cards
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
1
Issues
1
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
HiiragiGuardians
ygopro-THC-cards
Commits
35abb1a0
Commit
35abb1a0
authored
May 29, 2023
by
GuGu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update c888174.lua 炸端bug暂时修复版
parent
6b0e3cc2
Pipeline
#21970
passed with stage
in 1 minute and 1 second
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
11 deletions
+26
-11
script/c888174.lua
script/c888174.lua
+26
-11
No files found.
script/c888174.lua
View file @
35abb1a0
...
@@ -9,6 +9,19 @@ function c888174.initial_effect(c)
...
@@ -9,6 +9,19 @@ function c888174.initial_effect(c)
e4
:
SetTarget
(
c888174
.
target
)
e4
:
SetTarget
(
c888174
.
target
)
e4
:
SetOperation
(
c888174
.
operation
)
e4
:
SetOperation
(
c888174
.
operation
)
c
:
RegisterEffect
(
e4
)
c
:
RegisterEffect
(
e4
)
if
not
c888174
.
global_check
then
c888174
.
global_check
=
true
local
e1
=
Effect
.
GlobalEffect
()
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetCountLimit
(
1
)
e1
:
SetCode
(
EVENT_PHASE_START
+
PHASE_STANDBY
)
e1
:
SetCondition
(
c888174
.
damcon
)
e1
:
SetOperation
(
c888174
.
damop
)
Duel
.
RegisterEffect
(
e1
,
0
)
local
e2
=
e1
:
Clone
()
Duel
.
RegisterEffect
(
e2
,
1
)
end
end
end
function
c888174
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c888174
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
CheckLPCost
(
tp
,
500
)
end
if
chk
==
0
then
return
Duel
.
CheckLPCost
(
tp
,
500
)
end
...
@@ -18,19 +31,21 @@ function c888174.target(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -18,19 +31,21 @@ function c888174.target(e,tp,eg,ep,ev,re,r,rp,chk)
if
chk
==
0
then
return
true
end
if
chk
==
0
then
return
true
end
end
end
function
c888174
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c888174
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
e2
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetCountLimit
(
1
)
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e2
:
SetCode
(
EVENT_PHASE
+
PHASE_STANDBY
)
e1
:
SetTargetRange
(
1
,
0
)
e2
:
SetReset
(
RESET_PHASE
+
PHASE_END
,
8
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
+
RESET_OPPO_TURN
,
4
)
e2
:
SetCondition
(
c888174
.
damcon
)
e1
:
SetCode
(
0x10000000
+
888174
)
e2
:
SetOperation
(
c888174
.
damop
)
Duel
.
RegisterEffect
(
e1
,
tp
)
Duel
.
RegisterEffect
(
e2
,
tp
)
end
end
function
c888174
.
damcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c888174
.
damcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetTurnPlayer
()
~=
tp
return
Duel
.
GetTurnPlayer
()
~=
tp
and
Duel
.
GetFlagEffect
(
tp
,
888174
)
>
0
end
end
function
c888174
.
damop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c888174
.
damop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
n
=
Duel
.
GetFlagEffect
(
tp
,
888174
)
for
i
=
1
,
n
do
Duel
.
Hint
(
HINT_CARD
,
0
,
888174
)
Duel
.
Hint
(
HINT_CARD
,
0
,
888174
)
Duel
.
Damage
(
1
-
tp
,
1100
,
REASON_EFFECT
)
Duel
.
Damage
(
1
-
tp
,
1100
,
REASON_EFFECT
)
end
end
end
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