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
8c301a9b
Commit
8c301a9b
authored
Oct 17, 2021
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
069eceb1
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
2 deletions
+9
-2
script/c100426021.lua
script/c100426021.lua
+5
-0
script/c101107023.lua
script/c101107023.lua
+2
-2
script/c101107054.lua
script/c101107054.lua
+1
-0
script/c101107059.lua
script/c101107059.lua
+1
-0
No files found.
script/c100426021.lua
View file @
8c301a9b
...
...
@@ -5,6 +5,11 @@ function c100426021.initial_effect(c)
aux
.
AddCodeList
(
c
,
22702055
)
--code
aux
.
EnableChangeCode
(
c
,
22702055
,
LOCATION_SZONE
+
LOCATION_GRAVE
)
--Activate
local
e0
=
Effect
.
CreateEffect
(
c
)
e0
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e0
:
SetCode
(
EVENT_FREE_CHAIN
)
c
:
RegisterEffect
(
e0
)
--cannot be target
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
...
...
script/c101107023.lua
View file @
8c301a9b
...
...
@@ -43,12 +43,12 @@ end
function
c101107023
.
sumcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
not
e
:
GetHandler
():
IsPublic
()
end
end
function
c101107023
.
cfilter
(
c
,
tp
)
function
c101107023
.
sum
cfilter
(
c
,
tp
)
return
c
:
IsFaceup
()
and
c
:
IsRace
(
RACE_WINDBEAST
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsSummonPlayer
(
tp
)
end
function
c101107023
.
sumcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetTurnPlayer
()
==
tp
and
(
Duel
.
GetCurrentPhase
()
==
PHASE_MAIN1
or
Duel
.
GetCurrentPhase
()
==
PHASE_MAIN2
)
and
eg
:
IsExists
(
c101107023
.
cfilter
,
1
,
nil
,
tp
)
and
eg
:
IsExists
(
c101107023
.
sum
cfilter
,
1
,
nil
,
tp
)
end
function
c101107023
.
filter
(
c
)
return
c
:
IsSetCard
(
0x12d
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsSummonable
(
true
,
nil
)
...
...
script/c101107054.lua
View file @
8c301a9b
...
...
@@ -2,6 +2,7 @@
--
--Script by JoyJ
function
c101107054
.
initial_effect
(
c
)
aux
.
AddCodeList
(
c
,
40352445
,
101107035
)
local
e1
=
aux
.
AddRitualProcGreater2
(
c
,
c101107054
.
filter
,
LOCATION_HAND
+
LOCATION_GRAVE
,
c101107054
.
mfilter
)
local
e2
=
e1
:
Clone
()
e2
:
SetCountLimit
(
1
,
101107054
+
EFFECT_COUNT_CODE_OATH
)
...
...
script/c101107059.lua
View file @
8c301a9b
...
...
@@ -62,6 +62,7 @@ end
function
c101107059
.
drcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
if
chk
==
0
then
return
c
:
IsCanRemoveCounter
(
tp
,
0x160
,
1
,
REASON_COST
)
end
c
:
RemoveCounter
(
tp
,
0x160
,
1
,
REASON_COST
)
end
function
c101107059
.
drtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsPlayerCanDraw
(
tp
,
1
)
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