Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-222DIY-cards
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
REIKAI
ygopro-222DIY-cards
Commits
134b07cb
You need to sign in or sign up before continuing.
Commit
134b07cb
authored
Mar 30, 2020
by
TanakaKotoha
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Black Square
parent
913234ad
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
16 additions
and
17 deletions
+16
-17
expansions/script/c14801934.lua
expansions/script/c14801934.lua
+8
-9
expansions/script/c14801939.lua
expansions/script/c14801939.lua
+2
-2
expansions/script/c14801941.lua
expansions/script/c14801941.lua
+1
-1
expansions/script/c14801979.lua
expansions/script/c14801979.lua
+4
-4
expansions/script/c14801985.lua
expansions/script/c14801985.lua
+1
-1
No files found.
expansions/script/c14801934.lua
View file @
134b07cb
...
@@ -30,7 +30,6 @@ function c14801934.initial_effect(c)
...
@@ -30,7 +30,6 @@ function c14801934.initial_effect(c)
e4
:
SetProperty
(
EFFECT_FLAG_NO_TURN_RESET
)
e4
:
SetProperty
(
EFFECT_FLAG_NO_TURN_RESET
)
e4
:
SetCountLimit
(
1
)
e4
:
SetCountLimit
(
1
)
e4
:
SetCondition
(
c14801934
.
negcon
)
e4
:
SetCondition
(
c14801934
.
negcon
)
e4
:
SetTarget
(
c14801934
.
negtg
)
e4
:
SetOperation
(
c14801934
.
negop
)
e4
:
SetOperation
(
c14801934
.
negop
)
c
:
RegisterEffect
(
e4
)
c
:
RegisterEffect
(
e4
)
--token
--token
...
@@ -66,15 +65,15 @@ function c14801934.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -66,15 +65,15 @@ function c14801934.operation(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
function
c14801934
.
negcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c14801934
.
negcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
rp
==
1
-
tp
and
Duel
.
GetChainInfo
(
ev
,
CHAININFO_TRIGGERING_LOCATION
)
==
LOCATION_SZONE
local
loc
=
Duel
.
GetChainInfo
(
ev
,
CHAININFO_TRIGGERING_LOCATION
)
return
rp
==
1
-
tp
and
bit
.
band
(
loc
,
LOCATION_SZONE
)
~=
0
and
re
:
IsActiveType
(
TYPE_SPELL
)
and
Duel
.
IsChainDisablable
(
ev
)
and
re
:
IsActiveType
(
TYPE_SPELL
)
and
Duel
.
IsChainDisablable
(
ev
)
end
end
function
c14801934
.
negtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
e
:
GetHandler
():
RegisterFlagEffect
(
0
,
RESET_EVENT
+
RESETS_STANDARD
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
0
,
aux
.
Stringid
(
14801934
,
1
))
end
function
c14801934
.
negop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c14801934
.
negop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
NegateEffect
(
ev
)
then
e
:
GetHandler
():
RegisterFlagEffect
(
0
,
RESET_EVENT
+
RESETS_STANDARD
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
0
,
aux
.
Stringid
(
14801934
,
1
))
Duel
.
Hint
(
HINT_CARD
,
0
,
14801934
)
Duel
.
Hint
(
HINT_CARD
,
0
,
14801934
)
Duel
.
NegateEffect
(
ev
)
end
end
end
function
c14801934
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c14801934
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
...
...
expansions/script/c14801939.lua
View file @
134b07cb
...
@@ -66,10 +66,10 @@ function c14801939.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -66,10 +66,10 @@ function c14801939.operation(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
function
c14801939
.
rmcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c14801939
.
rmcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
:
GetEquipTarget
()
local
bc
=
c
:
GetBattleTarget
()
local
bc
=
c
:
GetBattleTarget
()
e
:
SetLabelObject
(
bc
)
e
:
SetLabelObject
(
bc
)
return
bc
and
bc
:
IsStatus
(
STATUS_BATTLE_DESTROYED
)
and
eg
:
GetFirst
()
==
e
:
GetHandler
():
GetEquipTarget
()
and
eg
:
GetFirst
()
:
IsStatus
(
STATUS_OPPO_BATTLE
)
return
bc
and
bc
:
IsStatus
(
STATUS_BATTLE_DESTROYED
)
and
c
:
IsStatus
(
STATUS_OPPO_BATTLE
)
end
end
function
c14801939
.
rmtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c14801939
.
rmtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
if
chk
==
0
then
return
true
end
...
...
expansions/script/c14801941.lua
View file @
134b07cb
...
@@ -19,7 +19,7 @@ function c14801941.initial_effect(c)
...
@@ -19,7 +19,7 @@ function c14801941.initial_effect(c)
--Atk up
--Atk up
local
e3
=
Effect
.
CreateEffect
(
c
)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_EQUIP
)
e3
:
SetType
(
EFFECT_TYPE_EQUIP
)
e3
:
SetCode
(
EFFECT_UPDATE_
ATTACK
)
e3
:
SetCode
(
EFFECT_UPDATE_
DEFENSE
)
e3
:
SetValue
(
600
)
e3
:
SetValue
(
600
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
--immune
--immune
...
...
expansions/script/c14801979.lua
View file @
134b07cb
...
@@ -32,8 +32,8 @@ function c14801979.initial_effect(c)
...
@@ -32,8 +32,8 @@ function c14801979.initial_effect(c)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetCountLimit
(
1
)
e3
:
SetCountLimit
(
1
)
e3
:
SetCondition
(
c14801979
.
con
)
e3
:
SetCondition
(
c14801979
.
con
)
e3
:
SetTarget
(
c14801979
.
target
)
e3
:
SetTarget
(
c14801979
.
target
2
)
e3
:
SetOperation
(
c14801979
.
operation
)
e3
:
SetOperation
(
c14801979
.
operation
2
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
end
end
function
c14801979
.
lcheck
(
c
)
function
c14801979
.
lcheck
(
c
)
...
@@ -87,7 +87,7 @@ function c14801979.con(e,tp,eg,ep,ev,re,r,rp)
...
@@ -87,7 +87,7 @@ function c14801979.con(e,tp,eg,ep,ev,re,r,rp)
if
ep
==
tp
or
c
:
IsStatus
(
STATUS_BATTLE_DESTROYED
)
then
return
false
end
if
ep
==
tp
or
c
:
IsStatus
(
STATUS_BATTLE_DESTROYED
)
then
return
false
end
return
re
:
IsActiveType
(
TYPE_SPELL
+
TYPE_TRAP
)
and
Duel
.
IsChainNegatable
(
ev
)
and
e
:
GetHandler
():
GetEquipGroup
():
IsExists
(
Card
.
IsSetCard
,
1
,
nil
,
0x4809
)
return
re
:
IsActiveType
(
TYPE_SPELL
+
TYPE_TRAP
)
and
Duel
.
IsChainNegatable
(
ev
)
and
e
:
GetHandler
():
GetEquipGroup
():
IsExists
(
Card
.
IsSetCard
,
1
,
nil
,
0x4809
)
end
end
function
c14801979
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c14801979
.
target
2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
IsLevelAbove
(
3
)
end
if
chk
==
0
then
return
e
:
GetHandler
():
IsLevelAbove
(
3
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_NEGATE
,
eg
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_NEGATE
,
eg
,
1
,
0
,
0
)
if
re
:
GetHandler
():
IsDestructable
()
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
re
:
GetHandler
():
IsDestructable
()
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
...
@@ -95,7 +95,7 @@ function c14801979.target(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -95,7 +95,7 @@ function c14801979.target(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
e
:
GetHandler
():
RegisterFlagEffect
(
0
,
RESET_EVENT
+
RESETS_STANDARD
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
0
,
aux
.
Stringid
(
14801979
,
2
))
e
:
GetHandler
():
RegisterFlagEffect
(
0
,
RESET_EVENT
+
RESETS_STANDARD
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
0
,
aux
.
Stringid
(
14801979
,
2
))
end
end
function
c14801979
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c14801979
.
operation
2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
end
...
...
expansions/script/c14801985.lua
View file @
134b07cb
...
@@ -24,7 +24,7 @@ function c14801985.initial_effect(c)
...
@@ -24,7 +24,7 @@ function c14801985.initial_effect(c)
end
end
function
c14801985
.
hspcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c14801985
.
hspcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
at
=
Duel
.
GetAttacker
()
local
at
=
Duel
.
GetAttacker
()
return
at
:
GetControler
()
~=
tp
and
Duel
.
GetAttackTarget
()
==
nil
return
at
:
GetControler
()
~=
tp
end
end
function
c14801985
.
hsptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c14801985
.
hsptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
...
...
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