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
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
MyCard
ygopro
Commits
c4ba57e1
Commit
c4ba57e1
authored
Dec 21, 2014
by
DailyShana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
978500ec
Changes
12
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
29 additions
and
26 deletions
+29
-26
script/c14799437.lua
script/c14799437.lua
+1
-1
script/c19337371.lua
script/c19337371.lua
+1
-1
script/c25811989.lua
script/c25811989.lua
+1
-1
script/c26034577.lua
script/c26034577.lua
+1
-1
script/c34475451.lua
script/c34475451.lua
+2
-2
script/c46759931.lua
script/c46759931.lua
+17
-14
script/c51316684.lua
script/c51316684.lua
+1
-1
script/c52038272.lua
script/c52038272.lua
+1
-1
script/c53982768.lua
script/c53982768.lua
+1
-1
script/c79306385.lua
script/c79306385.lua
+1
-1
script/c88301393.lua
script/c88301393.lua
+1
-1
script/c89423971.lua
script/c89423971.lua
+1
-1
No files found.
script/c14799437.lua
View file @
c4ba57e1
...
...
@@ -11,7 +11,7 @@ function c14799437.initial_effect(c)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetCode
(
EFFECT_SPSUMMON_PROC
)
e2
:
SetProperty
(
EFFECT_FLAG_UNCOPYABLE
)
e2
:
SetProperty
(
EFFECT_FLAG_
CANNOT_DISABLE
+
EFFECT_FLAG_
UNCOPYABLE
)
e2
:
SetRange
(
LOCATION_HAND
+
LOCATION_GRAVE
)
e2
:
SetCondition
(
c14799437
.
spcon
)
e2
:
SetOperation
(
c14799437
.
spop
)
...
...
script/c19337371.lua
View file @
c4ba57e1
...
...
@@ -42,7 +42,7 @@ end
function
c19337371
.
regop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetDescription
(
aux
.
Stringid
(
19337371
,
0
))
e1
:
SetCategory
(
CATEGORY_SEARCH
)
e1
:
SetCategory
(
CATEGORY_
TOHAND
+
CATEGORY_
SEARCH
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_F
)
e1
:
SetRange
(
LOCATION_GRAVE
)
e1
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
...
...
script/c25811989.lua
View file @
c4ba57e1
...
...
@@ -11,7 +11,7 @@ function c25811989.initial_effect(c)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetCode
(
EFFECT_SPSUMMON_PROC
)
e2
:
SetProperty
(
EFFECT_FLAG_UNCOPYABLE
)
e2
:
SetProperty
(
EFFECT_FLAG_
CANNOT_DISABLE
+
EFFECT_FLAG_
UNCOPYABLE
)
e2
:
SetRange
(
LOCATION_HAND
+
LOCATION_GRAVE
)
e2
:
SetCondition
(
c25811989
.
spcon
)
e2
:
SetOperation
(
c25811989
.
spop
)
...
...
script/c26034577.lua
View file @
c4ba57e1
...
...
@@ -11,7 +11,7 @@ function c26034577.initial_effect(c)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetCode
(
EFFECT_SPSUMMON_PROC
)
e2
:
SetProperty
(
EFFECT_FLAG_UNCOPYABLE
)
e2
:
SetProperty
(
EFFECT_FLAG_
CANNOT_DISABLE
+
EFFECT_FLAG_
UNCOPYABLE
)
e2
:
SetRange
(
LOCATION_HAND
)
e2
:
SetCondition
(
c26034577
.
spcon
)
e2
:
SetOperation
(
c26034577
.
spop
)
...
...
script/c34475451.lua
View file @
c4ba57e1
...
...
@@ -25,7 +25,7 @@ function c34475451.operation(e,tp,eg,ep,ev,re,r,rp)
local
c
=
e
:
GetHandler
()
if
c
:
IsRelateToEffect
(
e
)
and
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
local
a
=
Duel
.
GetAttacker
()
if
a
:
IsOnField
()
and
a
:
IsFaceup
()
then
if
a
:
IsOnField
()
and
a
:
IsFaceup
()
and
not
a
:
IsImmuneToEffect
(
e
)
then
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_INDESTRUCTABLE_BATTLE
)
...
...
@@ -35,4 +35,4 @@ function c34475451.operation(e,tp,eg,ep,ev,re,r,rp)
Duel
.
CalculateDamage
(
a
,
c
)
end
end
end
\ No newline at end of file
end
script/c46759931.lua
View file @
c4ba57e1
...
...
@@ -4,23 +4,29 @@ function c46759931.initial_effect(c)
c
:
EnableReviveLimit
()
aux
.
AddFusionProcFunRep
(
c
,
aux
.
FilterBoolFunction
(
Card
.
IsSetCard
,
0x8
),
3
,
true
)
--summon success
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_CONTINUOUS
+
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e1
:
SetCondition
(
c46759931
.
regcon
)
e1
:
SetOperation
(
c46759931
.
regop
)
c
:
RegisterEffect
(
e1
)
--extra attack
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_
CONTINUOUS
+
EFFECT_TYPE_
SINGLE
)
e2
:
SetCode
(
E
VENT_SPSUMMON_SUCCESS
)
e2
:
SetCondition
(
c46759931
.
ssconditi
on
)
e2
:
Set
Operation
(
c46759931
.
ssoperation
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetCode
(
E
FFECT_EXTRA_ATTACK
)
e2
:
SetCondition
(
c46759931
.
atkc
on
)
e2
:
Set
Value
(
2
)
c
:
RegisterEffect
(
e2
)
--cannot diratk
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
)
e3
:
SetCode
(
EFFECT_CANNOT_DIRECT_ATTACK
)
c
:
RegisterEffect
(
e3
)
c
:
EnableReviveLimit
()
end
function
c46759931
.
ssconditi
on
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetSummonType
(
)
==
SUMMON_TYPE_FUSION
function
c46759931
.
regc
on
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
bit
.
band
(
e
:
GetHandler
():
GetSummonType
(),
SUMMON_TYPE_FUSION
)
==
SUMMON_TYPE_FUSION
end
function
c46759931
.
ssoperation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c46759931
.
regop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
...
...
@@ -28,10 +34,7 @@ function c46759931.ssoperation(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetReset
(
RESET_EVENT
+
0x1ff0000
+
RESET_PHASE
+
PHASE_END
)
e1
:
SetValue
(
c
:
GetBaseAttack
()
*
2
)
c
:
RegisterEffect
(
e1
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetCode
(
EFFECT_EXTRA_ATTACK
)
e2
:
SetReset
(
RESET_EVENT
+
0x1ec0000
)
e2
:
SetValue
(
2
)
c
:
RegisterEffect
(
e2
)
end
function
c46759931
.
atkcon
(
e
)
return
bit
.
band
(
e
:
GetHandler
():
GetSummonType
(),
SUMMON_TYPE_FUSION
)
==
SUMMON_TYPE_FUSION
end
script/c51316684.lua
View file @
c4ba57e1
...
...
@@ -11,7 +11,7 @@ function c51316684.initial_effect(c)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetCode
(
EFFECT_SPSUMMON_PROC
)
e2
:
SetProperty
(
EFFECT_FLAG_UNCOPYABLE
)
e2
:
SetProperty
(
EFFECT_FLAG_
CANNOT_DISABLE
+
EFFECT_FLAG_
UNCOPYABLE
)
e2
:
SetRange
(
LOCATION_HAND
+
LOCATION_GRAVE
)
e2
:
SetCondition
(
c51316684
.
spcon
)
e2
:
SetOperation
(
c51316684
.
spop
)
...
...
script/c52038272.lua
View file @
c4ba57e1
...
...
@@ -11,7 +11,7 @@ function c52038272.initial_effect(c)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetCode
(
EFFECT_SPSUMMON_PROC
)
e2
:
SetProperty
(
EFFECT_FLAG_UNCOPYABLE
)
e2
:
SetProperty
(
EFFECT_FLAG_
CANNOT_DISABLE
+
EFFECT_FLAG_
UNCOPYABLE
)
e2
:
SetRange
(
LOCATION_HAND
)
e2
:
SetCondition
(
c52038272
.
spcon
)
e2
:
SetOperation
(
c52038272
.
spop
)
...
...
script/c53982768.lua
View file @
c4ba57e1
...
...
@@ -9,7 +9,7 @@ function c53982768.initial_effect(c)
c
:
RegisterEffect
(
e1
)
--Disable
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e2
:
SetCode
(
EVENT_BATTLED
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetOperation
(
c53982768
.
operation
)
...
...
script/c79306385.lua
View file @
c4ba57e1
--宣告者の
預言
--宣告者の
神託
function
c79306385
.
initial_effect
(
c
)
--Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
...
...
script/c88301393.lua
View file @
c4ba57e1
...
...
@@ -11,7 +11,7 @@ function c88301393.initial_effect(c)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetCode
(
EFFECT_SPSUMMON_PROC
)
e2
:
SetProperty
(
EFFECT_FLAG_UNCOPYABLE
)
e2
:
SetProperty
(
EFFECT_FLAG_
CANNOT_DISABLE
+
EFFECT_FLAG_
UNCOPYABLE
)
e2
:
SetRange
(
LOCATION_HAND
+
LOCATION_GRAVE
)
e2
:
SetCondition
(
c88301393
.
spcon
)
e2
:
SetOperation
(
c88301393
.
spop
)
...
...
script/c89423971.lua
View file @
c4ba57e1
...
...
@@ -11,7 +11,7 @@ function c89423971.initial_effect(c)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetCode
(
EFFECT_SPSUMMON_PROC
)
e2
:
SetProperty
(
EFFECT_FLAG_UNCOPYABLE
)
e2
:
SetProperty
(
EFFECT_FLAG_
CANNOT_DISABLE
+
EFFECT_FLAG_
UNCOPYABLE
)
e2
:
SetRange
(
LOCATION_HAND
)
e2
:
SetCondition
(
c89423971
.
spcon
)
e2
:
SetOperation
(
c89423971
.
spop
)
...
...
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