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
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
八宫一月
ygopro-scripts
Commits
df6f6474
Commit
df6f6474
authored
Sep 30, 2020
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update クイズ
parent
60cc8a27
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
1 deletion
+14
-1
c38723936.lua
c38723936.lua
+13
-1
constant.lua
constant.lua
+1
-0
No files found.
c38723936.lua
View file @
df6f6474
--クイズ
--クイズ
--Effect is not fully implemented
function
c38723936
.
initial_effect
(
c
)
function
c38723936
.
initial_effect
(
c
)
--Activate
--Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_REMOVE
)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_REMOVE
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCost
(
c38723936
.
cost
)
e1
:
SetTarget
(
c38723936
.
target
)
e1
:
SetTarget
(
c38723936
.
target
)
e1
:
SetOperation
(
c38723936
.
activate
)
e1
:
SetOperation
(
c38723936
.
activate
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
function
c38723936
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
if
e
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
then
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
+
EFFECT_FLAG_OATH
+
EFFECT_FLAG_CLIENT_HINT
)
e1
:
SetDescription
(
CARD_QUESTION
)
e1
:
SetTargetRange
(
0
,
1
)
e1
:
SetReset
(
RESET_CHAIN
)
Duel
.
RegisterEffect
(
e1
,
tp
)
end
end
function
c38723936
.
filter
(
c
)
function
c38723936
.
filter
(
c
)
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToRemove
()
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToRemove
()
end
end
...
...
constant.lua
View file @
df6f6474
...
@@ -830,3 +830,4 @@ ACTIVITY_CHAIN =7 -- only available in custom counter
...
@@ -830,3 +830,4 @@ ACTIVITY_CHAIN =7 -- only available in custom counter
--cards with double names
--cards with double names
CARD_MARINE_DOLPHIN
=
78734254
--海洋海豚
CARD_MARINE_DOLPHIN
=
78734254
--海洋海豚
CARD_TWINKLE_MOSS
=
13857930
--光輝苔蘚
CARD_TWINKLE_MOSS
=
13857930
--光輝苔蘚
CARD_QUESTION
=
38723936
--谜题
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