Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-scripts
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
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-scripts
Commits
5927b9ff
Commit
5927b9ff
authored
Jan 13, 2017
by
DailyShana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
5c3c232b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
4 deletions
+8
-4
c4145852.lua
c4145852.lua
+4
-2
c4367330.lua
c4367330.lua
+4
-2
No files found.
c4145852.lua
View file @
5927b9ff
...
@@ -47,7 +47,7 @@ function c4145852.discon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -47,7 +47,7 @@ function c4145852.discon(e,tp,eg,ep,ev,re,r,rp)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
return
c
:
GetOriginalRace
()
==
RACE_BEASTWARRIOR
return
c
:
GetOriginalRace
()
==
RACE_BEASTWARRIOR
and
not
c
:
IsStatus
(
STATUS_BATTLE_DESTROYED
)
and
ep
==
1
-
tp
and
not
c
:
IsStatus
(
STATUS_BATTLE_DESTROYED
)
and
ep
==
1
-
tp
and
re
:
IsActiveType
(
TYPE_TRAP
)
and
Duel
.
IsChain
Disabl
able
(
ev
)
and
re
:
IsActiveType
(
TYPE_TRAP
)
and
Duel
.
IsChain
Negat
able
(
ev
)
and
re
:
IsHasProperty
(
EFFECT_FLAG_CARD_TARGET
)
and
re
:
IsHasProperty
(
EFFECT_FLAG_CARD_TARGET
)
and
Duel
.
GetChainInfo
(
ev
,
CHAININFO_TARGET_CARDS
):
IsContains
(
c
)
and
Duel
.
GetChainInfo
(
ev
,
CHAININFO_TARGET_CARDS
):
IsContains
(
c
)
end
end
...
@@ -61,5 +61,7 @@ function c4145852.distg(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -61,5 +61,7 @@ function c4145852.distg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DISABLE
,
eg
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DISABLE
,
eg
,
1
,
0
,
0
)
end
end
function
c4145852
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c4145852
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateEffect
(
ev
)
if
Duel
.
NegateActivation
(
ev
)
and
re
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
SendtoGrave
(
eg
,
REASON_EFFECT
)
end
end
end
c4367330.lua
View file @
5927b9ff
...
@@ -46,7 +46,7 @@ function c4367330.discon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -46,7 +46,7 @@ function c4367330.discon(e,tp,eg,ep,ev,re,r,rp)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
return
c
:
GetOriginalRace
()
==
RACE_BEASTWARRIOR
return
c
:
GetOriginalRace
()
==
RACE_BEASTWARRIOR
and
not
c
:
IsStatus
(
STATUS_BATTLE_DESTROYED
)
and
ep
==
1
-
tp
and
not
c
:
IsStatus
(
STATUS_BATTLE_DESTROYED
)
and
ep
==
1
-
tp
and
re
:
IsActiveType
(
TYPE_SPELL
)
and
Duel
.
IsChain
Disabl
able
(
ev
)
and
re
:
IsActiveType
(
TYPE_SPELL
)
and
Duel
.
IsChain
Negat
able
(
ev
)
and
re
:
IsHasProperty
(
EFFECT_FLAG_CARD_TARGET
)
and
re
:
IsHasProperty
(
EFFECT_FLAG_CARD_TARGET
)
and
Duel
.
GetChainInfo
(
ev
,
CHAININFO_TARGET_CARDS
):
IsContains
(
c
)
and
Duel
.
GetChainInfo
(
ev
,
CHAININFO_TARGET_CARDS
):
IsContains
(
c
)
end
end
...
@@ -60,5 +60,7 @@ function c4367330.distg(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -60,5 +60,7 @@ function c4367330.distg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DISABLE
,
eg
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DISABLE
,
eg
,
1
,
0
,
0
)
end
end
function
c4367330
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c4367330
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateEffect
(
ev
)
if
Duel
.
NegateActivation
(
ev
)
and
re
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
SendtoGrave
(
eg
,
REASON_EFFECT
)
end
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