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
Nguyễn Anh Kiệt
ygopro-222DIY-cards
Commits
f4320178
Commit
f4320178
authored
May 05, 2024
by
聖園ミカ
🐟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
str
parent
90a55dff
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
14 deletions
+14
-14
expansions/script/c33500102.lua
expansions/script/c33500102.lua
+10
-10
expansions/script/c33503600.lua
expansions/script/c33503600.lua
+4
-4
No files found.
expansions/script/c33500102.lua
View file @
f4320178
...
...
@@ -46,14 +46,14 @@ end
-- and Duel.SelectYesNo(tp,aux.Stringid(m,1))
-- then
-- e:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_TOHAND)
--
e:SetCategory(CATEGORY_TOHAND)
--
e:SetOperation(cm.activate)
--
Duel.SetOperationInfo(0,CATEGORY_TOHAND,g,0,0,0)
-- e:SetCategory(CATEGORY_TOHAND)
-- e:SetOperation(cm.activate)
-- Duel.SetOperationInfo(0,CATEGORY_TOHAND,g,0,0,0)
--Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,g,0,0,0)
--
else
--
e:SetCategory(0)
--
e:SetProperty(0)
--
e:SetOperation(nil)
--
else
-- e:SetCategory(0)
-- e:SetProperty(0)
-- e:SetOperation(nil)
-- end
--end
--function cm.activate(e,tp,eg,ep,ev,re,r,rp)
...
...
@@ -66,15 +66,15 @@ end
-- and (not tc:IsAbleToHand() or Duel.SelectOption(tp,1190,1152)==1) then
-- Duel.SpecialSummon(tc,0,tp,tp,false,false,POS_FACEUP)
--else
--
Duel.SendtoHand(tc,nil,REASON_EFFECT)
-- Duel.SendtoHand(tc,nil,REASON_EFFECT)
-- Duel.ConfirmCards(1-tp,tc)
--end
-- end
--end
--e2
function
cm
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
CheckReleaseGroup
(
REASON_COST
,
tp
,
Card
.
IsSetCard
,
1
,
nil
,
0xa82
)
end
local
g
=
Duel
.
SelectReleaseGroup
(
REASON_COST
,
tp
,
Card
.
IsSetCard
,
1
,
1
,
nil
,
0xa82
)
if
chk
==
0
then
return
Duel
.
CheckReleaseGroup
(
tp
,
Card
.
IsSetCard
,
1
,
nil
,
0xa82
)
end
local
g
=
Duel
.
SelectReleaseGroup
(
tp
,
Card
.
IsSetCard
,
1
,
1
,
nil
,
0xa82
)
Duel
.
Release
(
g
,
REASON_COST
)
end
function
cm
.
filter
(
c
)
...
...
expansions/script/c33503600.lua
View file @
f4320178
...
...
@@ -20,8 +20,8 @@ function Suyu_bh.changecode(tc)
tc
:
SetEntityCode
(
sidecode
)
local
e1
=
Effect
.
CreateEffect
(
tc
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_
ADD
_CODE
)
e1
:
SetValue
(
0
)
e1
:
SetCode
(
EFFECT_
CHANGE
_CODE
)
e1
:
SetValue
(
sidecode
)
e1
:
SetReset
(
RESET_EVENT
+
0x7e0000
)
tc
:
RegisterEffect
(
e1
)
tc
:
RegisterFlagEffect
(
16100000
,
RESET_EVENT
+
0x7e0000
,
0
,
0
)
...
...
@@ -32,8 +32,8 @@ function Suyu_bh.changecode2(tc)
tc
:
SetEntityCode
(
sidecode
)
local
e1
=
Effect
.
CreateEffect
(
tc
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_
ADD
_CODE
)
e1
:
SetValue
(
0
)
e1
:
SetCode
(
EFFECT_
CHANGE
_CODE
)
e1
:
SetValue
(
sidecode
)
e1
:
SetReset
(
RESET_EVENT
+
0x7e0000
)
tc
:
RegisterEffect
(
e1
)
tc
:
ResetFlagEffect
(
16100000
)
...
...
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