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
alstroemeria-silentlove
ygopro-222DIY-cards
Commits
c813e261
Commit
c813e261
authored
Feb 24, 2021
by
TanakaKotoha
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
daniaozhuanzhuanzhuan
parent
37b365ae
Pipeline
#2491
passed with stages
in 49 minutes and 29 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
62 additions
and
62 deletions
+62
-62
expansions/pics/81004002.jpg
expansions/pics/81004002.jpg
+0
-0
expansions/script/c26800000.lua
expansions/script/c26800000.lua
+62
-62
No files found.
expansions/pics/81004002.jpg
View replaced file @
37b365ae
View file @
c813e261
61.5 KB
|
W:
|
H:
148 KB
|
W:
|
H:
2-up
Swipe
Onion skin
expansions/script/c26800000.lua
View file @
c813e261
...
@@ -2,90 +2,90 @@
...
@@ -2,90 +2,90 @@
Amana
=
Amana
or
{}
Amana
=
Amana
or
{}
--Mogami Shizuka, 81018xxx, 0x81b
--Mogami Shizuka, 81018xxx, 0x81b
function
Amana
.
AttackBelow
(
c
)
function
Amana
.
AttackBelow
(
c
)
local
ea
=
Effect
.
CreateEffect
(
c
)
local
ea
=
Effect
.
CreateEffect
(
c
)
ea
:
SetType
(
EFFECT_TYPE_SINGLE
)
ea
:
SetType
(
EFFECT_TYPE_SINGLE
)
ea
:
SetCode
(
EFFECT_CANNOT_ATTACK
)
ea
:
SetCode
(
EFFECT_CANNOT_ATTACK
)
ea
:
SetCondition
(
Amana
.
atcon
)
ea
:
SetCondition
(
Amana
.
atcon
)
c
:
RegisterEffect
(
ea
)
c
:
RegisterEffect
(
ea
)
end
end
function
Amana
.
atcon
(
e
)
function
Amana
.
atcon
(
e
)
return
e
:
GetHandler
():
GetAttack
()
>=
2000
return
e
:
GetHandler
():
GetAttack
()
>=
2000
end
end
--majsoul
--majsoul
function
Amana
.
Majsoul
(
c
)
function
Amana
.
Majsoul
(
c
)
Duel
.
EnableGlobalFlag
(
GLOBALFLAG_SELF_TOGRAVE
)
Duel
.
EnableGlobalFlag
(
GLOBALFLAG_SELF_TOGRAVE
)
aux
.
AddCodeList
(
c
,
26818000
,
26818001
)
aux
.
AddCodeList
(
c
,
26818000
,
26818001
)
local
ea
=
Effect
.
CreateEffect
(
c
)
local
ea
=
Effect
.
CreateEffect
(
c
)
ea
:
SetType
(
EFFECT_TYPE_SINGLE
)
ea
:
SetType
(
EFFECT_TYPE_SINGLE
)
ea
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
ea
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
ea
:
SetCode
(
EFFECT_SELF_TOGRAVE
)
ea
:
SetCode
(
EFFECT_SELF_TOGRAVE
)
ea
:
SetRange
(
LOCATION_MZONE
)
ea
:
SetRange
(
LOCATION_MZONE
)
ea
:
SetCondition
(
Amana
.
tgcon
)
ea
:
SetCondition
(
Amana
.
tgcon
)
c
:
RegisterEffect
(
ea
)
c
:
RegisterEffect
(
ea
)
end
end
function
Amana
.
cfilter
(
c
)
function
Amana
.
cfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsCode
(
26818000
,
26818001
)
return
c
:
IsFaceup
()
and
c
:
IsCode
(
26818000
,
26818001
)
end
end
function
Amana
.
tgcon
(
e
)
function
Amana
.
tgcon
(
e
)
local
tp
=
e
:
GetHandlerPlayer
()
local
tp
=
e
:
GetHandlerPlayer
()
return
Duel
.
GetCurrentPhase
()
==
PHASE_END
return
Duel
.
GetCurrentPhase
()
==
PHASE_END
and
not
(
Duel
.
IsExistingMatchingCard
(
Amana
.
cfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
or
Duel
.
IsPlayerAffectedByEffect
(
tp
,
26818046
))
and
not
(
Duel
.
IsExistingMatchingCard
(
Amana
.
cfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
or
Duel
.
IsPlayerAffectedByEffect
(
tp
,
26818046
))
end
end
--majsoulGirl/Boy
--majsoulGirl/Boy
function
Amana
.
MajsoulGirl
(
c
)
function
Amana
.
MajsoulGirl
(
c
)
local
ea
=
Effect
.
CreateEffect
(
c
)
local
ea
=
Effect
.
CreateEffect
(
c
)
ea
:
SetType
(
EFFECT_TYPE_SINGLE
)
ea
:
SetType
(
EFFECT_TYPE_SINGLE
)
ea
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
ea
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
ea
:
SetCode
(
EFFECT_CHANGE_CODE
)
ea
:
SetCode
(
EFFECT_CHANGE_CODE
)
ea
:
SetRange
(
LOCATION_MZONE
)
ea
:
SetRange
(
LOCATION_MZONE
)
ea
:
SetCondition
(
Amana
.
namecon
)
ea
:
SetCondition
(
Amana
.
namecon
)
ea
:
SetValue
(
26818000
)
ea
:
SetValue
(
26818000
)
c
:
RegisterEffect
(
ea
)
c
:
RegisterEffect
(
ea
)
end
end
function
Amana
.
MajsoulBoy
(
c
)
function
Amana
.
MajsoulBoy
(
c
)
local
ea
=
Effect
.
CreateEffect
(
c
)
local
ea
=
Effect
.
CreateEffect
(
c
)
ea
:
SetType
(
EFFECT_TYPE_SINGLE
)
ea
:
SetType
(
EFFECT_TYPE_SINGLE
)
ea
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
ea
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
ea
:
SetCode
(
EFFECT_CHANGE_CODE
)
ea
:
SetCode
(
EFFECT_CHANGE_CODE
)
ea
:
SetRange
(
LOCATION_MZONE
)
ea
:
SetRange
(
LOCATION_MZONE
)
ea
:
SetCondition
(
Amana
.
namecon
)
ea
:
SetCondition
(
Amana
.
namecon
)
ea
:
SetValue
(
26818001
)
ea
:
SetValue
(
26818001
)
c
:
RegisterEffect
(
ea
)
c
:
RegisterEffect
(
ea
)
end
end
function
Amana
.
namecon
(
e
)
function
Amana
.
namecon
(
e
)
local
ph
=
Duel
.
GetCurrentPhase
()
local
ph
=
Duel
.
GetCurrentPhase
()
return
(
ph
>=
PHASE_BATTLE_START
and
ph
<=
PHASE_BATTLE
)
or
ph
==
PHASE_END
return
(
ph
>=
PHASE_BATTLE_START
and
ph
<=
PHASE_BATTLE
)
or
ph
==
PHASE_END
end
end
--sliver
--sliver
function
Amana
.
SliverCost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
Amana
.
SliverCost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetActivityCount
(
tp
,
ACTIVITY_BATTLE_PHASE
)
==
0
end
if
chk
==
0
then
return
Duel
.
GetActivityCount
(
tp
,
ACTIVITY_BATTLE_PHASE
)
==
0
end
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetCode
(
EFFECT_CANNOT_BP
)
e1
:
SetCode
(
EFFECT_CANNOT_BP
)
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
+
EFFECT_FLAG_OATH
)
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
+
EFFECT_FLAG_OATH
)
e1
:
SetTargetRange
(
1
,
0
)
e1
:
SetTargetRange
(
1
,
0
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
Duel
.
RegisterEffect
(
e1
,
tp
)
Duel
.
RegisterEffect
(
e1
,
tp
)
end
end
function
Amana
.
SliverSummon
(
c
)
function
Amana
.
SliverSummon
(
c
)
local
ea
=
Effect
.
CreateEffect
(
c
)
local
ea
=
Effect
.
CreateEffect
(
c
)
ea
:
SetType
(
EFFECT_TYPE_SINGLE
)
ea
:
SetType
(
EFFECT_TYPE_SINGLE
)
ea
:
SetCode
(
EFFECT_SPSUMMON_COST
)
ea
:
SetCode
(
EFFECT_SPSUMMON_COST
)
ea
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
ea
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
ea
:
SetCost
(
Amana
.
spcost
)
ea
:
SetCost
(
Amana
.
spcost
)
ea
:
SetOperation
(
Amana
.
spcop
)
ea
:
SetOperation
(
Amana
.
spcop
)
c
:
RegisterEffect
(
ea
)
c
:
RegisterEffect
(
ea
)
end
end
function
Amana
.
spcost
(
e
,
c
,
tp
)
function
Amana
.
spcost
(
e
,
c
)
return
Duel
.
GetActivityCount
(
tp
,
ACTIVITY_BATTLE_PHASE
)
==
0
return
Duel
.
GetActivityCount
(
c
:
GetControler
()
,
ACTIVITY_BATTLE_PHASE
)
==
0
end
end
function
Amana
.
spcop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
Amana
.
spcop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetCode
(
EFFECT_CANNOT_BP
)
e1
:
SetCode
(
EFFECT_CANNOT_BP
)
e1
:
SetTargetRange
(
1
,
0
)
e1
:
SetTargetRange
(
1
,
0
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
Duel
.
RegisterEffect
(
e1
,
tp
)
Duel
.
RegisterEffect
(
e1
,
tp
)
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