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
13bb48af
Commit
13bb48af
authored
May 17, 2016
by
VanillaSalt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
4ce56af9
Changes
30
Hide whitespace changes
Inline
Side-by-side
Showing
30 changed files
with
100 additions
and
70 deletions
+100
-70
c12694768.lua
c12694768.lua
+3
-2
c18271561.lua
c18271561.lua
+3
-2
c20686759.lua
c20686759.lua
+3
-2
c20985997.lua
c20985997.lua
+3
-2
c21219755.lua
c21219755.lua
+3
-2
c30270176.lua
c30270176.lua
+3
-2
c3064425.lua
c3064425.lua
+3
-2
c32835363.lua
c32835363.lua
+11
-10
c34004470.lua
c34004470.lua
+3
-2
c34449261.lua
c34449261.lua
+3
-2
c35037880.lua
c35037880.lua
+3
-2
c35842855.lua
c35842855.lua
+3
-2
c37169670.lua
c37169670.lua
+3
-2
c38522377.lua
c38522377.lua
+3
-2
c45311864.lua
c45311864.lua
+3
-2
c46089249.lua
c46089249.lua
+3
-2
c46918794.lua
c46918794.lua
+3
-2
c47233801.lua
c47233801.lua
+3
-2
c4807253.lua
c4807253.lua
+3
-2
c5126490.lua
c5126490.lua
+3
-2
c58071123.lua
c58071123.lua
+3
-2
c71782404.lua
c71782404.lua
+3
-2
c73507661.lua
c73507661.lua
+3
-2
c75797046.lua
c75797046.lua
+4
-3
c89405199.lua
c89405199.lua
+3
-2
c89719143.lua
c89719143.lua
+4
-3
c93469007.lua
c93469007.lua
+3
-2
c93671934.lua
c93671934.lua
+3
-2
c94667532.lua
c94667532.lua
+3
-2
c98139712.lua
c98139712.lua
+3
-2
No files found.
c12694768.lua
View file @
13bb48af
...
...
@@ -19,6 +19,7 @@ function c12694768.target(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DAMAGE
,
nil
,
0
,
PLAYER_ALL
,
500
)
end
function
c12694768
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Damage
(
tp
,
500
,
REASON_EFFECT
)
Duel
.
Damage
(
1
-
tp
,
500
,
REASON_EFFECT
)
Duel
.
Damage
(
tp
,
500
,
REASON_EFFECT
,
true
)
Duel
.
Damage
(
1
-
tp
,
500
,
REASON_EFFECT
,
true
)
Duel
.
RDComplete
()
end
c18271561.lua
View file @
13bb48af
...
...
@@ -35,7 +35,8 @@ function c18271561.operation(e,tp,eg,ep,ev,re,r,rp)
end
local
atk
=
dg
:
GetFirst
():
GetAttack
()
/
2
if
Duel
.
Destroy
(
dg
,
REASON_EFFECT
)
>
0
then
Duel
.
Damage
(
tp
,
atk
,
REASON_EFFECT
)
Duel
.
Damage
(
1
-
tp
,
atk
,
REASON_EFFECT
)
Duel
.
Damage
(
tp
,
atk
,
REASON_EFFECT
,
true
)
Duel
.
Damage
(
1
-
tp
,
atk
,
REASON_EFFECT
,
true
)
Duel
.
RDComplete
()
end
end
c20686759.lua
View file @
13bb48af
...
...
@@ -58,6 +58,7 @@ function c20686759.damtg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DAMAGE
,
nil
,
0
,
PLAYER_ALL
,
dam
)
end
function
c20686759
.
damop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Damage
(
1
-
tp
,
e
:
GetLabel
(),
REASON_EFFECT
)
Duel
.
Damage
(
tp
,
e
:
GetLabel
(),
REASON_EFFECT
)
Duel
.
Damage
(
1
-
tp
,
e
:
GetLabel
(),
REASON_EFFECT
,
true
)
Duel
.
Damage
(
tp
,
e
:
GetLabel
(),
REASON_EFFECT
,
true
)
Duel
.
RDComplete
()
end
c20985997.lua
View file @
13bb48af
...
...
@@ -25,8 +25,9 @@ function c20985997.activate(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
GetCounter
(
0x100e
)
>
0
and
tc
:
IsRelateToEffect
(
e
)
then
if
Duel
.
Destroy
(
tc
,
REASON_EFFECT
)
>
0
then
Duel
.
Damage
(
1
-
tp
,
1000
,
REASON_EFFECT
)
Duel
.
Damage
(
tp
,
1000
,
REASON_EFFECT
)
Duel
.
Damage
(
1
-
tp
,
1000
,
REASON_EFFECT
,
true
)
Duel
.
Damage
(
tp
,
1000
,
REASON_EFFECT
,
true
)
Duel
.
RDComplete
()
end
end
end
c21219755.lua
View file @
13bb48af
...
...
@@ -25,8 +25,9 @@ function c21219755.activate(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsFaceup
()
and
tc
:
IsRelateToEffect
(
e
)
then
if
Duel
.
Destroy
(
tc
,
REASON_EFFECT
)
>
0
then
Duel
.
Damage
(
1
-
tp
,
1000
,
REASON_EFFECT
)
Duel
.
Damage
(
tp
,
1000
,
REASON_EFFECT
)
Duel
.
Damage
(
1
-
tp
,
1000
,
REASON_EFFECT
,
true
)
Duel
.
Damage
(
tp
,
1000
,
REASON_EFFECT
,
true
)
Duel
.
RDComplete
()
end
end
end
c30270176.lua
View file @
13bb48af
...
...
@@ -96,6 +96,7 @@ function c30270176.damtg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DAMAGE
,
nil
,
0
,
PLAYER_ALL
,
3000
)
end
function
c30270176
.
damop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Damage
(
tp
,
3000
,
REASON_EFFECT
)
Duel
.
Damage
(
1
-
tp
,
3000
,
REASON_EFFECT
)
Duel
.
Damage
(
tp
,
3000
,
REASON_EFFECT
,
true
)
Duel
.
Damage
(
1
-
tp
,
3000
,
REASON_EFFECT
,
true
)
Duel
.
RDComplete
()
end
c3064425.lua
View file @
13bb48af
...
...
@@ -85,7 +85,8 @@ function c3064425.negop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
BreakEffect
()
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsDestructable
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
)
if
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
==
0
then
return
end
Duel
.
Damage
(
tp
,
1000
,
REASON_EFFECT
)
Duel
.
Damage
(
1
-
tp
,
1000
,
REASON_EFFECT
)
Duel
.
Damage
(
tp
,
1000
,
REASON_EFFECT
,
true
)
Duel
.
Damage
(
1
-
tp
,
1000
,
REASON_EFFECT
,
true
)
Duel
.
RDComplete
()
end
end
c32835363.lua
View file @
13bb48af
...
...
@@ -15,14 +15,14 @@ function c32835363.initial_effect(c)
e2
:
SetOperation
(
c32835363
.
regop
)
c
:
RegisterEffect
(
e2
)
--
local
e
2
=
Effect
.
CreateEffect
(
c
)
e
2
:
SetDescription
(
aux
.
Stringid
(
32835363
,
0
))
e
2
:
SetCategory
(
CATEGORY_DAMAGE
)
e
2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_F
)
e
2
:
SetCode
(
EVENT_CUSTOM
+
32835363
)
e
2
:
SetTarget
(
c32835363
.
damtg
)
e
2
:
SetOperation
(
c32835363
.
damop
)
c
:
RegisterEffect
(
e
2
)
local
e
3
=
Effect
.
CreateEffect
(
c
)
e
3
:
SetDescription
(
aux
.
Stringid
(
32835363
,
0
))
e
3
:
SetCategory
(
CATEGORY_DAMAGE
)
e
3
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_F
)
e
3
:
SetCode
(
EVENT_CUSTOM
+
32835363
)
e
3
:
SetTarget
(
c32835363
.
damtg
)
e
3
:
SetOperation
(
c32835363
.
damop
)
c
:
RegisterEffect
(
e
3
)
end
function
c32835363
.
regcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
d1
=
false
...
...
@@ -54,8 +54,9 @@ function c32835363.damop(e,tp,eg,ep,ev,re,r,rp)
if
not
e
:
GetHandler
():
IsRelateToEffect
(
e
)
then
return
end
local
d
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_PARAM
)
if
ep
==
PLAYER_ALL
then
Duel
.
Damage
(
tp
,
d
,
REASON_EFFECT
)
Duel
.
Damage
(
1
-
tp
,
d
,
REASON_EFFECT
)
Duel
.
Damage
(
tp
,
d
,
REASON_EFFECT
,
true
)
Duel
.
Damage
(
1
-
tp
,
d
,
REASON_EFFECT
,
true
)
Duel
.
RDComplete
()
else
Duel
.
Damage
(
ep
,
d
,
REASON_EFFECT
)
end
...
...
c34004470.lua
View file @
13bb48af
...
...
@@ -58,6 +58,7 @@ function c34004470.damtg(e,tp,eg,ep,ev,re,r,rp,chk)
end
function
c34004470
.
damop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
d
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_PARAM
)
Duel
.
Damage
(
1
-
tp
,
d
,
REASON_EFFECT
)
Duel
.
Damage
(
tp
,
d
,
REASON_EFFECT
)
Duel
.
Damage
(
1
-
tp
,
d
,
REASON_EFFECT
,
true
)
Duel
.
Damage
(
tp
,
d
,
REASON_EFFECT
,
true
)
Duel
.
RDComplete
()
end
c34449261.lua
View file @
13bb48af
...
...
@@ -45,7 +45,8 @@ function c34449261.activate(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
GetMatchingGroup
(
c34449261
.
desfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
tg
)
if
g
:
GetCount
()
>
0
and
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
~=
0
then
local
dg
=
Duel
.
GetOperatedGroup
()
if
dg
:
IsExists
(
aux
.
FilterEqualFunction
(
Card
.
GetPreviousControler
,
tp
),
1
,
nil
)
then
Duel
.
Damage
(
tp
,
dam
,
REASON_EFFECT
)
end
if
dg
:
IsExists
(
aux
.
FilterEqualFunction
(
Card
.
GetPreviousControler
,
1
-
tp
),
1
,
nil
)
then
Duel
.
Damage
(
1
-
tp
,
dam
,
REASON_EFFECT
)
end
if
dg
:
IsExists
(
aux
.
FilterEqualFunction
(
Card
.
GetPreviousControler
,
tp
),
1
,
nil
)
then
Duel
.
Damage
(
tp
,
dam
,
REASON_EFFECT
,
true
)
end
if
dg
:
IsExists
(
aux
.
FilterEqualFunction
(
Card
.
GetPreviousControler
,
1
-
tp
),
1
,
nil
)
then
Duel
.
Damage
(
1
-
tp
,
dam
,
REASON_EFFECT
,
true
)
end
Duel
.
RDComplete
()
end
end
c35037880.lua
View file @
13bb48af
...
...
@@ -27,8 +27,9 @@ function c35037880.filter(c)
return
((
c
:
IsSetCard
(
0xd
)
and
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
))
or
c
:
IsSetCard
(
0xb0
))
and
c
:
IsAbleToHand
()
end
function
c35037880
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Recover
(
tp
,
ev
,
REASON_EFFECT
)
Duel
.
Damage
(
1
-
tp
,
ev
,
REASON_EFFECT
)
Duel
.
Recover
(
tp
,
ev
,
REASON_EFFECT
,
true
)
Duel
.
Damage
(
1
-
tp
,
ev
,
REASON_EFFECT
,
true
)
Duel
.
RDComplete
()
local
g
=
Duel
.
GetMatchingGroup
(
c35037880
.
filter
,
tp
,
LOCATION_DECK
,
0
,
nil
)
if
g
:
GetCount
()
>
0
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
35037880
,
0
))
then
Duel
.
BreakEffect
()
...
...
c35842855.lua
View file @
13bb48af
...
...
@@ -54,8 +54,9 @@ function c35842855.desop(e,tp,eg,ep,ev,re,r,rp)
if
tc
:
IsRelateToEffect
(
e
)
and
Duel
.
Destroy
(
tc
,
REASON_EFFECT
)
==
1
then
local
atk
=
tc
:
GetTextAttack
()
/
2
if
atk
>
0
then
Duel
.
Damage
(
tp
,
atk
,
REASON_EFFECT
)
Duel
.
Damage
(
1
-
tp
,
atk
,
REASON_EFFECT
)
Duel
.
Damage
(
tp
,
atk
,
REASON_EFFECT
,
true
)
Duel
.
Damage
(
1
-
tp
,
atk
,
REASON_EFFECT
,
true
)
Duel
.
RDComplete
()
end
end
end
...
...
c37169670.lua
View file @
13bb48af
...
...
@@ -40,8 +40,9 @@ end
function
c37169670
.
damop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
ex1
,
a1
,
b1
,
p1
,
d1
=
Duel
.
GetOperationInfo
(
0
,
CATEGORY_DAMAGE
)
local
ex2
,
a2
,
b2
,
p2
,
d2
=
Duel
.
GetOperationInfo
(
0
,
CATEGORY_RECOVER
)
Duel
.
Damage
(
1
-
tp
,
d1
,
REASON_EFFECT
)
Duel
.
Recover
(
tp
,
d2
,
REASON_EFFECT
)
Duel
.
Damage
(
1
-
tp
,
d1
,
REASON_EFFECT
,
true
)
Duel
.
Recover
(
tp
,
d2
,
REASON_EFFECT
,
true
)
Duel
.
RDComplete
()
end
function
c37169670
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
IsReason
(
REASON_DESTROY
)
...
...
c38522377.lua
View file @
13bb48af
...
...
@@ -91,7 +91,8 @@ function c38522377.damop(e,tp,eg,ep,ev,re,r,rp)
local
ex
,
g
,
gc
,
dp
,
dv
=
Duel
.
GetOperationInfo
(
0
,
CATEGORY_DAMAGE
)
if
dp
~=
PLAYER_ALL
then
Duel
.
Damage
(
dp
,
1000
,
REASON_EFFECT
)
else
Duel
.
Damage
(
tp
,
1000
,
REASON_EFFECT
)
Duel
.
Damage
(
1
-
tp
,
1000
,
REASON_EFFECT
)
Duel
.
Damage
(
tp
,
1000
,
REASON_EFFECT
,
true
)
Duel
.
Damage
(
1
-
tp
,
1000
,
REASON_EFFECT
,
true
)
Duel
.
RDComplete
()
end
end
c45311864.lua
View file @
13bb48af
...
...
@@ -15,6 +15,7 @@ function c45311864.target(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DAMAGE
,
nil
,
0
,
1
-
tp
,
500
)
end
function
c45311864
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Damage
(
1
-
tp
,
500
,
REASON_EFFECT
)
Duel
.
Recover
(
tp
,
500
,
REASON_EFFECT
)
Duel
.
Damage
(
1
-
tp
,
500
,
REASON_EFFECT
,
true
)
Duel
.
Recover
(
tp
,
500
,
REASON_EFFECT
,
true
)
Duel
.
RDComplete
()
end
c46089249.lua
View file @
13bb48af
...
...
@@ -36,8 +36,9 @@ function c46089249.activate(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsFaceup
()
and
tc
:
IsRelateToEffect
(
e
)
then
if
Duel
.
Destroy
(
tc
,
REASON_EFFECT
)
>
0
then
Duel
.
Damage
(
1
-
tp
,
1000
,
REASON_EFFECT
)
Duel
.
Damage
(
tp
,
1000
,
REASON_EFFECT
)
Duel
.
Damage
(
1
-
tp
,
1000
,
REASON_EFFECT
,
true
)
Duel
.
Damage
(
tp
,
1000
,
REASON_EFFECT
,
true
)
Duel
.
RDComplete
()
end
end
end
c46918794.lua
View file @
13bb48af
...
...
@@ -14,6 +14,7 @@ function c46918794.target(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DAMAGE
,
nil
,
0
,
PLAYER_ALL
,
500
)
end
function
c46918794
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Damage
(
1
-
tp
,
1000
,
REASON_EFFECT
)
Duel
.
Damage
(
tp
,
500
,
REASON_EFFECT
)
Duel
.
Damage
(
1
-
tp
,
1000
,
REASON_EFFECT
,
true
)
Duel
.
Damage
(
tp
,
500
,
REASON_EFFECT
,
true
)
Duel
.
RDComplete
()
end
c47233801.lua
View file @
13bb48af
...
...
@@ -36,6 +36,7 @@ function c47233801.damop(e,tp,eg,ep,ev,re,r,rp)
dam
=
dam
*
2
c
:
SetFlagEffectLabel
(
47233801
,
dam
)
end
Duel
.
Damage
(
tp
,
dam
,
REASON_EFFECT
)
Duel
.
Damage
(
1
-
tp
,
dam
,
REASON_EFFECT
)
Duel
.
Damage
(
tp
,
dam
,
REASON_EFFECT
,
true
)
Duel
.
Damage
(
1
-
tp
,
dam
,
REASON_EFFECT
,
true
)
Duel
.
RDComplete
()
end
c4807253.lua
View file @
13bb48af
...
...
@@ -73,6 +73,7 @@ function c4807253.damtg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DAMAGE
,
nil
,
0
,
PLAYER_ALL
,
500
)
end
function
c4807253
.
damop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Damage
(
1
-
tp
,
500
,
REASON_EFFECT
)
Duel
.
Damage
(
tp
,
500
,
REASON_EFFECT
)
Duel
.
Damage
(
1
-
tp
,
500
,
REASON_EFFECT
,
true
)
Duel
.
Damage
(
tp
,
500
,
REASON_EFFECT
,
true
)
Duel
.
RDComplete
()
end
c5126490.lua
View file @
13bb48af
...
...
@@ -67,6 +67,7 @@ function c5126490.damop(e,tp,eg,ep,ev,re,r,rp)
local
def
=
bc
:
GetDefence
()
if
atk
<
0
then
atk
=
0
end
if
def
<
0
then
def
=
0
end
Duel
.
Damage
(
1
-
tp
,
atk
,
REASON_EFFECT
)
Duel
.
Recover
(
tp
,
def
,
REASON_EFFECT
)
Duel
.
Damage
(
1
-
tp
,
atk
,
REASON_EFFECT
,
true
)
Duel
.
Recover
(
tp
,
def
,
REASON_EFFECT
,
true
)
Duel
.
RDComplete
()
end
c58071123.lua
View file @
13bb48af
...
...
@@ -19,6 +19,7 @@ function c58071123.damtg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DAMAGE
,
nil
,
0
,
PLAYER_ALL
,
800
)
end
function
c58071123
.
damop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Damage
(
tp
,
800
,
REASON_EFFECT
)
Duel
.
Damage
(
1
-
tp
,
800
,
REASON_EFFECT
)
Duel
.
Damage
(
tp
,
800
,
REASON_EFFECT
,
true
)
Duel
.
Damage
(
1
-
tp
,
800
,
REASON_EFFECT
,
true
)
Duel
.
RDComplete
()
end
c71782404.lua
View file @
13bb48af
...
...
@@ -26,7 +26,8 @@ end
function
c71782404
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToEffect
(
e
)
then
Duel
.
Damage
(
1
-
tp
,
tc
:
GetBaseAttack
(),
REASON_EFFECT
)
Duel
.
Damage
(
tp
,
tc
:
GetBaseAttack
(),
REASON_EFFECT
)
Duel
.
Damage
(
1
-
tp
,
tc
:
GetBaseAttack
(),
REASON_EFFECT
,
true
)
Duel
.
Damage
(
tp
,
tc
:
GetBaseAttack
(),
REASON_EFFECT
,
true
)
Duel
.
RDComplete
()
end
end
c73507661.lua
View file @
13bb48af
...
...
@@ -23,6 +23,7 @@ end
function
c73507661
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
sg
=
Duel
.
GetMatchingGroup
(
c73507661
.
filter
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
e
:
GetHandler
())
local
ct
=
Duel
.
Destroy
(
sg
,
REASON_EFFECT
)
Duel
.
Damage
(
tp
,
ct
*
300
,
REASON_EFFECT
)
Duel
.
Damage
(
1
-
tp
,
ct
*
300
,
REASON_EFFECT
)
Duel
.
Damage
(
tp
,
ct
*
300
,
REASON_EFFECT
,
true
)
Duel
.
Damage
(
1
-
tp
,
ct
*
300
,
REASON_EFFECT
,
true
)
Duel
.
RDComplete
()
end
c75797046.lua
View file @
13bb48af
--フォトン・アレキサンドラ・ク
イ
ーン
--フォトン・アレキサンドラ・ク
ィ
ーン
function
c75797046
.
initial_effect
(
c
)
--xyz summon
aux
.
AddXyzProcedure
(
c
,
aux
.
FilterBoolFunction
(
Card
.
IsSetCard
,
0x6a
),
4
,
2
)
...
...
@@ -33,6 +33,7 @@ function c75797046.retop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
SendtoHand
(
g
,
nil
,
REASON_EFFECT
)
local
ct1
=
g
:
FilterCount
(
c75797046
.
hfilter
,
nil
,
tp
)
local
ct2
=
g
:
FilterCount
(
c75797046
.
hfilter
,
nil
,
1
-
tp
)
Duel
.
Damage
(
tp
,
ct1
*
300
,
REASON_EFFECT
)
Duel
.
Damage
(
1
-
tp
,
ct2
*
300
,
REASON_EFFECT
)
Duel
.
Damage
(
tp
,
ct1
*
300
,
REASON_EFFECT
,
true
)
Duel
.
Damage
(
1
-
tp
,
ct2
*
300
,
REASON_EFFECT
,
true
)
Duel
.
RDComplete
()
end
c89405199.lua
View file @
13bb48af
...
...
@@ -61,6 +61,7 @@ function c89405199.damop(e,tp,eg,ep,ev,re,r,rp)
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
local
ct1
=
c
:
GetFlagEffectLabel
(
89405199
+
tp
)
local
ct2
=
c
:
GetFlagEffectLabel
(
89405199
+
1
-
tp
)
if
ct1
then
Duel
.
Damage
(
tp
,
ct1
*
500
,
REASON_EFFECT
)
end
if
ct2
then
Duel
.
Damage
(
1
-
tp
,
ct2
*
500
,
REASON_EFFECT
)
end
if
ct1
then
Duel
.
Damage
(
tp
,
ct1
*
500
,
REASON_EFFECT
,
true
)
end
if
ct2
then
Duel
.
Damage
(
1
-
tp
,
ct2
*
500
,
REASON_EFFECT
,
true
)
end
Duel
.
RDComplete
()
end
c89719143.lua
View file @
13bb48af
...
...
@@ -31,9 +31,10 @@ function c89719143.activate(e,tp,eg,ep,ev,re,r,rp)
local
tc1
,
tc2
=
Duel
.
GetFirstTarget
()
local
dam
=
tc1
:
GetAttack
()
+
tc2
:
GetAttack
()
if
Duel
.
NegateAttack
()
then
if
tc1
:
IsRelateToEffect
(
e
)
and
tc1
:
IsFaceup
()
and
tc2
:
IsRelateToEffect
(
e
)
and
tc2
:
IsFaceup
()
then
Duel
.
Damage
(
1
-
tp
,
dam
,
REASON_EFFECT
)
Duel
.
Damage
(
tp
,
dam
,
REASON_EFFECT
)
if
tc1
:
IsRelateToEffect
(
e
)
and
tc1
:
IsFaceup
()
and
tc2
:
IsRelateToEffect
(
e
)
and
tc2
:
IsFaceup
()
then
Duel
.
Damage
(
1
-
tp
,
dam
,
REASON_EFFECT
,
true
)
Duel
.
Damage
(
tp
,
dam
,
REASON_EFFECT
,
true
)
Duel
.
RDComplete
()
end
end
end
c93469007.lua
View file @
13bb48af
...
...
@@ -29,6 +29,7 @@ function c93469007.target(e,tp,eg,ep,ev,re,r,rp,chk)
end
function
c93469007
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
d
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_PARAM
)
Duel
.
Damage
(
1
-
tp
,
d
,
REASON_EFFECT
)
Duel
.
Damage
(
tp
,
d
,
REASON_EFFECT
)
Duel
.
Damage
(
1
-
tp
,
d
,
REASON_EFFECT
,
true
)
Duel
.
Damage
(
tp
,
d
,
REASON_EFFECT
,
true
)
Duel
.
RDComplete
()
end
c93671934.lua
View file @
13bb48af
...
...
@@ -33,9 +33,10 @@ end
function
c93671934
.
damop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
eg
:
Filter
(
c93671934
.
filter
,
nil
)
if
g
:
IsExists
(
Card
.
IsControler
,
1
,
nil
,
tp
)
then
Duel
.
Damage
(
tp
,
1000
,
REASON_EFFECT
)
Duel
.
Damage
(
tp
,
1000
,
REASON_EFFECT
,
true
)
end
if
g
:
IsExists
(
Card
.
IsControler
,
1
,
nil
,
1
-
tp
)
then
Duel
.
Damage
(
1
-
tp
,
1000
,
REASON_EFFECT
)
Duel
.
Damage
(
1
-
tp
,
1000
,
REASON_EFFECT
,
true
)
end
Duel
.
RDComplete
()
end
c94667532.lua
View file @
13bb48af
...
...
@@ -27,8 +27,9 @@ end
function
c94667532
.
damop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
p
,
d
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_PLAYER
,
CHAININFO_TARGET_PARAM
)
if
p
==
PLAYER_ALL
then
Duel
.
Damage
(
0
,
d
,
REASON_EFFECT
)
Duel
.
Damage
(
1
,
d
,
REASON_EFFECT
)
Duel
.
Damage
(
0
,
d
,
REASON_EFFECT
,
true
)
Duel
.
Damage
(
1
,
d
,
REASON_EFFECT
,
true
)
Duel
.
RDComplete
()
else
Duel
.
Damage
(
p
,
d
,
REASON_EFFECT
)
end
...
...
c98139712.lua
View file @
13bb48af
...
...
@@ -22,6 +22,7 @@ end
function
c98139712
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
d1
=
eg
:
FilterCount
(
c98139712
.
filter1
,
nil
,
tp
)
*
300
local
d2
=
eg
:
FilterCount
(
c98139712
.
filter2
,
nil
,
tp
)
*
300
Duel
.
Damage
(
1
-
tp
,
d1
,
REASON_EFFECT
)
Duel
.
Damage
(
tp
,
d2
,
REASON_EFFECT
)
Duel
.
Damage
(
1
-
tp
,
d1
,
REASON_EFFECT
,
true
)
Duel
.
Damage
(
tp
,
d2
,
REASON_EFFECT
,
true
)
Duel
.
RDComplete
()
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