Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-pre-data
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
MyCard
ygopro-pre-data
Commits
e1b801b3
Commit
e1b801b3
authored
Jul 16, 2020
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
dc9f7d6d
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
4 deletions
+6
-4
script/c100415032.lua
script/c100415032.lua
+3
-0
script/c101102036.lua
script/c101102036.lua
+1
-1
script/c101102070.lua
script/c101102070.lua
+1
-2
script/c101102072.lua
script/c101102072.lua
+1
-1
No files found.
script/c100415032.lua
View file @
e1b801b3
...
...
@@ -92,10 +92,12 @@ function c100415032.operation(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c100415032
.
RitualCheckGreater
(
g
,
c
,
atk
)
if
atk
==
0
then
return
#
g
==
1
end
Duel
.
SetSelectedCard
(
g
)
return
g
:
CheckWithSumGreater
(
Card
.
GetAttack
,
atk
)
end
function
c100415032
.
RitualCheckEqual
(
g
,
c
,
atk
)
if
atk
==
0
then
return
#
g
==
1
and
g
:
GetFirst
():
GetAttack
()
==
0
end
return
g
:
CheckWithSumEqual
(
Card
.
GetAttack
,
atk
,
#
g
,
#
g
)
end
function
c100415032
.
RitualCheck
(
g
,
tp
,
c
,
atk
,
greater_or_equal
)
...
...
@@ -109,6 +111,7 @@ function c100415032.RitualCheckAdditional(c,atk,greater_or_equal)
end
else
return
function
(
g
,
ec
)
if
atk
==
0
then
return
#
g
<=
1
end
if
ec
then
return
(
not
Auxiliary
.
RGCheckAdditional
or
Auxiliary
.
RGCheckAdditional
(
g
,
ec
))
and
g
:
GetSum
(
Card
.
GetAttack
)
-
Card
.
GetAttack
(
ec
)
<=
atk
else
...
...
script/c101102036.lua
View file @
e1b801b3
...
...
@@ -8,7 +8,7 @@ function c101102036.initial_effect(c)
--remove
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetProperty
(
EFFECT_FLAG_SET_AVAILABLE
+
EFFECT_FLAG_IGNORE_RANGE
+
EFFECT_FLAG_IGNORE_IMMUNE
)
e1
:
SetProperty
(
EFFECT_FLAG_SET_AVAILABLE
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetCode
(
EFFECT_TO_GRAVE_REDIRECT
)
e1
:
SetTargetRange
(
LOCATION_ONFIELD
,
LOCATION_ONFIELD
)
...
...
script/c101102070.lua
View file @
e1b801b3
...
...
@@ -26,8 +26,7 @@ function c101102070.target(e,tp,eg,ep,ev,re,r,rp,chk)
local
g
=
Duel
.
GetMatchingGroup
(
c101102070
.
spfilter1
,
tp
,
LOCATION_GRAVE
+
LOCATION_REMOVED
,
0
,
nil
,
e
,
tp
,
ft
)
if
chk
==
0
then
return
ft
>
0
and
Duel
.
IsPlayerCanSpecialSummonCount
(
tp
,
2
)
and
not
Duel
.
IsPlayerAffectedByEffect
(
tp
,
59822133
)
and
g
:
CheckSubGroup
(
c101102070
.
fselect1
,
1
,
ft
,
tp
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_GRAVE
+
LOCATION_REMOVED
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_EXTRA
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_GRAVE
+
LOCATION_REMOVED
+
LOCATION_EXTRA
)
end
function
c101102070
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
script/c101102072.lua
View file @
e1b801b3
...
...
@@ -90,6 +90,6 @@ function c101102072.lvop(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetCode
(
EFFECT_UPDATE_RANK
)
e2
:
SetValue
(
lvl
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
c
:
RegisterEffect
(
e2
)
t
c
:
RegisterEffect
(
e2
)
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