Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro
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
MobiusMei
ygopro
Commits
bf4b63e3
Commit
bf4b63e3
authored
Nov 22, 2012
by
argon.sun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
cb903fe8
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
13 additions
and
62 deletions
+13
-62
script/c18865703.lua
script/c18865703.lua
+1
-1
script/c45869829.lua
script/c45869829.lua
+1
-1
script/c56105047.lua
script/c56105047.lua
+1
-1
script/c58055134.lua
script/c58055134.lua
+0
-53
script/c59170782.lua
script/c59170782.lua
+9
-5
script/c74298287.lua
script/c74298287.lua
+1
-1
No files found.
script/c18865703.lua
View file @
bf4b63e3
...
@@ -17,7 +17,7 @@ function c18865703.initial_effect(c)
...
@@ -17,7 +17,7 @@ function c18865703.initial_effect(c)
e2
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e2
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e2
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e2
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e2
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
+
EFFECT_FLAG_DAMAGE_STEP
)
e2
:
SetTarget
(
c18865703
.
sptg
)
e2
:
SetTarget
(
c18865703
.
sptg
)
e2
:
SetOperation
(
c18865703
.
spop
)
e2
:
SetOperation
(
c18865703
.
spop
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
...
...
script/c45869829.lua
View file @
bf4b63e3
...
@@ -14,7 +14,7 @@ function c45869829.initial_effect(c)
...
@@ -14,7 +14,7 @@ function c45869829.initial_effect(c)
e2
:
SetDescription
(
aux
.
Stringid
(
45869829
,
0
))
e2
:
SetDescription
(
aux
.
Stringid
(
45869829
,
0
))
e2
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
)
e2
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e2
:
SetProperty
(
EFFECT_FLAG_DELAY
+
EFFECT_FLAG_DAMAGE_STEP
)
e2
:
SetCode
(
EVENT_TO_GRAVE
)
e2
:
SetCode
(
EVENT_TO_GRAVE
)
e2
:
SetCondition
(
c45869829
.
thcon
)
e2
:
SetCondition
(
c45869829
.
thcon
)
e2
:
SetTarget
(
c45869829
.
thtg
)
e2
:
SetTarget
(
c45869829
.
thtg
)
...
...
script/c56105047.lua
View file @
bf4b63e3
...
@@ -31,8 +31,8 @@ function c56105047.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -31,8 +31,8 @@ function c56105047.spop(e,tp,eg,ep,ev,re,r,rp)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
tc
=
Duel
.
GetFirstTarget
()
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToEffect
(
e
)
and
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP_DEFENCE
)
==
1
then
if
tc
:
IsRelateToEffect
(
e
)
and
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP_DEFENCE
)
==
1
then
Duel
.
BreakEffect
()
if
c
:
IsPosition
(
POS_FACEUP_ATTACK
)
and
c
:
IsRelateToEffect
(
e
)
then
if
c
:
IsPosition
(
POS_FACEUP_ATTACK
)
and
c
:
IsRelateToEffect
(
e
)
then
Duel
.
BreakEffect
()
Duel
.
ChangePosition
(
c
,
POS_FACEUP_DEFENCE
)
Duel
.
ChangePosition
(
c
,
POS_FACEUP_DEFENCE
)
end
end
end
end
...
...
script/c58055134.lua
deleted
100644 → 0
View file @
cb903fe8
--シャイニート·マジシャン
function
c58055134
.
initial_effect
(
c
)
--xyz summon
aux
.
AddXyzProcedure
(
c
,
aux
.
XyzFilterFunction
(
c
,
1
),
2
)
c
:
EnableReviveLimit
()
--battle indes
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetCode
(
EFFECT_INDESTRUCTABLE_COUNT
)
e1
:
SetCountLimit
(
1
)
e1
:
SetValue
(
c58055134
.
valcon
)
c
:
RegisterEffect
(
e1
)
--negate
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
58055134
,
0
))
e2
:
SetCategory
(
CATEGORY_NEGATE
+
CATEGORY_DESTROY
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_QUICK_O
)
e2
:
SetCode
(
EVENT_CHAINING
)
e2
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
+
EFFECT_FLAG_DAMAGE_CAL
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetCondition
(
c58055134
.
negcon
)
e2
:
SetCost
(
c58055134
.
negcost
)
e2
:
SetTarget
(
c58055134
.
negtg
)
e2
:
SetOperation
(
c58055134
.
negop
)
c
:
RegisterEffect
(
e2
)
end
function
c58055134
.
valcon
(
e
,
re
,
r
,
rp
)
return
bit
.
band
(
r
,
REASON_BATTLE
)
~=
0
end
function
c58055134
.
negcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
not
re
:
IsHasProperty
(
EFFECT_FLAG_CARD_TARGET
)
then
return
false
end
local
g
=
Duel
.
GetChainInfo
(
ev
,
CHAININFO_TARGET_CARDS
)
return
g
and
g
:
IsContains
(
c
)
end
function
c58055134
.
negcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
CheckRemoveOverlayCard
(
tp
,
1
,
REASON_COST
)
end
e
:
GetHandler
():
RemoveOverlayCard
(
tp
,
1
,
1
,
REASON_COST
)
end
function
c58055134
.
negtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_NEGATE
,
eg
,
1
,
0
,
0
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
and
re
:
GetHandler
():
IsDestructable
()
then
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
eg
,
1
,
0
,
0
)
end
end
function
c58055134
.
negop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
re
:
GetHandler
(),
REASON_EFFECT
)
end
end
script/c59170782.lua
View file @
bf4b63e3
...
@@ -10,7 +10,7 @@ function c59170782.initial_effect(c)
...
@@ -10,7 +10,7 @@ function c59170782.initial_effect(c)
e1
:
SetCode
(
EVENT_CHAINING
)
e1
:
SetCode
(
EVENT_CHAINING
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetCondition
(
c59170782
.
tgcon1
)
e1
:
SetCondition
(
c59170782
.
tgcon1
)
e1
:
SetCost
(
c59170782
.
tgcost
)
--
e1:SetCost(c59170782.tgcost)
e1
:
SetOperation
(
c59170782
.
tgop1
)
e1
:
SetOperation
(
c59170782
.
tgop1
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
...
@@ -51,10 +51,14 @@ function c59170782.tgcon1(e,tp,eg,ep,ev,re,r,rp)
...
@@ -51,10 +51,14 @@ function c59170782.tgcon1(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c59170782
.
tgop1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c59170782
.
tgop1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
c
:
IsRelateToEffect
(
e
)
and
c
:
IsFaceup
()
then
if
c
:
IsRelateToEffect
(
e
)
then
local
g
=
Group
.
CreateGroup
()
local
tf
=
re
:
GetTarget
()
g
:
AddCard
(
c
)
local
res
,
ceg
,
cep
,
cev
,
cre
,
cr
,
crp
=
Duel
.
CheckEvent
(
re
:
GetCode
(),
true
)
Duel
.
ChangeTargetCard
(
ev
,
g
)
if
tf
(
re
,
rp
,
ceg
,
cep
,
cev
,
cre
,
cr
,
crp
,
0
,
c
)
then
local
g
=
Group
.
CreateGroup
()
g
:
AddCard
(
c
)
Duel
.
ChangeTargetCard
(
ev
,
g
)
end
end
end
end
end
function
c59170782
.
tgcon2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c59170782
.
tgcon2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
script/c74298287.lua
View file @
bf4b63e3
...
@@ -5,7 +5,7 @@ function c74298287.initial_effect(c)
...
@@ -5,7 +5,7 @@ function c74298287.initial_effect(c)
e1
:
SetDescription
(
aux
.
Stringid
(
74298287
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
74298287
,
0
))
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetProperty
(
EFFECT_FLAG_CHAIN_UNIQUE
+
EFFECT_FLAG_DELAY
+
EFFECT_FLAG_DAMAGE_STEP
)
e1
:
SetProperty
(
EFFECT_FLAG_CHAIN_UNIQUE
+
EFFECT_FLAG_DELAY
)
e1
:
SetCode
(
EVENT_TO_HAND
)
e1
:
SetCode
(
EVENT_TO_HAND
)
e1
:
SetCondition
(
c74298287
.
spcon1
)
e1
:
SetCondition
(
c74298287
.
spcon1
)
e1
:
SetCost
(
c74298287
.
spcost
)
e1
:
SetCost
(
c74298287
.
spcost
)
...
...
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