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
Soulgamer
ygopro-222DIY-cards
Commits
134b07cb
Commit
134b07cb
authored
Mar 30, 2020
by
TanakaKotoha
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Black Square
parent
913234ad
Changes
5
Hide 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)
e4
:
SetProperty
(
EFFECT_FLAG_NO_TURN_RESET
)
e4
:
SetCountLimit
(
1
)
e4
:
SetCondition
(
c14801934
.
negcon
)
e4
:
SetTarget
(
c14801934
.
negtg
)
e4
:
SetOperation
(
c14801934
.
negop
)
c
:
RegisterEffect
(
e4
)
--token
...
...
@@ -66,15 +65,15 @@ function c14801934.operation(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c14801934
.
negcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
rp
==
1
-
tp
and
Duel
.
GetChainInfo
(
ev
,
CHAININFO_TRIGGERING_LOCATION
)
==
LOCATION_SZONE
and
re
:
IsActiveType
(
TYPE_SPELL
)
and
Duel
.
IsChainDisablable
(
ev
)
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
)
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
)
Duel
.
Hint
(
HINT_CARD
,
0
,
14801934
)
Duel
.
NegateEffect
(
ev
)
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
)
end
end
function
c14801934
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
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)
end
end
function
c14801939
.
rmcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
:
GetEquipTarget
()
local
bc
=
c
:
GetBattleTarget
()
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
function
c14801939
.
rmtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
...
...
expansions/script/c14801941.lua
View file @
134b07cb
...
...
@@ -19,7 +19,7 @@ function c14801941.initial_effect(c)
--Atk up
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_EQUIP
)
e3
:
SetCode
(
EFFECT_UPDATE_
ATTACK
)
e3
:
SetCode
(
EFFECT_UPDATE_
DEFENSE
)
e3
:
SetValue
(
600
)
c
:
RegisterEffect
(
e3
)
--immune
...
...
expansions/script/c14801979.lua
View file @
134b07cb
...
...
@@ -32,8 +32,8 @@ function c14801979.initial_effect(c)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetCountLimit
(
1
)
e3
:
SetCondition
(
c14801979
.
con
)
e3
:
SetTarget
(
c14801979
.
target
)
e3
:
SetOperation
(
c14801979
.
operation
)
e3
:
SetTarget
(
c14801979
.
target
2
)
e3
:
SetOperation
(
c14801979
.
operation
2
)
c
:
RegisterEffect
(
e3
)
end
function
c14801979
.
lcheck
(
c
)
...
...
@@ -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
return
re
:
IsActiveType
(
TYPE_SPELL
+
TYPE_TRAP
)
and
Duel
.
IsChainNegatable
(
ev
)
and
e
:
GetHandler
():
GetEquipGroup
():
IsExists
(
Card
.
IsSetCard
,
1
,
nil
,
0x4809
)
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
Duel
.
SetOperationInfo
(
0
,
CATEGORY_NEGATE
,
eg
,
1
,
0
,
0
)
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)
end
e
:
GetHandler
():
RegisterFlagEffect
(
0
,
RESET_EVENT
+
RESETS_STANDARD
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
0
,
aux
.
Stringid
(
14801979
,
2
))
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
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
...
...
expansions/script/c14801985.lua
View file @
134b07cb
...
...
@@ -24,7 +24,7 @@ function c14801985.initial_effect(c)
end
function
c14801985
.
hspcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
at
=
Duel
.
GetAttacker
()
return
at
:
GetControler
()
~=
tp
and
Duel
.
GetAttackTarget
()
==
nil
return
at
:
GetControler
()
~=
tp
end
function
c14801985
.
hsptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
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