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
Ruby
pre-release-database-cdb
Commits
5a20b538
Commit
5a20b538
authored
Dec 09, 2023
by
wind2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix 聖霊獣騎 レイラウタリ
https://github.com/Fluorohydride/ygopro-pre-script/pull/1232
parent
066d4bc3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
script/c100211124.lua
script/c100211124.lua
+9
-0
No files found.
script/c100211124.lua
View file @
5a20b538
...
...
@@ -6,6 +6,12 @@ function s.initial_effect(c)
c
:
EnableReviveLimit
()
--cannot release(uncompleted)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetCode
(
EFFECT_UNRELEASABLE_NONSUM
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetProperty
(
EFFECT_FLAG_IGNORE_IMMUNE
)
e1
:
SetTargetRange
(
0xff
,
0xff
)
e1
:
SetValue
(
s
.
limval
)
c
:
RegisterEffect
(
e1
)
--tohand/extra & summon bonus
local
e2
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -31,6 +37,9 @@ function s.initial_effect(c)
e3
:
SetOperation
(
s
.
rmop
)
c
:
RegisterEffect
(
e3
)
end
function
s
.
limval
(
e
,
c
,
tp
,
re
)
return
re
and
re
:
IsActivated
()
and
c
:
IsReason
(
REASON_COST
)
end
function
s
.
bfilter
(
c
)
return
c
:
IsSetCard
(
0xb5
)
and
c
:
IsFaceup
()
and
c
:
IsAbleToHand
()
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