Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
P
pre-release-database-cdb
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
Vury Leo
pre-release-database-cdb
Commits
04e0bf08
Commit
04e0bf08
authored
Jan 28, 2025
by
wind2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix 贖罪神女
parent
e8e76aca
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
11 deletions
+22
-11
script/c101208035.lua
script/c101208035.lua
+22
-11
No files found.
script/c101208035.lua
View file @
04e0bf08
...
@@ -34,19 +34,26 @@ function s.initial_effect(c)
...
@@ -34,19 +34,26 @@ function s.initial_effect(c)
local
e4
=
Effect
.
CreateEffect
(
c
)
local
e4
=
Effect
.
CreateEffect
(
c
)
e4
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e4
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e4
:
SetRange
(
LOCATION_MZONE
)
e4
:
SetRange
(
LOCATION_MZONE
)
e4
:
SetCode
(
EVENT_CHAIN
_SOLVED
)
e4
:
SetCode
(
EVENT_CHAIN
ING
)
e4
:
Set
Condition
(
s
.
regcon
)
e4
:
Set
Property
(
EFFECT_FLAG_CANNOT_DISABLE
)
e4
:
SetOperation
(
s
.
regop
)
e4
:
SetOperation
(
s
.
regop
)
c
:
RegisterEffect
(
e4
)
c
:
RegisterEffect
(
e4
)
--cannot activate
local
e5
=
Effect
.
CreateEffect
(
c
)
local
e5
=
Effect
.
CreateEffect
(
c
)
e5
:
SetType
(
EFFECT_TYPE_FIELD
)
e5
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e5
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e5
:
SetCode
(
EFFECT_CANNOT_ACTIVATE
)
e5
:
SetRange
(
LOCATION_MZONE
)
e5
:
SetRange
(
LOCATION_MZONE
)
e5
:
SetTargetRange
(
0
,
1
)
e5
:
SetCode
(
EVENT_CHAIN_SOLVED
)
e5
:
SetValue
(
s
.
aclimit
)
e5
:
SetCondition
(
s
.
atkcon
)
e5
:
SetOperation
(
s
.
atkop
)
c
:
RegisterEffect
(
e5
)
c
:
RegisterEffect
(
e5
)
--cannot activate
local
e6
=
Effect
.
CreateEffect
(
c
)
e6
:
SetType
(
EFFECT_TYPE_FIELD
)
e6
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e6
:
SetCode
(
EFFECT_CANNOT_ACTIVATE
)
e6
:
SetRange
(
LOCATION_MZONE
)
e6
:
SetTargetRange
(
0
,
1
)
e6
:
SetValue
(
s
.
aclimit
)
c
:
RegisterEffect
(
e6
)
end
end
s
.
material_type
=
TYPE_SYNCHRO
s
.
material_type
=
TYPE_SYNCHRO
function
s
.
splimit
(
e
,
se
,
sp
,
st
)
function
s
.
splimit
(
e
,
se
,
sp
,
st
)
...
@@ -91,13 +98,17 @@ function s.hspop(e,tp,eg,ep,ev,re,r,rp,c)
...
@@ -91,13 +98,17 @@ function s.hspop(e,tp,eg,ep,ev,re,r,rp,c)
Duel
.
Release
(
sg
,
REASON_SPSUMMON
|
REASON_MATERIAL
)
Duel
.
Release
(
sg
,
REASON_SPSUMMON
|
REASON_MATERIAL
)
sg
:
DeleteGroup
()
sg
:
DeleteGroup
()
end
end
function
s
.
regcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
regop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
rp
==
1
-
tp
e
:
GetHandler
():
RegisterFlagEffect
(
id
,
RESET_EVENT
+
RESETS_STANDARD
-
RESET_TURN_SET
+
RESET_CHAIN
,
0
,
1
)
end
function
s
.
atkcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
return
rp
==
1
-
tp
and
c
:
GetFlagEffect
(
id
)
~=
0
end
end
function
s
.
atkfilter
(
c
,
e
)
function
s
.
atkfilter
(
c
,
e
)
return
c
:
IsFaceup
()
and
not
c
:
IsImmuneToEffect
(
e
)
return
c
:
IsFaceup
()
and
not
c
:
IsImmuneToEffect
(
e
)
end
end
function
s
.
reg
op
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
atk
op
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
g
=
Duel
.
GetMatchingGroup
(
s
.
atkfilter
,
tp
,
0
,
LOCATION_MZONE
,
nil
,
e
)
local
g
=
Duel
.
GetMatchingGroup
(
s
.
atkfilter
,
tp
,
0
,
LOCATION_MZONE
,
nil
,
e
)
if
g
:
GetCount
()
>
0
then
if
g
:
GetCount
()
>
0
then
...
...
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