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
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
Vee4
ygopro-scripts-888
Commits
4daf1d81
Commit
4daf1d81
authored
Sep 24, 2024
by
mercury233
Committed by
GitHub
Sep 24, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add Auxiliary.DimensionalFissureTarget (#2675)
parent
9594151b
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
10 deletions
+7
-10
c31849106.lua
c31849106.lua
+1
-4
c53701259.lua
c53701259.lua
+1
-2
c81674782.lua
c81674782.lua
+1
-4
utility.lua
utility.lua
+4
-0
No files found.
c31849106.lua
View file @
4daf1d81
...
@@ -12,12 +12,9 @@ function c31849106.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -12,12 +12,9 @@ function c31849106.activate(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetProperty
(
EFFECT_FLAG_SET_AVAILABLE
+
EFFECT_FLAG_IGNORE_RANGE
+
EFFECT_FLAG_IGNORE_IMMUNE
)
e1
:
SetProperty
(
EFFECT_FLAG_SET_AVAILABLE
+
EFFECT_FLAG_IGNORE_RANGE
+
EFFECT_FLAG_IGNORE_IMMUNE
)
e1
:
SetCode
(
EFFECT_TO_GRAVE_REDIRECT
)
e1
:
SetCode
(
EFFECT_TO_GRAVE_REDIRECT
)
e1
:
SetTarget
(
c31849106
.
rmt
arget
)
e1
:
SetTarget
(
aux
.
DimensionalFissureT
arget
)
e1
:
SetTargetRange
(
LOCATION_DECK
,
LOCATION_DECK
)
e1
:
SetTargetRange
(
LOCATION_DECK
,
LOCATION_DECK
)
e1
:
SetValue
(
LOCATION_REMOVED
)
e1
:
SetValue
(
LOCATION_REMOVED
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
Duel
.
RegisterEffect
(
e1
,
tp
)
Duel
.
RegisterEffect
(
e1
,
tp
)
end
end
function
c31849106
.
rmtarget
(
e
,
c
)
return
not
c
:
IsLocation
(
0x80
)
and
not
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
end
c53701259.lua
View file @
4daf1d81
...
@@ -136,8 +136,7 @@ function c53701259.disop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -136,8 +136,7 @@ function c53701259.disop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
NegateEffect
(
ev
)
Duel
.
NegateEffect
(
ev
)
end
end
function
c53701259
.
rmtg
(
e
,
c
)
function
c53701259
.
rmtg
(
e
,
c
)
return
c
:
GetOwner
()
~=
e
:
GetHandlerPlayer
()
and
not
c
:
IsLocation
(
LOCATION_OVERLAY
)
return
c
:
GetOwner
()
~=
e
:
GetHandlerPlayer
()
and
aux
.
DimensionalFissureTarget
(
e
,
c
)
and
not
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
end
end
function
c53701259
.
rmcon
(
e
)
function
c53701259
.
rmcon
(
e
)
local
tp
=
e
:
GetHandlerPlayer
()
local
tp
=
e
:
GetHandlerPlayer
()
...
...
c81674782.lua
View file @
4daf1d81
...
@@ -11,7 +11,7 @@ function c81674782.initial_effect(c)
...
@@ -11,7 +11,7 @@ function c81674782.initial_effect(c)
e2
:
SetProperty
(
EFFECT_FLAG_SET_AVAILABLE
+
EFFECT_FLAG_IGNORE_RANGE
+
EFFECT_FLAG_IGNORE_IMMUNE
)
e2
:
SetProperty
(
EFFECT_FLAG_SET_AVAILABLE
+
EFFECT_FLAG_IGNORE_RANGE
+
EFFECT_FLAG_IGNORE_IMMUNE
)
e2
:
SetCode
(
EFFECT_TO_GRAVE_REDIRECT
)
e2
:
SetCode
(
EFFECT_TO_GRAVE_REDIRECT
)
e2
:
SetRange
(
LOCATION_SZONE
)
e2
:
SetRange
(
LOCATION_SZONE
)
e2
:
SetTarget
(
c81674782
.
rmt
arget
)
e2
:
SetTarget
(
aux
.
DimensionalFissureT
arget
)
e2
:
SetTargetRange
(
LOCATION_DECK
,
LOCATION_DECK
)
e2
:
SetTargetRange
(
LOCATION_DECK
,
LOCATION_DECK
)
e2
:
SetValue
(
LOCATION_REMOVED
)
e2
:
SetValue
(
LOCATION_REMOVED
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
...
@@ -25,9 +25,6 @@ function c81674782.initial_effect(c)
...
@@ -25,9 +25,6 @@ function c81674782.initial_effect(c)
e3
:
SetTarget
(
c81674782
.
checktg
)
e3
:
SetTarget
(
c81674782
.
checktg
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
end
end
function
c81674782
.
rmtarget
(
e
,
c
)
return
c
:
GetOriginalType
()
&
TYPE_MONSTER
>
0
and
not
c
:
IsLocation
(
0x80
)
and
not
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
end
function
c81674782
.
checktg
(
e
,
c
)
function
c81674782
.
checktg
(
e
,
c
)
return
not
c
:
IsPublic
()
return
not
c
:
IsPublic
()
end
end
utility.lua
View file @
4daf1d81
...
@@ -1768,3 +1768,7 @@ function Auxiliary.IsCanBeQuickEffect(c,tp,code)
...
@@ -1768,3 +1768,7 @@ function Auxiliary.IsCanBeQuickEffect(c,tp,code)
local
filter
=
Auxiliary
.
quick_effect_filter
[
code
]
local
filter
=
Auxiliary
.
quick_effect_filter
[
code
]
return
Duel
.
IsPlayerAffectedByEffect
(
tp
,
code
)
~=
nil
and
filter
~=
nil
and
filter
(
c
)
return
Duel
.
IsPlayerAffectedByEffect
(
tp
,
code
)
~=
nil
and
filter
~=
nil
and
filter
(
c
)
end
end
--
function
Auxiliary
.
DimensionalFissureTarget
(
e
,
c
)
return
c
:
GetOriginalType
()
&
TYPE_MONSTER
>
0
and
not
c
:
IsLocation
(
LOCATION_OVERLAY
)
and
not
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
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