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
33d78bca
Commit
33d78bca
authored
Nov 23, 2022
by
salix5
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix 海竜神-リバイアサン
see #1989
parent
4e2481a0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
6 deletions
+20
-6
c23931679.lua
c23931679.lua
+20
-6
No files found.
c23931679.lua
View file @
33d78bca
...
...
@@ -10,14 +10,13 @@ function c23931679.initial_effect(c)
e1
:
SetTarget
(
c23931679
.
thtg
)
e1
:
SetOperation
(
c23931679
.
thop
)
c
:
RegisterEffect
(
e1
)
--
adjust
--
mark
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e2
:
SetProperty
(
EFFECT_FLAG_IGNORE_IMMUNE
)
e2
:
SetCode
(
EVENT_ADJUST
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetCode
(
23931679
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
Set
Condition
(
c23931679
.
condition
)
e2
:
Set
Operation
(
c23931679
.
adjustop
)
e2
:
Set
Property
(
EFFECT_FLAG_PLAYER_TARGET
)
e2
:
Set
TargetRange
(
1
,
1
)
c
:
RegisterEffect
(
e2
)
--cannot summon,spsummon,flipsummon
local
e3
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -35,6 +34,16 @@ function c23931679.initial_effect(c)
local
e5
=
e3
:
Clone
()
e5
:
SetCode
(
EFFECT_CANNOT_FLIP_SUMMON
)
c
:
RegisterEffect
(
e5
)
if
not
c23931679
.
global_check
then
c23931679
.
global_check
=
true
--adjust
local
ge1
=
Effect
.
CreateEffect
(
c
)
ge1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
ge1
:
SetProperty
(
EFFECT_FLAG_IGNORE_IMMUNE
)
ge1
:
SetCode
(
EVENT_ADJUST
)
ge1
:
SetOperation
(
c23931679
.
adjustop
)
Duel
.
RegisterEffect
(
ge1
,
0
)
end
end
c23931679
[
0
]
=
0
c23931679
[
1
]
=
0
...
...
@@ -70,6 +79,11 @@ function c23931679.tgselect(sg,g)
return
#
(
g
-
sg
)
==
1
and
not
sg
:
IsExists
(
c23931679
.
rmfilter
,
1
,
nil
,
ATTRIBUTE_WATER
)
end
function
c23931679
.
adjustop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
not
Duel
.
IsPlayerAffectedByEffect
(
0
,
23931679
)
then
c23931679
[
0
]
=
0
c23931679
[
1
]
=
0
return
end
local
phase
=
Duel
.
GetCurrentPhase
()
if
(
phase
==
PHASE_DAMAGE
and
not
Duel
.
IsDamageCalculated
())
or
phase
==
PHASE_DAMAGE_CAL
then
return
end
local
g1
=
Duel
.
GetMatchingGroup
(
c23931679
.
wtfilter
,
tp
,
LOCATION_MZONE
,
0
,
nil
)
...
...
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