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
3b8358aa
Commit
3b8358aa
authored
Dec 30, 2020
by
TanakaKotoha
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dededededededededededede
parent
6b310a1b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
4 deletions
+7
-4
expansions/script/c16400017.lua
expansions/script/c16400017.lua
+1
-1
expansions/script/c16400020.lua
expansions/script/c16400020.lua
+2
-0
expansions/script/c33710903.lua
expansions/script/c33710903.lua
+4
-3
No files found.
expansions/script/c16400017.lua
View file @
3b8358aa
...
...
@@ -20,7 +20,7 @@ function cm.initial_effect(c)
e2
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_F
)
e2
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e2
:
Set
Value
(
1
,
m
)
e2
:
Set
CountLimit
(
1
,
m
)
e2
:
SetCondition
(
cm
.
spcon
)
e2
:
SetTarget
(
cm
.
sptg
)
e2
:
SetOperation
(
cm
.
spop
)
...
...
expansions/script/c16400020.lua
View file @
3b8358aa
...
...
@@ -22,6 +22,7 @@ function c16400020.initial_effect(c)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetProperty
(
EFFECT_FLAG_DELAY
+
EFFECT_FLAG_DAMAGE_STEP
)
e2
:
SetCode
(
EVENT_LEAVE_FIELD
)
e2
:
SetCountLimit
(
1
,
16400020
)
e2
:
SetTarget
(
c16400020
.
sptg1
)
e2
:
SetOperation
(
c16400020
.
spop1
)
c
:
RegisterEffect
(
e2
)
...
...
@@ -31,6 +32,7 @@ function c16400020.initial_effect(c)
e3
:
SetCategory
(
CATEGORY_ATKCHANGE
+
CATEGORY_DEFCHANGE
)
e3
:
SetType
(
EFFECT_TYPE_TRIGGER_F
+
EFFECT_TYPE_SINGLE
)
e3
:
SetCode
(
EVENT_PRE_DAMAGE_CALCULATE
)
e3
:
SetCountLimit
(
1
,
16400021
)
e3
:
SetCondition
(
c16400020
.
atkcon
)
e3
:
SetOperation
(
c16400020
.
atkop
)
c
:
RegisterEffect
(
e3
)
...
...
expansions/script/c33710903.lua
View file @
3b8358aa
...
...
@@ -59,12 +59,13 @@ function c33710903.actlimit(e,te,tp)
and
g
:
GetFirst
():
IsFaceup
()
end
function
c33710903
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
IsRelateToEffect
(
e
)
end
if
chk
==
0
then
return
true
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DAMAGE
,
0
,
0
,
1
-
tp
,
Duel
.
GetFlagEffect
(
1
-
tp
,
16133710903
+
Duel
.
GetTurnCount
()
-
1
)
*
500
)
end
function
c33710903
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
c
:
IsRelateToEffect
(
e
)
then
Duel
.
Damage
(
1
-
tp
,
Duel
.
GetFlagEffect
(
1
-
tp
,
16133710903
+
Duel
.
GetTurnCount
()
-
1
)
*
500
,
REASON_EFFECT
)
Duel
.
Damage
(
1
-
tp
,
Duel
.
GetFlagEffect
(
1
-
tp
,
16133710903
+
Duel
.
GetTurnCount
()
-
1
)
*
500
,
REASON_EFFECT
)
if
c
:
IsRelateToEffect
(
e
)
then
Duel
.
ShuffleHand
(
tp
)
end
end
\ No newline at end of file
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