Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-scripts-888
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
3
Merge Requests
3
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-scripts-888
Commits
452730bb
Commit
452730bb
authored
Jun 03, 2021
by
Chrono-Genex
Committed by
GitHub
Jun 03, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix for trap monster (#1655)
parent
c9da3612
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
c19261966.lua
c19261966.lua
+1
-1
c23085002.lua
c23085002.lua
+1
-1
c3966653.lua
c3966653.lua
+1
-1
No files found.
c19261966.lua
View file @
452730bb
...
@@ -36,7 +36,7 @@ function c19261966.splimit(e,se,sp,st)
...
@@ -36,7 +36,7 @@ function c19261966.splimit(e,se,sp,st)
end
end
function
c19261966
.
sumlimit
(
e
,
c
,
sump
,
sumtype
,
sumpos
,
targetp
,
se
)
function
c19261966
.
sumlimit
(
e
,
c
,
sump
,
sumtype
,
sumpos
,
targetp
,
se
)
return
se
:
IsActiveType
(
TYPE_SPELL
+
TYPE_TRAP
)
and
se
:
IsHasType
(
EFFECT_TYPE_ACTIONS
)
return
se
:
IsActiveType
(
TYPE_SPELL
+
TYPE_TRAP
)
and
se
:
IsHasType
(
EFFECT_TYPE_ACTIONS
)
and
c
:
IsLocation
(
LOCATION_GRAVE
+
LOCATION_HAND
)
and
c
:
IsLocation
(
LOCATION_GRAVE
+
LOCATION_HAND
)
and
c
:
IsType
(
TYPE_MONSTER
)
end
end
function
c19261966
.
thfilter
(
c
)
function
c19261966
.
thfilter
(
c
)
return
c
:
IsSetCard
(
0x9d
)
and
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
and
c
:
IsAbleToHand
()
return
c
:
IsSetCard
(
0x9d
)
and
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
and
c
:
IsAbleToHand
()
...
...
c23085002.lua
View file @
452730bb
...
@@ -53,5 +53,5 @@ function c23085002.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -53,5 +53,5 @@ function c23085002.operation(e,tp,eg,ep,ev,re,r,rp)
Duel
.
RegisterEffect
(
e2
,
tp
)
Duel
.
RegisterEffect
(
e2
,
tp
)
end
end
function
c23085002
.
splimit
(
e
,
c
)
function
c23085002
.
splimit
(
e
,
c
)
return
c
:
IsLocation
(
LOCATION_GRAVE
)
return
c
:
IsLocation
(
LOCATION_GRAVE
)
and
c
:
IsType
(
TYPE_MONSTER
)
end
end
c3966653.lua
View file @
452730bb
...
@@ -53,5 +53,5 @@ function c3966653.aclimit(e,re,tp)
...
@@ -53,5 +53,5 @@ function c3966653.aclimit(e,re,tp)
return
re
:
GetActivateLocation
()
==
LOCATION_GRAVE
return
re
:
GetActivateLocation
()
==
LOCATION_GRAVE
end
end
function
c3966653
.
sumlimit
(
e
,
c
,
sump
,
sumtype
,
sumpos
,
targetp
,
se
)
function
c3966653
.
sumlimit
(
e
,
c
,
sump
,
sumtype
,
sumpos
,
targetp
,
se
)
return
c
:
IsLocation
(
LOCATION_GRAVE
)
return
c
:
IsLocation
(
LOCATION_GRAVE
)
and
c
:
IsType
(
TYPE_MONSTER
)
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