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
1a1904db
Commit
1a1904db
authored
Jan 19, 2019
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
28102c4d
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
19 additions
and
7 deletions
+19
-7
script/c100236103.lua
script/c100236103.lua
+1
-1
script/c100412032.lua
script/c100412032.lua
+2
-1
script/c100412033.lua
script/c100412033.lua
+3
-1
script/c100412036.lua
script/c100412036.lua
+1
-1
script/c101008008.lua
script/c101008008.lua
+1
-1
script/c101008025.lua
script/c101008025.lua
+11
-2
No files found.
script/c100236103.lua
View file @
1a1904db
...
...
@@ -53,7 +53,7 @@ function c100236103.spop(e,tp,eg,ep,ev,re,r,rp)
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
function
c100236103
.
indtg
(
c
)
function
c100236103
.
indtg
(
e
,
c
)
return
c
:
IsRace
(
RACE_SPELLCASTER
)
and
c
:
IsLevelAbove
(
7
)
end
function
c100236103
.
spcon2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
script/c100412032.lua
View file @
1a1904db
...
...
@@ -85,7 +85,8 @@ function c100412032.atkcon(e,tp,eg,ep,ev,re,r,rp)
local
c
=
e
:
GetHandler
()
local
rc
=
re
:
GetHandler
()
return
rp
==
tp
and
c
:
GetFlagEffect
(
1
)
>
0
and
(
re
:
IsActiveType
(
TYPE_MONSTER
)
and
c
:
GetEquipTarget
()
==
rc
)
or
(
re
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
and
rc
:
IsSetCard
(
0x226
)
and
rc
~=
c
)
and
((
re
:
IsActiveType
(
TYPE_MONSTER
)
and
c
:
GetEquipTarget
()
==
rc
)
or
(
re
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
and
rc
:
IsSetCard
(
0x226
)
and
rc
~=
c
))
end
function
c100412032
.
atkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
...
...
script/c100412033.lua
View file @
1a1904db
...
...
@@ -65,7 +65,9 @@ function c100412033.rfop(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c100412033
.
damop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
ChangeBattleDamage
(
1
-
ep
,
ev
,
false
)
if
ep
==
tp
then
Duel
.
ChangeBattleDamage
(
1
-
ep
,
ev
,
false
)
end
end
function
c100412033
.
thcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
...
...
script/c100412036.lua
View file @
1a1904db
...
...
@@ -23,7 +23,7 @@ function c100412036.initial_effect(c)
c
:
RegisterEffect
(
e2
)
--recycle
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetCategory
(
CATEGORY_TO
HAND
+
CATEGORY_SEARCH
)
e3
:
SetCategory
(
CATEGORY_TO
GRAVE
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e3
:
SetCode
(
EVENT_DESTROYED
)
e3
:
SetProperty
(
EFFECT_FLAG_DELAY
+
EFFECT_FLAG_CARD_TARGET
)
...
...
script/c101008008.lua
View file @
1a1904db
...
...
@@ -37,6 +37,7 @@ function c101008008.atkcost(e,tp,eg,ep,ev,re,r,rp,chk)
local
c
=
e
:
GetHandler
()
if
chk
==
0
then
return
c
:
IsAbleToGraveAsCost
()
end
Duel
.
SendtoGrave
(
c
,
REASON_COST
)
c
:
RegisterFlagEffect
(
101008008
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
0
,
1
)
end
function
c101008008
.
atkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
...
...
@@ -56,7 +57,6 @@ function c101008008.atkop(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_DAMAGE
)
tc
:
RegisterEffect
(
e2
)
end
c
:
RegisterFlagEffect
(
101008008
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
0
,
1
)
end
function
c101008008
.
skipop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
SkipPhase
(
1
-
tp
,
PHASE_BATTLE
,
RESET_PHASE
+
PHASE_BATTLE_STEP
,
1
)
...
...
script/c101008025.lua
View file @
1a1904db
...
...
@@ -81,8 +81,13 @@ function c101008025.regcon(e,tp,eg,ep,ev,re,r,rp)
end
function
c101008025
.
regop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
lg
=
eg
:
Filter
(
c101008025
.
cfilter
,
nil
,
1
-
tp
)
lg
:
KeepAlive
()
e
:
SetLabelObject
(
lg
)
local
g
=
e
:
GetLabelObject
()
if
g
==
nil
or
#
g
==
0
then
lg
:
KeepAlive
()
e
:
SetLabelObject
(
lg
)
else
g
:
Merge
(
lg
)
end
Duel
.
RegisterFlagEffect
(
tp
,
101008125
,
RESET_CHAIN
,
0
,
1
)
end
function
c101008025
.
lpcon2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
@@ -92,6 +97,10 @@ function c101008025.lpop2(e,tp,eg,ep,ev,re,r,rp)
Duel
.
ResetFlagEffect
(
tp
,
101008125
)
local
lg
=
e
:
GetLabelObject
():
GetLabelObject
()
local
rnum
=
lg
:
GetSum
(
Card
.
GetAttack
)
local
g
=
Group
.
CreateGroup
()
g
:
KeepAlive
()
e
:
GetLabelObject
():
SetLabelObject
(
g
)
lg
:
DeleteGroup
()
if
Duel
.
Recover
(
tp
,
rnum
,
REASON_EFFECT
)
<
1
then
return
end
Duel
.
RegisterFlagEffect
(
tp
,
101008025
,
RESET_PHASE
+
PHASE_END
,
0
,
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