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
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-scripts
Commits
f67a7cb5
Commit
f67a7cb5
authored
Jun 12, 2017
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
12d812c6
Changes
17
Hide whitespace changes
Inline
Side-by-side
Showing
17 changed files
with
26 additions
and
80 deletions
+26
-80
c17045014.lua
c17045014.lua
+1
-5
c2067935.lua
c2067935.lua
+1
-5
c23234094.lua
c23234094.lua
+1
-5
c25924653.lua
c25924653.lua
+1
-5
c29590752.lua
c29590752.lua
+1
-5
c39672388.lua
c39672388.lua
+1
-5
c41470137.lua
c41470137.lua
+1
-5
c50893987.lua
c50893987.lua
+1
-5
c54266211.lua
c54266211.lua
+1
-5
c57731460.lua
c57731460.lua
+1
-5
c5975022.lua
c5975022.lua
+1
-5
c612115.lua
c612115.lua
+1
-5
c67385964.lua
c67385964.lua
+1
-5
c69633792.lua
c69633792.lua
+1
-5
c7573135.lua
c7573135.lua
+1
-5
c80651316.lua
c80651316.lua
+1
-5
utility.lua
utility.lua
+10
-0
No files found.
c17045014.lua
View file @
f67a7cb5
...
...
@@ -7,15 +7,11 @@ function c17045014.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_F
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e1
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e1
:
SetCondition
(
c17045014
.
des
con
)
e1
:
SetCondition
(
aux
.
evosp
con
)
e1
:
SetTarget
(
c17045014
.
destg
)
e1
:
SetOperation
(
c17045014
.
desop
)
c
:
RegisterEffect
(
e1
)
end
function
c17045014
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
st
=
e
:
GetHandler
():
GetSummonType
()
return
st
>=
(
SUMMON_TYPE_SPECIAL
+
150
)
and
st
<
(
SUMMON_TYPE_SPECIAL
+
180
)
end
function
c17045014
.
desfilter
(
c
)
return
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
end
...
...
c2067935.lua
View file @
f67a7cb5
...
...
@@ -7,7 +7,7 @@ function c2067935.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e1
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e1
:
SetCondition
(
c2067935
.
rm
con
)
e1
:
SetCondition
(
aux
.
gbsp
con
)
e1
:
SetTarget
(
c2067935
.
rmtg
)
e1
:
SetOperation
(
c2067935
.
rmop
)
c
:
RegisterEffect
(
e1
)
...
...
@@ -24,10 +24,6 @@ function c2067935.initial_effect(c)
e2
:
SetOperation
(
c2067935
.
spop
)
c
:
RegisterEffect
(
e2
)
end
function
c2067935
.
rmcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
st
=
e
:
GetHandler
():
GetSummonType
()
return
st
>=
(
SUMMON_TYPE_SPECIAL
+
100
)
and
st
<
(
SUMMON_TYPE_SPECIAL
+
150
)
end
function
c2067935
.
rmfilter
(
c
)
return
c
:
IsSetCard
(
0x19
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToRemove
()
end
...
...
c23234094.lua
View file @
f67a7cb5
...
...
@@ -7,15 +7,11 @@ function c23234094.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
)
e1
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e1
:
SetCondition
(
c23234094
.
spcon
)
e1
:
SetCondition
(
aux
.
evo
spcon
)
e1
:
SetTarget
(
c23234094
.
sptg
)
e1
:
SetOperation
(
c23234094
.
spop
)
c
:
RegisterEffect
(
e1
)
end
function
c23234094
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
st
=
e
:
GetHandler
():
GetSummonType
()
return
st
>=
(
SUMMON_TYPE_SPECIAL
+
150
)
and
st
<
(
SUMMON_TYPE_SPECIAL
+
180
)
end
function
c23234094
.
filter
(
c
,
e
,
tp
)
return
c
:
IsLevelBelow
(
6
)
and
c
:
IsRace
(
RACE_DINOSAUR
)
and
c
:
IsAttribute
(
ATTRIBUTE_FIRE
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
181
,
tp
,
false
,
false
)
...
...
c25924653.lua
View file @
f67a7cb5
...
...
@@ -7,7 +7,7 @@ function c25924653.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e1
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e1
:
SetCondition
(
c25924653
.
spg
con
)
e1
:
SetCondition
(
aux
.
gbsp
con
)
e1
:
SetTarget
(
c25924653
.
spgtg
)
e1
:
SetOperation
(
c25924653
.
spgop
)
c
:
RegisterEffect
(
e1
)
...
...
@@ -30,10 +30,6 @@ function c25924653.initial_effect(c)
e3
:
SetOperation
(
c25924653
.
leave
)
c
:
RegisterEffect
(
e3
)
end
function
c25924653
.
spgcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
st
=
e
:
GetHandler
():
GetSummonType
()
return
st
>=
(
SUMMON_TYPE_SPECIAL
+
100
)
and
st
<
(
SUMMON_TYPE_SPECIAL
+
150
)
end
function
c25924653
.
spgfilter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x19
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
104
,
tp
,
false
,
false
)
end
...
...
c29590752.lua
View file @
f67a7cb5
...
...
@@ -7,7 +7,7 @@ function c29590752.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_F
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e1
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e1
:
SetCondition
(
c29590752
.
des
con
)
e1
:
SetCondition
(
aux
.
gbsp
con
)
e1
:
SetTarget
(
c29590752
.
destg
)
e1
:
SetOperation
(
c29590752
.
desop
)
c
:
RegisterEffect
(
e1
)
...
...
@@ -23,10 +23,6 @@ function c29590752.initial_effect(c)
e2
:
SetOperation
(
c29590752
.
dop
)
c
:
RegisterEffect
(
e2
)
end
function
c29590752
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
st
=
e
:
GetHandler
():
GetSummonType
()
return
st
>=
(
SUMMON_TYPE_SPECIAL
+
100
)
and
st
<
(
SUMMON_TYPE_SPECIAL
+
150
)
end
function
c29590752
.
desfilter
(
c
)
return
c
:
IsFacedown
()
and
c
:
GetSequence
()
~=
5
end
...
...
c39672388.lua
View file @
f67a7cb5
...
...
@@ -6,15 +6,11 @@ function c39672388.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
+
EFFECT_FLAG_DAMAGE_STEP
)
e1
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e1
:
SetCondition
(
c39672388
.
lv
con
)
e1
:
SetCondition
(
aux
.
evosp
con
)
e1
:
SetTarget
(
c39672388
.
lvtg
)
e1
:
SetOperation
(
c39672388
.
lvop
)
c
:
RegisterEffect
(
e1
)
end
function
c39672388
.
lvcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
st
=
e
:
GetHandler
():
GetSummonType
()
return
st
>=
(
SUMMON_TYPE_SPECIAL
+
150
)
and
st
<
(
SUMMON_TYPE_SPECIAL
+
180
)
end
function
c39672388
.
filter
(
c
)
return
c
:
IsFaceup
()
and
not
c
:
IsType
(
TYPE_XYZ
)
end
...
...
c41470137.lua
View file @
f67a7cb5
...
...
@@ -7,7 +7,7 @@ function c41470137.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_F
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e1
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e1
:
SetCondition
(
c41470137
.
des
con
)
e1
:
SetCondition
(
aux
.
gbsp
con
)
e1
:
SetTarget
(
c41470137
.
destg
)
e1
:
SetOperation
(
c41470137
.
desop
)
c
:
RegisterEffect
(
e1
)
...
...
@@ -24,10 +24,6 @@ function c41470137.initial_effect(c)
e2
:
SetOperation
(
c41470137
.
spop
)
c
:
RegisterEffect
(
e2
)
end
function
c41470137
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
st
=
e
:
GetHandler
():
GetSummonType
()
return
st
>=
(
SUMMON_TYPE_SPECIAL
+
100
)
and
st
<
(
SUMMON_TYPE_SPECIAL
+
150
)
end
function
c41470137
.
desfilter
(
c
)
return
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
end
...
...
c50893987.lua
View file @
f67a7cb5
...
...
@@ -6,7 +6,7 @@ function c50893987.initial_effect(c)
e1
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e1
:
SetCondition
(
c50893987
.
sc
con
)
e1
:
SetCondition
(
aux
.
gbsp
con
)
e1
:
SetCost
(
c50893987
.
sccost
)
e1
:
SetTarget
(
c50893987
.
sctg
)
e1
:
SetOperation
(
c50893987
.
scop
)
...
...
@@ -19,10 +19,6 @@ function c50893987.initial_effect(c)
e2
:
SetValue
(
1
)
c
:
RegisterEffect
(
e2
)
end
function
c50893987
.
sccon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
st
=
e
:
GetHandler
():
GetSummonType
()
return
st
>=
(
SUMMON_TYPE_SPECIAL
+
100
)
and
st
<
(
SUMMON_TYPE_SPECIAL
+
150
)
end
function
c50893987
.
costfilter
(
c
)
return
c
:
IsSetCard
(
0x19
)
and
c
:
IsDiscardable
()
end
...
...
c54266211.lua
View file @
f67a7cb5
...
...
@@ -7,15 +7,11 @@ function c54266211.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
+
EFFECT_FLAG_DAMAGE_STEP
)
e1
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e1
:
SetCondition
(
c54266211
.
spcon
)
e1
:
SetCondition
(
aux
.
evo
spcon
)
e1
:
SetTarget
(
c54266211
.
sptg
)
e1
:
SetOperation
(
c54266211
.
spop
)
c
:
RegisterEffect
(
e1
)
end
function
c54266211
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
st
=
e
:
GetHandler
():
GetSummonType
()
return
st
>=
(
SUMMON_TYPE_SPECIAL
+
150
)
and
st
<
(
SUMMON_TYPE_SPECIAL
+
180
)
end
function
c54266211
.
filter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x604e
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
180
,
tp
,
false
,
false
)
end
...
...
c57731460.lua
View file @
f67a7cb5
...
...
@@ -7,7 +7,7 @@ function c57731460.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_F
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e1
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e1
:
SetCondition
(
c57731460
.
ret
con
)
e1
:
SetCondition
(
aux
.
gbsp
con
)
e1
:
SetTarget
(
c57731460
.
rettg
)
e1
:
SetOperation
(
c57731460
.
retop
)
c
:
RegisterEffect
(
e1
)
...
...
@@ -24,10 +24,6 @@ function c57731460.initial_effect(c)
e2
:
SetOperation
(
c57731460
.
spop
)
c
:
RegisterEffect
(
e2
)
end
function
c57731460
.
retcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
st
=
e
:
GetHandler
():
GetSummonType
()
return
st
>=
(
SUMMON_TYPE_SPECIAL
+
100
)
and
st
<
(
SUMMON_TYPE_SPECIAL
+
150
)
end
function
c57731460
.
retfilter
(
c
)
return
c
:
IsSetCard
(
0x19
)
and
c
:
IsAbleToHand
()
end
...
...
c5975022.lua
View file @
f67a7cb5
...
...
@@ -7,7 +7,7 @@ function c5975022.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_F
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e1
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e1
:
SetCondition
(
c5975022
.
des
con
)
e1
:
SetCondition
(
aux
.
gbsp
con
)
e1
:
SetTarget
(
c5975022
.
destg
)
e1
:
SetOperation
(
c5975022
.
desop
)
c
:
RegisterEffect
(
e1
)
...
...
@@ -24,10 +24,6 @@ function c5975022.initial_effect(c)
e2
:
SetOperation
(
c5975022
.
spop
)
c
:
RegisterEffect
(
e2
)
end
function
c5975022
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
st
=
e
:
GetHandler
():
GetSummonType
()
return
st
>=
(
SUMMON_TYPE_SPECIAL
+
100
)
and
st
<
(
SUMMON_TYPE_SPECIAL
+
150
)
end
function
c5975022
.
desfilter
(
c
)
return
c
:
IsFaceup
()
end
...
...
c612115.lua
View file @
f67a7cb5
...
...
@@ -7,7 +7,7 @@ function c612115.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e1
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e1
:
SetCondition
(
c612115
.
rm
con
)
e1
:
SetCondition
(
aux
.
gbsp
con
)
e1
:
SetTarget
(
c612115
.
rmtg
)
e1
:
SetOperation
(
c612115
.
rmop
)
c
:
RegisterEffect
(
e1
)
...
...
@@ -24,10 +24,6 @@ function c612115.initial_effect(c)
e2
:
SetOperation
(
c612115
.
spop
)
c
:
RegisterEffect
(
e2
)
end
function
c612115
.
rmcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
st
=
e
:
GetHandler
():
GetSummonType
()
return
st
>=
(
SUMMON_TYPE_SPECIAL
+
100
)
and
st
<
(
SUMMON_TYPE_SPECIAL
+
150
)
end
function
c612115
.
rmtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
1
-
tp
)
and
chkc
:
IsAbleToRemove
()
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
Card
.
IsAbleToRemove
,
tp
,
0
,
LOCATION_GRAVE
,
1
,
nil
)
end
...
...
c67385964.lua
View file @
f67a7cb5
...
...
@@ -18,7 +18,7 @@ function c67385964.initial_effect(c)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e2
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e2
:
SetCondition
(
c67385964
.
tg
con
)
e2
:
SetCondition
(
aux
.
gbsp
con
)
e2
:
SetTarget
(
c67385964
.
tgtg
)
e2
:
SetOperation
(
c67385964
.
tgop
)
c
:
RegisterEffect
(
e2
)
...
...
@@ -61,10 +61,6 @@ function c67385964.hspop(e,tp,eg,ep,ev,re,r,rp)
end
end
end
function
c67385964
.
tgcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
st
=
e
:
GetHandler
():
GetSummonType
()
return
st
>=
(
SUMMON_TYPE_SPECIAL
+
100
)
and
st
<
(
SUMMON_TYPE_SPECIAL
+
150
)
end
function
c67385964
.
tgfilter
(
c
)
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsSetCard
(
0x19
)
and
c
:
IsAbleToGrave
()
end
...
...
c69633792.lua
View file @
f67a7cb5
...
...
@@ -6,14 +6,10 @@ function c69633792.initial_effect(c)
e1
:
SetCategory
(
CATEGORY_ATKCHANGE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_F
)
e1
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e1
:
SetCondition
(
c69633792
.
atk
con
)
e1
:
SetCondition
(
aux
.
evosp
con
)
e1
:
SetOperation
(
c69633792
.
atkop
)
c
:
RegisterEffect
(
e1
)
end
function
c69633792
.
atkcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
st
=
e
:
GetHandler
():
GetSummonType
()
return
st
>=
(
SUMMON_TYPE_SPECIAL
+
150
)
and
st
<
(
SUMMON_TYPE_SPECIAL
+
180
)
end
function
c69633792
.
atkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
c
:
IsFaceup
()
and
c
:
IsRelateToEffect
(
e
)
then
...
...
c7573135.lua
View file @
f67a7cb5
...
...
@@ -6,7 +6,7 @@ function c7573135.initial_effect(c)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e1
:
SetCondition
(
c7573135
.
h
spcon
)
e1
:
SetCondition
(
aux
.
gb
spcon
)
e1
:
SetTarget
(
c7573135
.
hsptg
)
e1
:
SetOperation
(
c7573135
.
hspop
)
c
:
RegisterEffect
(
e1
)
...
...
@@ -23,10 +23,6 @@ function c7573135.initial_effect(c)
e2
:
SetOperation
(
c7573135
.
spop
)
c
:
RegisterEffect
(
e2
)
end
function
c7573135
.
hspcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
st
=
e
:
GetHandler
():
GetSummonType
()
return
st
>=
(
SUMMON_TYPE_SPECIAL
+
100
)
and
st
<
(
SUMMON_TYPE_SPECIAL
+
150
)
end
function
c7573135
.
hspfilter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x19
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
113
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
...
...
c80651316.lua
View file @
f67a7cb5
...
...
@@ -5,14 +5,10 @@ function c80651316.initial_effect(c)
e1
:
SetCategory
(
CATEGORY_ATKCHANGE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_F
)
e1
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e1
:
SetCondition
(
c80651316
.
atk
con
)
e1
:
SetCondition
(
aux
.
evosp
con
)
e1
:
SetOperation
(
c80651316
.
atkop
)
c
:
RegisterEffect
(
e1
)
end
function
c80651316
.
atkcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
st
=
e
:
GetHandler
():
GetSummonType
()
return
st
>=
(
SUMMON_TYPE_SPECIAL
+
150
)
and
st
<
(
SUMMON_TYPE_SPECIAL
+
180
)
end
function
c80651316
.
atkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
c
:
IsFacedown
()
or
not
c
:
IsRelateToEffect
(
e
)
then
return
end
...
...
utility.lua
View file @
f67a7cb5
...
...
@@ -1348,6 +1348,16 @@ function Auxiliary.qlifilter(e,te)
return
false
end
end
--sp_summon condition for gladiator beast monsters
function
Auxiliary
.
gbspcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
st
=
e
:
GetHandler
():
GetSummonType
()
return
st
>=
(
SUMMON_TYPE_SPECIAL
+
100
)
and
st
<
(
SUMMON_TYPE_SPECIAL
+
150
)
end
--sp_summon condition for evolsaur monsters
function
Auxiliary
.
evospcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
st
=
e
:
GetHandler
():
GetSummonType
()
return
st
>=
(
SUMMON_TYPE_SPECIAL
+
150
)
and
st
<
(
SUMMON_TYPE_SPECIAL
+
180
)
end
--filter for necro_valley test
function
Auxiliary
.
NecroValleyFilter
(
f
)
return
function
(
target
,
...
)
...
...
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