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
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
Commits
37e0d251
You need to sign in or sign up before continuing.
Commit
37e0d251
authored
Dec 24, 2015
by
VanillaSalt
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'Tian'
parents
afb02a9e
04b33440
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
7 deletions
+7
-7
c36693940.lua
c36693940.lua
+2
-1
c83866861.lua
c83866861.lua
+1
-4
constant.lua
constant.lua
+2
-1
utility.lua
utility.lua
+2
-1
No files found.
c36693940.lua
View file @
37e0d251
...
@@ -28,7 +28,8 @@ function c36693940.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -28,7 +28,8 @@ function c36693940.activate(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetDescription
(
aux
.
Stringid
(
36693940
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
36693940
,
0
))
e1
:
SetProperty
(
EFFECT_FLAG_CLIENT_HINT
)
e1
:
SetProperty
(
EFFECT_FLAG_CLIENT_HINT
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
36693940
)
e1
:
SetCode
(
EFFECT_ADD_FUSION_SETCODE
)
e1
:
SetValue
(
0xad
)
e1
:
SetReset
(
RESET_EVENT
+
0x1fe0000
)
e1
:
SetReset
(
RESET_EVENT
+
0x1fe0000
)
tc
:
RegisterEffect
(
e1
)
tc
:
RegisterEffect
(
e1
)
end
end
...
...
c83866861.lua
View file @
37e0d251
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
function
c83866861
.
initial_effect
(
c
)
function
c83866861
.
initial_effect
(
c
)
--fusion material
--fusion material
c
:
EnableReviveLimit
()
c
:
EnableReviveLimit
()
aux
.
AddFusionProcFunRep
(
c
,
c83866861
.
ffilter
,
3
,
false
)
aux
.
AddFusionProcFunRep
(
c
,
aux
.
FilterBoolFunction
(
Card
.
IsFusionSetCard
,
0xad
)
,
3
,
false
)
--spsummon condition
--spsummon condition
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
...
@@ -39,9 +39,6 @@ function c83866861.initial_effect(c)
...
@@ -39,9 +39,6 @@ function c83866861.initial_effect(c)
e4
:
SetValue
(
c83866861
.
atkval
)
e4
:
SetValue
(
c83866861
.
atkval
)
c
:
RegisterEffect
(
e4
)
c
:
RegisterEffect
(
e4
)
end
end
function
c83866861
.
ffilter
(
c
)
return
c
:
IsFusionSetCard
(
0xad
)
or
c
:
IsHasEffect
(
36693940
)
end
function
c83866861
.
aclimit
(
e
,
re
,
tp
)
function
c83866861
.
aclimit
(
e
,
re
,
tp
)
return
not
re
:
GetHandler
():
IsImmuneToEffect
(
e
)
return
not
re
:
GetHandler
():
IsImmuneToEffect
(
e
)
end
end
...
...
constant.lua
View file @
37e0d251
...
@@ -480,7 +480,8 @@ EFFECT_UNSUMMONABLE_CARD =336 --不能通常召唤的怪獸
...
@@ -480,7 +480,8 @@ EFFECT_UNSUMMONABLE_CARD =336 --不能通常召唤的怪獸
EFFECT_DISABLE_CHAIN_FIELD
=
337
--連鎖串中場上發動的效果無效(Duel.NegateRelatedChain())
EFFECT_DISABLE_CHAIN_FIELD
=
337
--連鎖串中場上發動的效果無效(Duel.NegateRelatedChain())
EFFECT_DISCARD_COST_CHANGE
=
338
--反制陷阱捨棄手牌的代價改變(解放之阿里阿德涅)
EFFECT_DISCARD_COST_CHANGE
=
338
--反制陷阱捨棄手牌的代價改變(解放之阿里阿德涅)
EFFECT_HAND_SYNCHRO
=
339
--用手牌的怪獸當作同步素材
EFFECT_HAND_SYNCHRO
=
339
--用手牌的怪獸當作同步素材
EFFECT_ADD_FUSION_CODE
=
340
--
EFFECT_ADD_FUSION_CODE
=
340
--作为融合素材时可以当作某一卡名(融合识别)
EFFECT_ADD_FUSION_SETCODE
=
341
--作为融合素材时可以当作某一字段(魔玩具改造)
--下面是诱发效果的诱发事件、时点 (如果是TYPE_SINGLE则自己发生以下事件后触发,如果TYPE_FIELD则场上任何卡发生以下事件都触发)
--下面是诱发效果的诱发事件、时点 (如果是TYPE_SINGLE则自己发生以下事件后触发,如果TYPE_FIELD则场上任何卡发生以下事件都触发)
EVENT_STARTUP
=
1000
--游戏开始时
EVENT_STARTUP
=
1000
--游戏开始时
...
...
utility.lua
View file @
37e0d251
...
@@ -330,12 +330,13 @@ function Auxiliary.XyzTarget2(f,lv,minc,maxc,alterf,desc,op)
...
@@ -330,12 +330,13 @@ function Auxiliary.XyzTarget2(f,lv,minc,maxc,alterf,desc,op)
local
b2
=
ct
<
1
and
(
not
min
or
min
<=
1
)
and
mg
:
IsExists
(
Auxiliary
.
XyzAlterFilter
,
1
,
nil
,
alterf
,
c
)
local
b2
=
ct
<
1
and
(
not
min
or
min
<=
1
)
and
mg
:
IsExists
(
Auxiliary
.
XyzAlterFilter
,
1
,
nil
,
alterf
,
c
)
and
(
not
op
or
op
(
e
,
tp
,
0
))
and
(
not
op
or
op
(
e
,
tp
,
0
))
local
g
=
nil
local
g
=
nil
if
b2
and
(
not
b1
or
Duel
.
SelectYesNo
(
tp
,
desc
)
)
then
if
b2
and
Duel
.
SelectYesNo
(
tp
,
desc
)
then
e
:
SetLabel
(
1
)
e
:
SetLabel
(
1
)
if
op
then
op
(
e
,
tp
,
1
)
end
if
op
then
op
(
e
,
tp
,
1
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_XMATERIAL
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_XMATERIAL
)
g
=
mg
:
FilterSelect
(
tp
,
Auxiliary
.
XyzAlterFilter
,
1
,
1
,
nil
,
alterf
,
c
)
g
=
mg
:
FilterSelect
(
tp
,
Auxiliary
.
XyzAlterFilter
,
1
,
1
,
nil
,
alterf
,
c
)
else
else
if
not
b1
then
return
false
end
e
:
SetLabel
(
0
)
e
:
SetLabel
(
0
)
g
=
Duel
.
SelectXyzMaterial
(
tp
,
c
,
f
,
lv
,
minc
,
maxc
,
og
)
g
=
Duel
.
SelectXyzMaterial
(
tp
,
c
,
f
,
lv
,
minc
,
maxc
,
og
)
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