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
Ai
ygopro-222DIY-cards
Commits
fd806940
Commit
fd806940
authored
Apr 13, 2024
by
聖園ミカ
🐟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pic
parent
69974bf5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
12 deletions
+12
-12
expansions/script/c17243349.lua
expansions/script/c17243349.lua
+11
-11
expansions/script/c17243379.lua
expansions/script/c17243379.lua
+1
-1
No files found.
expansions/script/c17243349.lua
View file @
fd806940
...
@@ -20,16 +20,16 @@ function cm.initial_effect(c)
...
@@ -20,16 +20,16 @@ function cm.initial_effect(c)
e2
:
SetOperation
(
cm
.
sprop
)
e2
:
SetOperation
(
cm
.
sprop
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
--special summon
--special summon
local
e3
=
Effect
.
CreateEffect
(
c
)
--
local e3=Effect.CreateEffect(c)
e3
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
--
e3:SetDescription(aux.Stringid(m,0))
e3
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
--
e3:SetCategory(CATEGORY_SPECIAL_SUMMON)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
--
e3:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e3
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
--
e3:SetCode(EVENT_SPSUMMON_SUCCESS)
e3
:
SetProperty
(
EFFECT_FLAG_DELAY
)
--
e3:SetProperty(EFFECT_FLAG_DELAY)
e3
:
SetCondition
(
cm
.
spcon
)
--
e3:SetCondition(cm.spcon)
e3
:
SetTarget
(
cm
.
sptg
)
--
e3:SetTarget(cm.sptg)
e3
:
SetOperation
(
cm
.
spop
)
--
e3:SetOperation(cm.spop)
c
:
RegisterEffect
(
e3
)
--
c:RegisterEffect(e3)
--immune
--immune
local
e4
=
Effect
.
CreateEffect
(
c
)
local
e4
=
Effect
.
CreateEffect
(
c
)
e4
:
SetType
(
EFFECT_TYPE_SINGLE
)
e4
:
SetType
(
EFFECT_TYPE_SINGLE
)
...
@@ -115,7 +115,7 @@ end
...
@@ -115,7 +115,7 @@ end
---------------------------------------------------------------
---------------------------------------------------------------
function
cm
.
negcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
negcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
not
e
:
GetHandler
():
IsStatus
(
STATUS_BATTLE_DESTROYED
)
and
e
p
==
1
-
tp
and
re
:
GetActivateLocation
()
==
LOCATION_GRAVE
and
Duel
.
IsChainNegatable
(
ev
)
return
not
e
:
GetHandler
():
IsStatus
(
STATUS_BATTLE_DESTROYED
)
and
r
p
==
1
-
tp
and
re
:
GetActivateLocation
()
==
LOCATION_GRAVE
and
Duel
.
IsChainNegatable
(
ev
)
end
end
function
cm
.
negop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
negop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
...
...
expansions/script/c17243379.lua
View file @
fd806940
...
@@ -66,7 +66,7 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -66,7 +66,7 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetCode
(
EFFECT_LEAVE_FIELD_REDIRECT
)
e1
:
SetCode
(
EFFECT_LEAVE_FIELD_REDIRECT
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_REDIRECT
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_REDIRECT
)
e1
:
SetValue
(
LOCATION_
EXTRA
)
e1
:
SetValue
(
LOCATION_
DECK
)
tc
:
RegisterEffect
(
e1
,
true
)
tc
:
RegisterEffect
(
e1
,
true
)
end
end
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