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
1
Merge Requests
1
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
nanahira
ygopro
Commits
875345bc
Commit
875345bc
authored
Aug 28, 2015
by
mercury233
Browse files
Options
Browse Files
Download
Plain Diff
Merge
https://github.com/Fluorohydride/ygopro
into server
parents
97875d73
60cdcb78
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
7 deletions
+8
-7
script/c22404675.lua
script/c22404675.lua
+1
-1
script/c40591390.lua
script/c40591390.lua
+4
-5
script/c57355219.lua
script/c57355219.lua
+1
-1
script/c76547525.lua
script/c76547525.lua
+1
-0
script/c93332803.lua
script/c93332803.lua
+1
-0
No files found.
script/c22404675.lua
View file @
875345bc
...
@@ -56,7 +56,7 @@ function c22404675.splimit(e,c,sump,sumtype,sumpos,targetp,se)
...
@@ -56,7 +56,7 @@ function c22404675.splimit(e,c,sump,sumtype,sumpos,targetp,se)
return
c
:
IsLocation
(
LOCATION_EXTRA
)
return
c
:
IsLocation
(
LOCATION_EXTRA
)
end
end
function
c22404675
.
sumcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c22404675
.
sumcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
IsReason
(
REASON_SUMMON
)
return
e
:
GetHandler
():
IsReason
(
REASON_SUMMON
)
and
Duel
.
GetTurnPlayer
()
==
tp
end
end
function
c22404675
.
sumtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c22404675
.
sumtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsPlayerCanSummon
(
tp
)
end
if
chk
==
0
then
return
Duel
.
IsPlayerCanSummon
(
tp
)
end
...
...
script/c40591390.lua
View file @
875345bc
...
@@ -61,19 +61,18 @@ function c40591390.indop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -61,19 +61,18 @@ function c40591390.indop(e,tp,eg,ep,ev,re,r,rp)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetTargetRange
(
LOCATION_MZONE
,
0
)
e1
:
SetTargetRange
(
LOCATION_MZONE
,
0
)
e1
:
SetTarget
(
c40591390
.
filter
)
e1
:
SetTarget
(
c40591390
.
filter
)
e1
:
SetCode
(
EFFECT_INDESTRUCTABLE_BATTLE
)
e1
:
SetCode
(
EFFECT_INDESTRUCTABLE_BATTLE
)
e1
:
SetValue
(
1
)
e1
:
SetValue
(
1
)
e1
:
SetReset
(
RESET_
EVENT
+
0x1fe0000
+
RESET_
PHASE
+
PHASE_END
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
c
:
RegisterEffect
(
e1
)
Duel
.
RegisterEffect
(
e1
,
tp
)
local
e2
=
e1
:
Clone
()
local
e2
=
e1
:
Clone
()
e2
:
SetCode
(
EFFECT_INDESTRUCTABLE_EFFECT
)
e2
:
SetCode
(
EFFECT_INDESTRUCTABLE_EFFECT
)
c
:
RegisterEffect
(
e2
)
Duel
.
RegisterEffect
(
e2
,
tp
)
local
e3
=
e1
:
Clone
()
local
e3
=
e1
:
Clone
()
e3
:
SetCode
(
EFFECT_AVOID_BATTLE_DAMAGE
)
e3
:
SetCode
(
EFFECT_AVOID_BATTLE_DAMAGE
)
c
:
RegisterEffect
(
e3
)
Duel
.
RegisterEffect
(
e3
,
tp
)
end
end
function
c40591390
.
vfilter
(
c
)
function
c40591390
.
vfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0xc008
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0xc008
)
...
...
script/c57355219.lua
View file @
875345bc
...
@@ -25,7 +25,7 @@ function c57355219.condition1(e,tp,eg,ep,ev,re,r,rp)
...
@@ -25,7 +25,7 @@ function c57355219.condition1(e,tp,eg,ep,ev,re,r,rp)
return
Duel
.
GetCurrentChain
()
==
0
return
Duel
.
GetCurrentChain
()
==
0
end
end
function
c57355219
.
cfilter
(
c
)
function
c57355219
.
cfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_FUSION
)
and
c
:
IsAbleToRemoveAsCost
()
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_FUSION
)
and
c
:
IsAbleToRemoveAsCost
()
and
not
c
:
IsStatus
(
STATUS_BATTLE_DESTROYED
)
end
end
function
c57355219
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c57355219
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c57355219
.
cfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c57355219
.
cfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
end
...
...
script/c76547525.lua
View file @
875345bc
...
@@ -22,6 +22,7 @@ function c76547525.cfilter(c,atk)
...
@@ -22,6 +22,7 @@ function c76547525.cfilter(c,atk)
end
end
function
c76547525
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c76547525
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
IsExistingMatchingCard
(
c76547525
.
cfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
,
e
:
GetHandler
():
GetAttack
())
return
Duel
.
IsExistingMatchingCard
(
c76547525
.
cfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
,
e
:
GetHandler
():
GetAttack
())
and
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SYNCHRO
end
end
function
c76547525
.
desfilter
(
c
)
function
c76547525
.
desfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsDestructable
()
return
c
:
IsFaceup
()
and
c
:
IsDestructable
()
...
...
script/c93332803.lua
View file @
875345bc
...
@@ -24,6 +24,7 @@ function c93332803.initial_effect(c)
...
@@ -24,6 +24,7 @@ function c93332803.initial_effect(c)
e3
:
SetCategory
(
CATEGORY_DESTROY
)
e3
:
SetCategory
(
CATEGORY_DESTROY
)
e3
:
SetType
(
EFFECT_TYPE_IGNITION
)
e3
:
SetType
(
EFFECT_TYPE_IGNITION
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetCountLimit
(
1
)
e3
:
SetCost
(
c93332803
.
descost
)
e3
:
SetCost
(
c93332803
.
descost
)
e3
:
SetTarget
(
c93332803
.
destg
)
e3
:
SetTarget
(
c93332803
.
destg
)
e3
:
SetOperation
(
c93332803
.
desop
)
e3
:
SetOperation
(
c93332803
.
desop
)
...
...
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