Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
no81cards
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
Nemo Ma
no81cards
Commits
2f366fcf
Commit
2f366fcf
authored
Apr 26, 2021
by
Nemo Ma
Committed by
GitHub
Apr 26, 2021
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #4 from Sonic714/master
fix yume errors
parents
19502f89
70f74842
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
6 deletions
+4
-6
expansions/pics/71400012.jpg
expansions/pics/71400012.jpg
+0
-0
expansions/script/c71400012.lua
expansions/script/c71400012.lua
+2
-4
expansions/script/c71400015.lua
expansions/script/c71400015.lua
+2
-2
No files found.
expansions/pics/71400012.jpg
View replaced file @
19502f89
View file @
2f366fcf
51.4 KB
|
W:
|
H:
204 KB
|
W:
|
H:
2-up
Swipe
Onion skin
expansions/script/c71400012.lua
View file @
2f366fcf
...
...
@@ -9,11 +9,10 @@ function c71400012.initial_effect(c)
--immune
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
+
EFFECT_FLAG_CANNOT_DISABLE
)
e1
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetCode
(
EFFECT_IMMUNE_EFFECT
)
e1
:
SetValue
(
c71400012
.
filter1
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
c
:
RegisterEffect
(
e1
)
--banish
local
e2a
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -51,12 +50,11 @@ function c71400012.op2(e,tp,eg,ep,ev,re,r,rp)
if
not
re
:
IsActiveType
(
TYPE_EFFECT
)
or
not
re
:
IsHasProperty
(
EFFECT_FLAG_CARD_TARGET
)
then
return
end
local
g
=
Duel
.
GetChainInfo
(
ev
,
CHAININFO_TARGET_CARDS
)
if
g
and
g
:
IsContains
(
c
)
then
local
rp
=
re
:
GetHandler
()
local
mg
=
Duel
.
GetMatchingGroup
(
Card
.
IsAbleToRemove
,
rp
,
LOCATION_MZONE
,
0
,
c
,
tp
)
if
mg
:
GetCount
()
==
0
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
local
sg
=
mg
:
Select
(
tp
,
1
,
1
,
nil
)
if
Duel
.
Destroy
(
tc
,
REASON_EFFECT
,
LOCATION_REMOVED
)
>
0
then
if
Duel
.
Destroy
(
sg
,
REASON_EFFECT
,
LOCATION_REMOVED
)
>
0
then
Duel
.
Damage
(
rp
,
2000
,
REASON_EFFECT
)
end
end
...
...
expansions/script/c71400015.lua
View file @
2f366fcf
...
...
@@ -32,9 +32,9 @@ function c71400015.filter1(c)
end
function
c71400015
.
target1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c71400015
.
filter1
(
chkc
)
end
if
chk
==
0
then
Duel
.
IsExistingTarget
(
c71400015
.
filter1
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c71400015
.
filter1
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
local
g
=
Duel
.
SelectTarget
(
tp
,
c71400015
.
filter1
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
,
e
,
tp
)
local
g
=
Duel
.
SelectTarget
(
tp
,
c71400015
.
filter1
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
g
,
1
,
tp
,
LOCATION_GRAVE
)
end
function
c71400015
.
operation1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
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