Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-2pick
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-2pick
Commits
3fb19fcb
Commit
3fb19fcb
authored
Dec 06, 2014
by
独孤朲
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1013 from salix5/patch-qli
fix: qliphort
parents
aa80f67b
f8db16ec
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
73 additions
and
56 deletions
+73
-56
script/c13073850.lua
script/c13073850.lua
+9
-6
script/c20426907.lua
script/c20426907.lua
+6
-1
script/c27279764.lua
script/c27279764.lua
+2
-2
script/c37991342.lua
script/c37991342.lua
+9
-6
script/c40061558.lua
script/c40061558.lua
+11
-17
script/c64496451.lua
script/c64496451.lua
+9
-6
script/c87588741.lua
script/c87588741.lua
+9
-6
script/c90885155.lua
script/c90885155.lua
+9
-6
script/c91907707.lua
script/c91907707.lua
+9
-6
No files found.
script/c13073850.lua
View file @
3fb19fcb
...
@@ -126,13 +126,16 @@ function c13073850.immcon(e)
...
@@ -126,13 +126,16 @@ function c13073850.immcon(e)
return
bit
.
band
(
e
:
GetHandler
():
GetSummonType
(),
SUMMON_TYPE_NORMAL
)
==
SUMMON_TYPE_NORMAL
return
bit
.
band
(
e
:
GetHandler
():
GetSummonType
(),
SUMMON_TYPE_NORMAL
)
==
SUMMON_TYPE_NORMAL
end
end
function
c13073850
.
efilter
(
e
,
te
)
function
c13073850
.
efilter
(
e
,
te
)
if
not
te
:
IsActiveType
(
TYPE_MONSTER
)
or
not
te
:
IsHasType
(
0x7e0
)
then
return
false
end
if
te
:
IsActiveType
(
TYPE_MONSTER
)
and
(
te
:
IsHasType
(
0x7e0
)
or
te
:
IsHasProperty
(
EFFECT_FLAG_FIELD_ONLY
)
or
te
:
IsHasProperty
(
EFFECT_FLAG_OWNER_RELATE
))
then
local
tc
=
te
:
GetHandler
()
local
lv
=
e
:
GetHandler
():
GetLevel
()
local
lv
=
e
:
GetHandler
():
GetLevel
()
local
ec
=
te
:
GetOwner
()
if
te
:
IsActiveType
(
TYPE_XYZ
)
then
if
ec
:
IsType
(
TYPE_XYZ
)
then
return
tc
:
GetOriginalRank
()
<
lv
return
ec
:
GetOriginalRank
()
<
lv
else
return
ec
:
GetOriginalLevel
()
<
lv
end
end
end
return
tc
:
GetOriginalLevel
()
<
lv
return
false
end
end
function
c13073850
.
thcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c13073850
.
thcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_ADVANCE
and
e
:
GetLabel
()
==
1
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_ADVANCE
and
e
:
GetLabel
()
==
1
...
...
script/c20426907.lua
View file @
3fb19fcb
...
@@ -56,6 +56,7 @@ function c20426907.distg1(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -56,6 +56,7 @@ function c20426907.distg1(e,tp,eg,ep,ev,re,r,rp,chk)
e
:
SetLabel
(
1
)
e
:
SetLabel
(
1
)
Duel
.
SetTargetCard
(
teg
)
Duel
.
SetTargetCard
(
teg
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DISABLE
,
teg
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DISABLE
,
teg
,
1
,
0
,
0
)
e
:
GetHandler
():
RegisterFlagEffect
(
0
,
RESET_CHAIN
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
0
,
aux
.
Stringid
(
20426907
,
1
))
end
end
return
return
end
end
...
@@ -66,6 +67,7 @@ function c20426907.distg1(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -66,6 +67,7 @@ function c20426907.distg1(e,tp,eg,ep,ev,re,r,rp,chk)
e
:
SetLabel
(
2
)
e
:
SetLabel
(
2
)
Duel
.
SetTargetCard
(
g
)
Duel
.
SetTargetCard
(
g
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DISABLE
,
g
,
g
:
GetCount
(),
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DISABLE
,
g
,
g
:
GetCount
(),
0
,
0
)
e
:
GetHandler
():
RegisterFlagEffect
(
0
,
RESET_CHAIN
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
0
,
aux
.
Stringid
(
20426907
,
1
))
end
end
end
end
end
end
...
@@ -83,10 +85,13 @@ function c20426907.distg3(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -83,10 +85,13 @@ function c20426907.distg3(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SetTargetCard
(
g
)
Duel
.
SetTargetCard
(
g
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DISABLE
,
g
,
g
:
GetCount
(),
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DISABLE
,
g
,
g
:
GetCount
(),
0
,
0
)
end
end
function
c20426907
.
disfilter
(
c
,
e
)
return
c
:
IsFaceup
()
and
c
:
IsRelateToEffect
(
e
)
end
function
c20426907
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c20426907
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
c20426907
.
sdcon
(
e
)
then
return
end
if
c20426907
.
sdcon
(
e
)
then
return
end
if
e
:
GetLabel
()
==
0
or
not
e
:
GetHandler
():
IsRelateToEffect
(
e
)
then
return
end
if
e
:
GetLabel
()
==
0
or
not
e
:
GetHandler
():
IsRelateToEffect
(
e
)
then
return
end
local
g
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_CARDS
):
Filter
(
Card
.
IsRelateToEffect
,
nil
,
e
)
local
g
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_CARDS
):
Filter
(
c20426907
.
disfilter
,
nil
,
e
)
local
tc
=
g
:
GetFirst
()
local
tc
=
g
:
GetFirst
()
while
tc
do
while
tc
do
Duel
.
NegateRelatedChain
(
tc
,
RESET_TURN_SET
)
Duel
.
NegateRelatedChain
(
tc
,
RESET_TURN_SET
)
...
...
script/c27279764.lua
View file @
3fb19fcb
...
@@ -27,7 +27,7 @@ function c27279764.initial_effect(c)
...
@@ -27,7 +27,7 @@ function c27279764.initial_effect(c)
--immune
--immune
local
e5
=
Effect
.
CreateEffect
(
c
)
local
e5
=
Effect
.
CreateEffect
(
c
)
e5
:
SetType
(
EFFECT_TYPE_SINGLE
)
e5
:
SetType
(
EFFECT_TYPE_SINGLE
)
e5
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
+
EFFECT_FLAG_CANNOT_DISABLE
)
e5
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
e5
:
SetRange
(
LOCATION_MZONE
)
e5
:
SetRange
(
LOCATION_MZONE
)
e5
:
SetCode
(
EFFECT_IMMUNE_EFFECT
)
e5
:
SetCode
(
EFFECT_IMMUNE_EFFECT
)
e5
:
SetCondition
(
c27279764
.
immcon
)
e5
:
SetCondition
(
c27279764
.
immcon
)
...
@@ -72,7 +72,7 @@ function c27279764.immcon(e)
...
@@ -72,7 +72,7 @@ function c27279764.immcon(e)
end
end
function
c27279764
.
efilter
(
e
,
te
)
function
c27279764
.
efilter
(
e
,
te
)
if
te
:
IsActiveType
(
TYPE_SPELL
+
TYPE_TRAP
)
then
return
true
end
if
te
:
IsActiveType
(
TYPE_SPELL
+
TYPE_TRAP
)
then
return
true
end
if
te
:
IsActiveType
(
TYPE_MONSTER
)
and
(
te
:
IsHasType
(
0x7e0
)
or
te
:
GetHandlerPlayer
()
~=
PLAYER_NONE
or
te
:
IsHasProperty
(
EFFECT_FLAG_OWNER_RELATE
))
then
if
te
:
IsActiveType
(
TYPE_MONSTER
)
and
(
te
:
IsHasType
(
0x7e0
)
or
te
:
IsHasProperty
(
EFFECT_FLAG_FIELD_ONLY
)
or
te
:
IsHasProperty
(
EFFECT_FLAG_OWNER_RELATE
))
then
local
lv
=
e
:
GetHandler
():
GetLevel
()
local
lv
=
e
:
GetHandler
():
GetLevel
()
local
ec
=
te
:
GetOwner
()
local
ec
=
te
:
GetOwner
()
if
ec
:
IsType
(
TYPE_XYZ
)
then
if
ec
:
IsType
(
TYPE_XYZ
)
then
...
...
script/c37991342.lua
View file @
3fb19fcb
...
@@ -117,13 +117,16 @@ function c37991342.immcon(e)
...
@@ -117,13 +117,16 @@ function c37991342.immcon(e)
return
bit
.
band
(
e
:
GetHandler
():
GetSummonType
(),
SUMMON_TYPE_NORMAL
)
==
SUMMON_TYPE_NORMAL
return
bit
.
band
(
e
:
GetHandler
():
GetSummonType
(),
SUMMON_TYPE_NORMAL
)
==
SUMMON_TYPE_NORMAL
end
end
function
c37991342
.
efilter
(
e
,
te
)
function
c37991342
.
efilter
(
e
,
te
)
if
not
te
:
IsActiveType
(
TYPE_MONSTER
)
or
not
te
:
IsHasType
(
0x7e0
)
then
return
false
end
if
te
:
IsActiveType
(
TYPE_MONSTER
)
and
(
te
:
IsHasType
(
0x7e0
)
or
te
:
IsHasProperty
(
EFFECT_FLAG_FIELD_ONLY
)
or
te
:
IsHasProperty
(
EFFECT_FLAG_OWNER_RELATE
))
then
local
tc
=
te
:
GetHandler
()
local
lv
=
e
:
GetHandler
():
GetLevel
()
local
lv
=
e
:
GetHandler
():
GetLevel
()
local
ec
=
te
:
GetOwner
()
if
te
:
IsActiveType
(
TYPE_XYZ
)
then
if
ec
:
IsType
(
TYPE_XYZ
)
then
return
tc
:
GetOriginalRank
()
<
lv
return
ec
:
GetOriginalRank
()
<
lv
else
return
ec
:
GetOriginalLevel
()
<
lv
end
end
end
return
tc
:
GetOriginalLevel
()
<
lv
return
false
end
end
function
c37991342
.
desfilter
(
c
)
function
c37991342
.
desfilter
(
c
)
return
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
and
c
:
IsDestructable
()
return
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
and
c
:
IsDestructable
()
...
...
script/c40061558.lua
View file @
3fb19fcb
...
@@ -26,10 +26,12 @@ function c40061558.initial_effect(c)
...
@@ -26,10 +26,12 @@ function c40061558.initial_effect(c)
c
:
RegisterEffect
(
e4
)
c
:
RegisterEffect
(
e4
)
--immune
--immune
local
e5
=
Effect
.
CreateEffect
(
c
)
local
e5
=
Effect
.
CreateEffect
(
c
)
e5
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e5
:
SetType
(
EFFECT_TYPE_SINGLE
)
e5
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e5
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
e5
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e5
:
SetRange
(
LOCATION_MZONE
)
e5
:
SetOperation
(
c40061558
.
immop
)
e5
:
SetCode
(
EFFECT_IMMUNE_EFFECT
)
e5
:
SetCondition
(
c40061558
.
immcon
)
e5
:
SetValue
(
c40061558
.
efilter
)
c
:
RegisterEffect
(
e5
)
c
:
RegisterEffect
(
e5
)
--control
--control
local
e6
=
Effect
.
CreateEffect
(
c
)
local
e6
=
Effect
.
CreateEffect
(
c
)
...
@@ -54,23 +56,15 @@ function c40061558.ttop(e,tp,eg,ep,ev,re,r,rp,c)
...
@@ -54,23 +56,15 @@ function c40061558.ttop(e,tp,eg,ep,ev,re,r,rp,c)
c
:
SetMaterial
(
g
)
c
:
SetMaterial
(
g
)
Duel
.
Release
(
g
,
REASON_SUMMON
+
REASON_MATERIAL
)
Duel
.
Release
(
g
,
REASON_SUMMON
+
REASON_MATERIAL
)
end
end
function
c40061558
.
immop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c40061558
.
immcon
(
e
)
local
c
=
e
:
GetHandler
()
return
bit
.
band
(
e
:
GetHandler
():
GetSummonType
(),
SUMMON_TYPE_NORMAL
)
==
SUMMON_TYPE_NORMAL
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetCode
(
EFFECT_IMMUNE_EFFECT
)
e1
:
SetValue
(
c40061558
.
efilter
)
e1
:
SetReset
(
RESET_EVENT
+
0x1fe0000
)
c
:
RegisterEffect
(
e1
)
end
end
function
c40061558
.
efilter
(
e
,
te
)
function
c40061558
.
efilter
(
e
,
te
)
if
te
:
IsActiveType
(
TYPE_SPELL
+
TYPE_TRAP
)
then
return
true
end
if
te
:
IsActiveType
(
TYPE_SPELL
+
TYPE_TRAP
)
then
return
true
end
if
te
:
IsActiveType
(
TYPE_MONSTER
)
and
te
:
IsHasType
(
0x7e0
)
then
if
te
:
IsActiveType
(
TYPE_MONSTER
)
and
(
te
:
IsHasType
(
0x7e0
)
or
te
:
IsHasProperty
(
EFFECT_FLAG_FIELD_ONLY
)
or
te
:
IsHasProperty
(
EFFECT_FLAG_OWNER_RELATE
)
)
then
local
lv
=
e
:
GetHandler
():
GetLevel
()
local
lv
=
e
:
GetHandler
():
GetLevel
()
local
ec
=
te
:
Get
Handl
er
()
local
ec
=
te
:
Get
Own
er
()
if
te
:
IsActive
Type
(
TYPE_XYZ
)
then
if
ec
:
Is
Type
(
TYPE_XYZ
)
then
return
ec
:
GetOriginalRank
()
<
lv
return
ec
:
GetOriginalRank
()
<
lv
else
else
return
ec
:
GetOriginalLevel
()
<
lv
return
ec
:
GetOriginalLevel
()
<
lv
...
...
script/c64496451.lua
View file @
3fb19fcb
...
@@ -125,13 +125,16 @@ function c64496451.immcon(e)
...
@@ -125,13 +125,16 @@ function c64496451.immcon(e)
return
bit
.
band
(
e
:
GetHandler
():
GetSummonType
(),
SUMMON_TYPE_NORMAL
)
==
SUMMON_TYPE_NORMAL
return
bit
.
band
(
e
:
GetHandler
():
GetSummonType
(),
SUMMON_TYPE_NORMAL
)
==
SUMMON_TYPE_NORMAL
end
end
function
c64496451
.
efilter
(
e
,
te
)
function
c64496451
.
efilter
(
e
,
te
)
if
not
te
:
IsActiveType
(
TYPE_MONSTER
)
or
not
te
:
IsHasType
(
0x7e0
)
then
return
false
end
if
te
:
IsActiveType
(
TYPE_MONSTER
)
and
(
te
:
IsHasType
(
0x7e0
)
or
te
:
IsHasProperty
(
EFFECT_FLAG_FIELD_ONLY
)
or
te
:
IsHasProperty
(
EFFECT_FLAG_OWNER_RELATE
))
then
local
tc
=
te
:
GetHandler
()
local
lv
=
e
:
GetHandler
():
GetLevel
()
local
lv
=
e
:
GetHandler
():
GetLevel
()
local
ec
=
te
:
GetOwner
()
if
te
:
IsActiveType
(
TYPE_XYZ
)
then
if
ec
:
IsType
(
TYPE_XYZ
)
then
return
tc
:
GetOriginalRank
()
<
lv
return
ec
:
GetOriginalRank
()
<
lv
else
return
ec
:
GetOriginalLevel
()
<
lv
end
end
end
return
tc
:
GetOriginalLevel
()
<
lv
return
false
end
end
function
c64496451
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c64496451
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_ADVANCE
and
e
:
GetLabel
()
==
1
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_ADVANCE
and
e
:
GetLabel
()
==
1
...
...
script/c87588741.lua
View file @
3fb19fcb
...
@@ -125,13 +125,16 @@ function c87588741.immcon(e)
...
@@ -125,13 +125,16 @@ function c87588741.immcon(e)
return
bit
.
band
(
e
:
GetHandler
():
GetSummonType
(),
SUMMON_TYPE_NORMAL
)
==
SUMMON_TYPE_NORMAL
return
bit
.
band
(
e
:
GetHandler
():
GetSummonType
(),
SUMMON_TYPE_NORMAL
)
==
SUMMON_TYPE_NORMAL
end
end
function
c87588741
.
efilter
(
e
,
te
)
function
c87588741
.
efilter
(
e
,
te
)
if
not
te
:
IsActiveType
(
TYPE_MONSTER
)
or
not
te
:
IsHasType
(
0x7e0
)
then
return
false
end
if
te
:
IsActiveType
(
TYPE_MONSTER
)
and
(
te
:
IsHasType
(
0x7e0
)
or
te
:
IsHasProperty
(
EFFECT_FLAG_FIELD_ONLY
)
or
te
:
IsHasProperty
(
EFFECT_FLAG_OWNER_RELATE
))
then
local
tc
=
te
:
GetHandler
()
local
lv
=
e
:
GetHandler
():
GetLevel
()
local
lv
=
e
:
GetHandler
():
GetLevel
()
local
ec
=
te
:
GetOwner
()
if
te
:
IsActiveType
(
TYPE_XYZ
)
then
if
ec
:
IsType
(
TYPE_XYZ
)
then
return
tc
:
GetOriginalRank
()
<
lv
return
ec
:
GetOriginalRank
()
<
lv
else
return
ec
:
GetOriginalLevel
()
<
lv
end
end
end
return
tc
:
GetOriginalLevel
()
<
lv
return
false
end
end
function
c87588741
.
damcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c87588741
.
damcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_ADVANCE
and
e
:
GetLabel
()
==
1
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_ADVANCE
and
e
:
GetLabel
()
==
1
...
...
script/c90885155.lua
View file @
3fb19fcb
...
@@ -123,13 +123,16 @@ function c90885155.immcon(e)
...
@@ -123,13 +123,16 @@ function c90885155.immcon(e)
return
bit
.
band
(
e
:
GetHandler
():
GetSummonType
(),
SUMMON_TYPE_NORMAL
)
==
SUMMON_TYPE_NORMAL
return
bit
.
band
(
e
:
GetHandler
():
GetSummonType
(),
SUMMON_TYPE_NORMAL
)
==
SUMMON_TYPE_NORMAL
end
end
function
c90885155
.
efilter
(
e
,
te
)
function
c90885155
.
efilter
(
e
,
te
)
if
not
te
:
IsActiveType
(
TYPE_MONSTER
)
or
not
te
:
IsHasType
(
0x7e0
)
then
return
false
end
if
te
:
IsActiveType
(
TYPE_MONSTER
)
and
(
te
:
IsHasType
(
0x7e0
)
or
te
:
IsHasProperty
(
EFFECT_FLAG_FIELD_ONLY
)
or
te
:
IsHasProperty
(
EFFECT_FLAG_OWNER_RELATE
))
then
local
tc
=
te
:
GetHandler
()
local
lv
=
e
:
GetHandler
():
GetLevel
()
local
lv
=
e
:
GetHandler
():
GetLevel
()
local
ec
=
te
:
GetOwner
()
if
te
:
IsActiveType
(
TYPE_XYZ
)
then
if
ec
:
IsType
(
TYPE_XYZ
)
then
return
tc
:
GetOriginalRank
()
<
lv
return
ec
:
GetOriginalRank
()
<
lv
else
return
ec
:
GetOriginalLevel
()
<
lv
end
end
end
return
tc
:
GetOriginalLevel
()
<
lv
return
false
end
end
function
c90885155
.
effcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c90885155
.
effcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_ADVANCE
and
e
:
GetLabel
()
==
1
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_ADVANCE
and
e
:
GetLabel
()
==
1
...
...
script/c91907707.lua
View file @
3fb19fcb
...
@@ -118,13 +118,16 @@ function c91907707.immcon(e)
...
@@ -118,13 +118,16 @@ function c91907707.immcon(e)
return
bit
.
band
(
e
:
GetHandler
():
GetSummonType
(),
SUMMON_TYPE_NORMAL
)
==
SUMMON_TYPE_NORMAL
return
bit
.
band
(
e
:
GetHandler
():
GetSummonType
(),
SUMMON_TYPE_NORMAL
)
==
SUMMON_TYPE_NORMAL
end
end
function
c91907707
.
efilter
(
e
,
te
)
function
c91907707
.
efilter
(
e
,
te
)
if
not
te
:
IsActiveType
(
TYPE_MONSTER
)
or
not
te
:
IsHasType
(
0x7e0
)
then
return
false
end
if
te
:
IsActiveType
(
TYPE_MONSTER
)
and
(
te
:
IsHasType
(
0x7e0
)
or
te
:
IsHasProperty
(
EFFECT_FLAG_FIELD_ONLY
)
or
te
:
IsHasProperty
(
EFFECT_FLAG_OWNER_RELATE
))
then
local
tc
=
te
:
GetHandler
()
local
lv
=
e
:
GetHandler
():
GetLevel
()
local
lv
=
e
:
GetHandler
():
GetLevel
()
local
ec
=
te
:
GetOwner
()
if
te
:
IsActiveType
(
TYPE_XYZ
)
then
if
ec
:
IsType
(
TYPE_XYZ
)
then
return
tc
:
GetOriginalRank
()
<
lv
return
ec
:
GetOriginalRank
()
<
lv
else
return
ec
:
GetOriginalLevel
()
<
lv
end
end
end
return
tc
:
GetOriginalLevel
()
<
lv
return
false
end
end
function
c91907707
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c91907707
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsAbleToHand
()
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsAbleToHand
()
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