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
5854ab7d
Commit
5854ab7d
authored
Apr 22, 2016
by
salix5
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
non-trap monster
parent
3bd3081c
Changes
14
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
85 additions
and
82 deletions
+85
-82
c1154611.lua
c1154611.lua
+6
-6
c2376209.lua
c2376209.lua
+6
-6
c24212820.lua
c24212820.lua
+6
-5
c24903843.lua
c24903843.lua
+6
-6
c33622465.lua
c33622465.lua
+6
-5
c35035481.lua
c35035481.lua
+5
-5
c38761908.lua
c38761908.lua
+6
-6
c51606429.lua
c51606429.lua
+5
-5
c54241725.lua
c54241725.lua
+5
-5
c61420130.lua
c61420130.lua
+5
-5
c64765016.lua
c64765016.lua
+5
-5
c77462146.lua
c77462146.lua
+13
-12
c98414735.lua
c98414735.lua
+6
-6
c98827725.lua
c98827725.lua
+5
-5
No files found.
c1154611.lua
View file @
5854ab7d
...
@@ -47,17 +47,16 @@ end
...
@@ -47,17 +47,16 @@ end
function
c1154611
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c1154611
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
return
end
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
return
end
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
c
:
IsRelateToEffect
(
e
)
if
c
:
IsRelateToEffect
(
e
)
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
1154611
,
0xd4
,
0x11
,
1200
,
0
,
2
,
RACE_AQUA
,
ATTRIBUTE_WATER
)
then
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
1154611
,
0xd4
,
0x11
,
1200
,
0
,
2
,
RACE_AQUA
,
ATTRIBUTE_WATER
)
then
c
:
AddMonsterAttribute
(
0
,
0
,
0
,
0
,
0
)
c
:
SetStatus
(
STATUS_NO_LEVEL
,
false
)
Duel
.
SpecialSummonStep
(
c
,
0
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_CHANGE_TYPE
)
e1
:
SetCode
(
EFFECT_CHANGE_TYPE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e1
:
SetValue
(
TYPE_NORMAL
+
TYPE_MONSTER
)
e1
:
SetValue
(
TYPE_NORMAL
+
TYPE_MONSTER
)
e1
:
SetReset
(
RESET_EVENT
+
0x
c7
c0000
)
e1
:
SetReset
(
RESET_EVENT
+
0x
1f
c0000
)
c
:
RegisterEffect
(
e1
,
true
)
c
:
RegisterEffect
(
e1
,
true
)
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetCode
(
EFFECT_IMMUNE_EFFECT
)
e2
:
SetCode
(
EFFECT_IMMUNE_EFFECT
)
...
@@ -65,7 +64,7 @@ function c1154611.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -65,7 +64,7 @@ function c1154611.spop(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetValue
(
c1154611
.
efilter
)
e2
:
SetValue
(
c1154611
.
efilter
)
e2
:
SetReset
(
RESET_EVENT
+
0x1fe0000
)
e2
:
SetReset
(
RESET_EVENT
+
0x1fe0000
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
,
true
)
local
e3
=
Effect
.
CreateEffect
(
c
)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
)
e3
:
SetCode
(
EFFECT_LEAVE_FIELD_REDIRECT
)
e3
:
SetCode
(
EFFECT_LEAVE_FIELD_REDIRECT
)
...
@@ -73,6 +72,7 @@ function c1154611.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -73,6 +72,7 @@ function c1154611.spop(e,tp,eg,ep,ev,re,r,rp)
e3
:
SetReset
(
RESET_EVENT
+
0x47e0000
)
e3
:
SetReset
(
RESET_EVENT
+
0x47e0000
)
e3
:
SetValue
(
LOCATION_REMOVED
)
e3
:
SetValue
(
LOCATION_REMOVED
)
c
:
RegisterEffect
(
e3
,
true
)
c
:
RegisterEffect
(
e3
,
true
)
Duel
.
SpecialSummonComplete
()
end
end
end
end
function
c1154611
.
efilter
(
e
,
re
)
function
c1154611
.
efilter
(
e
,
re
)
...
...
c2376209.lua
View file @
5854ab7d
...
@@ -58,17 +58,16 @@ end
...
@@ -58,17 +58,16 @@ end
function
c2376209
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c2376209
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
return
end
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
return
end
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
c
:
IsRelateToEffect
(
e
)
if
c
:
IsRelateToEffect
(
e
)
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
2376209
,
0xd4
,
0x11
,
1200
,
0
,
2
,
RACE_AQUA
,
ATTRIBUTE_WATER
)
then
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
2376209
,
0xd4
,
0x11
,
1200
,
0
,
2
,
RACE_AQUA
,
ATTRIBUTE_WATER
)
then
c
:
AddMonsterAttribute
(
0
,
0
,
0
,
0
,
0
)
c
:
SetStatus
(
STATUS_NO_LEVEL
,
false
)
Duel
.
SpecialSummonStep
(
c
,
0
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_CHANGE_TYPE
)
e1
:
SetCode
(
EFFECT_CHANGE_TYPE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e1
:
SetValue
(
TYPE_NORMAL
+
TYPE_MONSTER
)
e1
:
SetValue
(
TYPE_NORMAL
+
TYPE_MONSTER
)
e1
:
SetReset
(
RESET_EVENT
+
0x
c7
c0000
)
e1
:
SetReset
(
RESET_EVENT
+
0x
1f
c0000
)
c
:
RegisterEffect
(
e1
,
true
)
c
:
RegisterEffect
(
e1
,
true
)
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetCode
(
EFFECT_IMMUNE_EFFECT
)
e2
:
SetCode
(
EFFECT_IMMUNE_EFFECT
)
...
@@ -76,7 +75,7 @@ function c2376209.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -76,7 +75,7 @@ function c2376209.spop(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetValue
(
c2376209
.
efilter
)
e2
:
SetValue
(
c2376209
.
efilter
)
e2
:
SetReset
(
RESET_EVENT
+
0x1fe0000
)
e2
:
SetReset
(
RESET_EVENT
+
0x1fe0000
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
,
true
)
local
e3
=
Effect
.
CreateEffect
(
c
)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
)
e3
:
SetCode
(
EFFECT_LEAVE_FIELD_REDIRECT
)
e3
:
SetCode
(
EFFECT_LEAVE_FIELD_REDIRECT
)
...
@@ -84,6 +83,7 @@ function c2376209.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -84,6 +83,7 @@ function c2376209.spop(e,tp,eg,ep,ev,re,r,rp)
e3
:
SetReset
(
RESET_EVENT
+
0x47e0000
)
e3
:
SetReset
(
RESET_EVENT
+
0x47e0000
)
e3
:
SetValue
(
LOCATION_REMOVED
)
e3
:
SetValue
(
LOCATION_REMOVED
)
c
:
RegisterEffect
(
e3
,
true
)
c
:
RegisterEffect
(
e3
,
true
)
Duel
.
SpecialSummonComplete
()
end
end
end
end
function
c2376209
.
efilter
(
e
,
re
)
function
c2376209
.
efilter
(
e
,
re
)
...
...
c24212820.lua
View file @
5854ab7d
...
@@ -55,17 +55,17 @@ end
...
@@ -55,17 +55,17 @@ end
function
c24212820
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c24212820
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
return
end
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
return
end
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
c
:
IsRelateToEffect
(
e
)
if
c
:
IsRelateToEffect
(
e
)
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
24212820
,
0x10db
,
0x21
,
4
,
300
,
600
,
RACE_WARRIOR
,
ATTRIBUTE_DARK
)
then
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
24212820
,
0x10db
,
0x21
,
4
,
300
,
600
,
RACE_WARRIOR
,
ATTRIBUTE_DARK
)
then
c
:
AddMonsterAttribute
(
0
,
0
,
0
,
0
,
0
)
c
:
SetStatus
(
STATUS_NO_LEVEL
,
false
)
Duel
.
SpecialSummonStep
(
c
,
1
,
tp
,
tp
,
true
,
false
,
POS_FACEUP_DEFENCE
)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_CHANGE_TYPE
)
e1
:
SetCode
(
EFFECT_CHANGE_TYPE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e1
:
SetValue
(
TYPE_EFFECT
+
TYPE_MONSTER
)
e1
:
SetValue
(
TYPE_EFFECT
+
TYPE_MONSTER
)
e1
:
SetReset
(
RESET_EVENT
+
0x
c7
c0000
)
e1
:
SetReset
(
RESET_EVENT
+
0x
1f
c0000
)
c
:
RegisterEffect
(
e1
,
true
)
c
:
RegisterEffect
(
e1
,
true
)
Duel
.
SpecialSummon
(
c
,
1
,
tp
,
tp
,
true
,
false
,
POS_FACEUP_DEFENCE
)
--redirect
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetCode
(
EFFECT_LEAVE_FIELD_REDIRECT
)
e2
:
SetCode
(
EFFECT_LEAVE_FIELD_REDIRECT
)
...
@@ -73,6 +73,7 @@ function c24212820.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -73,6 +73,7 @@ function c24212820.spop(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetReset
(
RESET_EVENT
+
0x47e0000
)
e2
:
SetReset
(
RESET_EVENT
+
0x47e0000
)
e2
:
SetValue
(
LOCATION_REMOVED
)
e2
:
SetValue
(
LOCATION_REMOVED
)
c
:
RegisterEffect
(
e2
,
true
)
c
:
RegisterEffect
(
e2
,
true
)
Duel
.
SpecialSummonComplete
()
end
end
end
end
function
c24212820
.
defcon
(
e
)
function
c24212820
.
defcon
(
e
)
...
...
c24903843.lua
View file @
5854ab7d
...
@@ -46,17 +46,16 @@ end
...
@@ -46,17 +46,16 @@ end
function
c24903843
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c24903843
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
return
end
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
return
end
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
c
:
IsRelateToEffect
(
e
)
if
c
:
IsRelateToEffect
(
e
)
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
24903843
,
0xd4
,
0x11
,
1200
,
0
,
2
,
RACE_AQUA
,
ATTRIBUTE_WATER
)
then
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
24903843
,
0xd4
,
0x11
,
1200
,
0
,
2
,
RACE_AQUA
,
ATTRIBUTE_WATER
)
then
c
:
AddMonsterAttribute
(
0
,
0
,
0
,
0
,
0
)
c
:
SetStatus
(
STATUS_NO_LEVEL
,
false
)
Duel
.
SpecialSummonStep
(
c
,
0
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_CHANGE_TYPE
)
e1
:
SetCode
(
EFFECT_CHANGE_TYPE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e1
:
SetValue
(
TYPE_NORMAL
+
TYPE_MONSTER
)
e1
:
SetValue
(
TYPE_NORMAL
+
TYPE_MONSTER
)
e1
:
SetReset
(
RESET_EVENT
+
0x
c7
c0000
)
e1
:
SetReset
(
RESET_EVENT
+
0x
1f
c0000
)
c
:
RegisterEffect
(
e1
,
true
)
c
:
RegisterEffect
(
e1
,
true
)
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetCode
(
EFFECT_IMMUNE_EFFECT
)
e2
:
SetCode
(
EFFECT_IMMUNE_EFFECT
)
...
@@ -64,7 +63,7 @@ function c24903843.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -64,7 +63,7 @@ function c24903843.spop(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetValue
(
c24903843
.
efilter
)
e2
:
SetValue
(
c24903843
.
efilter
)
e2
:
SetReset
(
RESET_EVENT
+
0x1fe0000
)
e2
:
SetReset
(
RESET_EVENT
+
0x1fe0000
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
,
true
)
local
e3
=
Effect
.
CreateEffect
(
c
)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
)
e3
:
SetCode
(
EFFECT_LEAVE_FIELD_REDIRECT
)
e3
:
SetCode
(
EFFECT_LEAVE_FIELD_REDIRECT
)
...
@@ -72,6 +71,7 @@ function c24903843.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -72,6 +71,7 @@ function c24903843.spop(e,tp,eg,ep,ev,re,r,rp)
e3
:
SetReset
(
RESET_EVENT
+
0x47e0000
)
e3
:
SetReset
(
RESET_EVENT
+
0x47e0000
)
e3
:
SetValue
(
LOCATION_REMOVED
)
e3
:
SetValue
(
LOCATION_REMOVED
)
c
:
RegisterEffect
(
e3
,
true
)
c
:
RegisterEffect
(
e3
,
true
)
Duel
.
SpecialSummonComplete
()
end
end
end
end
function
c24903843
.
efilter
(
e
,
re
)
function
c24903843
.
efilter
(
e
,
re
)
...
...
c33622465.lua
View file @
5854ab7d
...
@@ -53,17 +53,17 @@ end
...
@@ -53,17 +53,17 @@ end
function
c33622465
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c33622465
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
return
end
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
return
end
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
c
:
IsRelateToEffect
(
e
)
if
c
:
IsRelateToEffect
(
e
)
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
33622465
,
0
,
0x11
,
3
,
1200
,
400
,
RACE_WARRIOR
,
ATTRIBUTE_EARTH
)
then
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
33622465
,
0
,
0x11
,
3
,
1200
,
400
,
RACE_WARRIOR
,
ATTRIBUTE_EARTH
)
then
c
:
AddMonsterAttribute
(
0
,
0
,
0
,
0
,
0
)
c
:
SetStatus
(
STATUS_NO_LEVEL
,
false
)
Duel
.
SpecialSummonStep
(
c
,
0
,
tp
,
tp
,
true
,
false
,
POS_FACEUP_DEFENCE
)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_CHANGE_TYPE
)
e1
:
SetCode
(
EFFECT_CHANGE_TYPE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e1
:
SetValue
(
TYPE_NORMAL
+
TYPE_MONSTER
)
e1
:
SetValue
(
TYPE_NORMAL
+
TYPE_MONSTER
)
e1
:
SetReset
(
RESET_EVENT
+
0x
47
c0000
)
e1
:
SetReset
(
RESET_EVENT
+
0x
1f
c0000
)
c
:
RegisterEffect
(
e1
,
true
)
c
:
RegisterEffect
(
e1
,
true
)
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
true
,
false
,
POS_FACEUP_DEFENCE
)
--redirect
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetCode
(
EFFECT_LEAVE_FIELD_REDIRECT
)
e2
:
SetCode
(
EFFECT_LEAVE_FIELD_REDIRECT
)
...
@@ -71,5 +71,6 @@ function c33622465.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -71,5 +71,6 @@ function c33622465.spop(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetReset
(
RESET_EVENT
+
0x47e0000
)
e2
:
SetReset
(
RESET_EVENT
+
0x47e0000
)
e2
:
SetValue
(
LOCATION_REMOVED
)
e2
:
SetValue
(
LOCATION_REMOVED
)
c
:
RegisterEffect
(
e2
,
true
)
c
:
RegisterEffect
(
e2
,
true
)
Duel
.
SpecialSummonComplete
()
end
end
end
end
c35035481.lua
View file @
5854ab7d
...
@@ -49,17 +49,16 @@ end
...
@@ -49,17 +49,16 @@ end
function
c35035481
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c35035481
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
return
end
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
return
end
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
c
:
IsRelateToEffect
(
e
)
if
c
:
IsRelateToEffect
(
e
)
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
35035481
,
0xd4
,
0x11
,
1200
,
0
,
2
,
RACE_AQUA
,
ATTRIBUTE_WATER
)
then
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
35035481
,
0xd4
,
0x11
,
1200
,
0
,
2
,
RACE_AQUA
,
ATTRIBUTE_WATER
)
then
c
:
AddMonsterAttribute
(
0
,
0
,
0
,
0
,
0
)
c
:
SetStatus
(
STATUS_NO_LEVEL
,
false
)
Duel
.
SpecialSummonStep
(
c
,
0
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_CHANGE_TYPE
)
e1
:
SetCode
(
EFFECT_CHANGE_TYPE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e1
:
SetValue
(
TYPE_NORMAL
+
TYPE_MONSTER
)
e1
:
SetValue
(
TYPE_NORMAL
+
TYPE_MONSTER
)
e1
:
SetReset
(
RESET_EVENT
+
0x
c7
c0000
)
e1
:
SetReset
(
RESET_EVENT
+
0x
1f
c0000
)
c
:
RegisterEffect
(
e1
,
true
)
c
:
RegisterEffect
(
e1
,
true
)
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetCode
(
EFFECT_IMMUNE_EFFECT
)
e2
:
SetCode
(
EFFECT_IMMUNE_EFFECT
)
...
@@ -75,6 +74,7 @@ function c35035481.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -75,6 +74,7 @@ function c35035481.spop(e,tp,eg,ep,ev,re,r,rp)
e3
:
SetReset
(
RESET_EVENT
+
0x47e0000
)
e3
:
SetReset
(
RESET_EVENT
+
0x47e0000
)
e3
:
SetValue
(
LOCATION_REMOVED
)
e3
:
SetValue
(
LOCATION_REMOVED
)
c
:
RegisterEffect
(
e3
,
true
)
c
:
RegisterEffect
(
e3
,
true
)
Duel
.
SpecialSummonComplete
()
end
end
end
end
function
c35035481
.
efilter
(
e
,
re
)
function
c35035481
.
efilter
(
e
,
re
)
...
...
c38761908.lua
View file @
5854ab7d
...
@@ -55,17 +55,16 @@ end
...
@@ -55,17 +55,16 @@ end
function
c38761908
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c38761908
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
return
end
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
return
end
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
c
:
IsRelateToEffect
(
e
)
if
c
:
IsRelateToEffect
(
e
)
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
38761908
,
0xd4
,
0x11
,
1200
,
0
,
2
,
RACE_AQUA
,
ATTRIBUTE_WATER
)
then
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
38761908
,
0xd4
,
0x11
,
1200
,
0
,
2
,
RACE_AQUA
,
ATTRIBUTE_WATER
)
then
c
:
AddMonsterAttribute
(
0
,
0
,
0
,
0
,
0
)
c
:
SetStatus
(
STATUS_NO_LEVEL
,
false
)
Duel
.
SpecialSummonStep
(
c
,
0
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_CHANGE_TYPE
)
e1
:
SetCode
(
EFFECT_CHANGE_TYPE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e1
:
SetValue
(
TYPE_NORMAL
+
TYPE_MONSTER
)
e1
:
SetValue
(
TYPE_NORMAL
+
TYPE_MONSTER
)
e1
:
SetReset
(
RESET_EVENT
+
0x
c7
c0000
)
e1
:
SetReset
(
RESET_EVENT
+
0x
1f
c0000
)
c
:
RegisterEffect
(
e1
,
true
)
c
:
RegisterEffect
(
e1
,
true
)
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetCode
(
EFFECT_IMMUNE_EFFECT
)
e2
:
SetCode
(
EFFECT_IMMUNE_EFFECT
)
...
@@ -73,7 +72,7 @@ function c38761908.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -73,7 +72,7 @@ function c38761908.spop(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetValue
(
c38761908
.
efilter
)
e2
:
SetValue
(
c38761908
.
efilter
)
e2
:
SetReset
(
RESET_EVENT
+
0x1fe0000
)
e2
:
SetReset
(
RESET_EVENT
+
0x1fe0000
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
,
true
)
local
e3
=
Effect
.
CreateEffect
(
c
)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
)
e3
:
SetCode
(
EFFECT_LEAVE_FIELD_REDIRECT
)
e3
:
SetCode
(
EFFECT_LEAVE_FIELD_REDIRECT
)
...
@@ -81,6 +80,7 @@ function c38761908.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -81,6 +80,7 @@ function c38761908.spop(e,tp,eg,ep,ev,re,r,rp)
e3
:
SetReset
(
RESET_EVENT
+
0x47e0000
)
e3
:
SetReset
(
RESET_EVENT
+
0x47e0000
)
e3
:
SetValue
(
LOCATION_REMOVED
)
e3
:
SetValue
(
LOCATION_REMOVED
)
c
:
RegisterEffect
(
e3
,
true
)
c
:
RegisterEffect
(
e3
,
true
)
Duel
.
SpecialSummonComplete
()
end
end
end
end
function
c38761908
.
efilter
(
e
,
re
)
function
c38761908
.
efilter
(
e
,
re
)
...
...
c51606429.lua
View file @
5854ab7d
...
@@ -30,17 +30,17 @@ end
...
@@ -30,17 +30,17 @@ end
function
c51606429
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c51606429
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
return
end
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
return
end
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
c
:
IsRelateToEffect
(
e
)
if
c
:
IsRelateToEffect
(
e
)
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
51606429
,
0x10db
,
0x11
,
3
,
0
,
0
,
RACE_WARRIOR
,
ATTRIBUTE_DARK
)
then
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
51606429
,
0x10db
,
0x11
,
3
,
0
,
0
,
RACE_WARRIOR
,
ATTRIBUTE_DARK
)
then
c
:
AddMonsterAttribute
(
0
,
0
,
0
,
0
,
0
)
c
:
SetStatus
(
STATUS_NO_LEVEL
,
false
)
Duel
.
SpecialSummonStep
(
c
,
0
,
tp
,
tp
,
true
,
false
,
POS_FACEUP_ATTACK
)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_CHANGE_TYPE
)
e1
:
SetCode
(
EFFECT_CHANGE_TYPE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e1
:
SetValue
(
TYPE_NORMAL
+
TYPE_MONSTER
)
e1
:
SetValue
(
TYPE_NORMAL
+
TYPE_MONSTER
)
e1
:
SetReset
(
RESET_EVENT
+
0x
47
c0000
)
e1
:
SetReset
(
RESET_EVENT
+
0x
1f
c0000
)
c
:
RegisterEffect
(
e1
,
true
)
c
:
RegisterEffect
(
e1
,
true
)
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
true
,
false
,
POS_FACEUP_ATTACK
)
Duel
.
SpecialSummon
Complete
(
)
end
end
end
end
function
c51606429
.
negcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c51606429
.
negcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
c54241725.lua
View file @
5854ab7d
...
@@ -91,16 +91,16 @@ end
...
@@ -91,16 +91,16 @@ end
function
c54241725
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c54241725
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
return
end
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
return
end
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
c
:
IsRelateToEffect
(
e
)
if
c
:
IsRelateToEffect
(
e
)
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
54241725
,
0
,
0x11
,
5
,
1000
,
2400
,
RACE_FAIRY
,
ATTRIBUTE_LIGHT
)
then
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
54241725
,
0
,
0x11
,
5
,
1000
,
2400
,
RACE_FAIRY
,
ATTRIBUTE_LIGHT
)
then
c
:
AddMonsterAttribute
(
0
,
0
,
0
,
0
,
0
)
c
:
SetStatus
(
STATUS_NO_LEVEL
,
false
)
Duel
.
SpecialSummonStep
(
c
,
0
,
tp
,
tp
,
true
,
false
,
POS_FACEUP_DEFENCE
)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_CHANGE_TYPE
)
e1
:
SetCode
(
EFFECT_CHANGE_TYPE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e1
:
SetValue
(
TYPE_NORMAL
+
TYPE_MONSTER
)
e1
:
SetValue
(
TYPE_NORMAL
+
TYPE_MONSTER
)
e1
:
SetReset
(
RESET_EVENT
+
0x
c7
c0000
)
e1
:
SetReset
(
RESET_EVENT
+
0x
1f
c0000
)
c
:
RegisterEffect
(
e1
,
true
)
c
:
RegisterEffect
(
e1
,
true
)
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
true
,
false
,
POS_FACEUP_DEFENCE
)
Duel
.
SpecialSummon
Complete
(
)
end
end
end
end
c61420130.lua
View file @
5854ab7d
...
@@ -61,17 +61,16 @@ end
...
@@ -61,17 +61,16 @@ end
function
c61420130
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c61420130
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
return
end
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
return
end
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
c
:
IsRelateToEffect
(
e
)
if
c
:
IsRelateToEffect
(
e
)
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
61420130
,
0xd4
,
0x11
,
1200
,
0
,
2
,
RACE_AQUA
,
ATTRIBUTE_WATER
)
then
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
61420130
,
0xd4
,
0x11
,
1200
,
0
,
2
,
RACE_AQUA
,
ATTRIBUTE_WATER
)
then
c
:
AddMonsterAttribute
(
0
,
0
,
0
,
0
,
0
)
c
:
SetStatus
(
STATUS_NO_LEVEL
,
false
)
Duel
.
SpecialSummonStep
(
c
,
0
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_CHANGE_TYPE
)
e1
:
SetCode
(
EFFECT_CHANGE_TYPE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e1
:
SetValue
(
TYPE_NORMAL
+
TYPE_MONSTER
)
e1
:
SetValue
(
TYPE_NORMAL
+
TYPE_MONSTER
)
e1
:
SetReset
(
RESET_EVENT
+
0x
c7
c0000
)
e1
:
SetReset
(
RESET_EVENT
+
0x
1f
c0000
)
c
:
RegisterEffect
(
e1
,
true
)
c
:
RegisterEffect
(
e1
,
true
)
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetCode
(
EFFECT_IMMUNE_EFFECT
)
e2
:
SetCode
(
EFFECT_IMMUNE_EFFECT
)
...
@@ -87,6 +86,7 @@ function c61420130.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -87,6 +86,7 @@ function c61420130.spop(e,tp,eg,ep,ev,re,r,rp)
e3
:
SetReset
(
RESET_EVENT
+
0x47e0000
)
e3
:
SetReset
(
RESET_EVENT
+
0x47e0000
)
e3
:
SetValue
(
LOCATION_REMOVED
)
e3
:
SetValue
(
LOCATION_REMOVED
)
c
:
RegisterEffect
(
e3
,
true
)
c
:
RegisterEffect
(
e3
,
true
)
Duel
.
SpecialSummonComplete
()
end
end
end
end
function
c61420130
.
efilter
(
e
,
re
)
function
c61420130
.
efilter
(
e
,
re
)
...
...
c64765016.lua
View file @
5854ab7d
...
@@ -47,17 +47,16 @@ end
...
@@ -47,17 +47,16 @@ end
function
c64765016
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c64765016
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
return
end
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
return
end
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
c
:
IsRelateToEffect
(
e
)
if
c
:
IsRelateToEffect
(
e
)
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
64765016
,
0xd4
,
0x11
,
1200
,
0
,
2
,
RACE_AQUA
,
ATTRIBUTE_WATER
)
then
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
64765016
,
0xd4
,
0x11
,
1200
,
0
,
2
,
RACE_AQUA
,
ATTRIBUTE_WATER
)
then
c
:
AddMonsterAttribute
(
0
,
0
,
0
,
0
,
0
)
c
:
SetStatus
(
STATUS_NO_LEVEL
,
false
)
Duel
.
SpecialSummonStep
(
c
,
0
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_CHANGE_TYPE
)
e1
:
SetCode
(
EFFECT_CHANGE_TYPE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e1
:
SetValue
(
TYPE_NORMAL
+
TYPE_MONSTER
)
e1
:
SetValue
(
TYPE_NORMAL
+
TYPE_MONSTER
)
e1
:
SetReset
(
RESET_EVENT
+
0x
c7
c0000
)
e1
:
SetReset
(
RESET_EVENT
+
0x
1f
c0000
)
c
:
RegisterEffect
(
e1
,
true
)
c
:
RegisterEffect
(
e1
,
true
)
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetCode
(
EFFECT_IMMUNE_EFFECT
)
e2
:
SetCode
(
EFFECT_IMMUNE_EFFECT
)
...
@@ -73,6 +72,7 @@ function c64765016.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -73,6 +72,7 @@ function c64765016.spop(e,tp,eg,ep,ev,re,r,rp)
e3
:
SetReset
(
RESET_EVENT
+
0x47e0000
)
e3
:
SetReset
(
RESET_EVENT
+
0x47e0000
)
e3
:
SetValue
(
LOCATION_REMOVED
)
e3
:
SetValue
(
LOCATION_REMOVED
)
c
:
RegisterEffect
(
e3
,
true
)
c
:
RegisterEffect
(
e3
,
true
)
Duel
.
SpecialSummonComplete
()
end
end
end
end
function
c64765016
.
efilter
(
e
,
re
)
function
c64765016
.
efilter
(
e
,
re
)
...
...
c77462146.lua
View file @
5854ab7d
...
@@ -57,23 +57,24 @@ end
...
@@ -57,23 +57,24 @@ end
function
c77462146
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c77462146
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
return
end
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
return
end
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
c
:
IsRelateToEffect
(
e
)
if
c
:
IsRelateToEffect
(
e
)
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
77462146
,
0x10db
,
0x11
,
4
,
0
,
300
,
RACE_WARRIOR
,
ATTRIBUTE_DARK
)
then
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
77462146
,
0x10db
,
0x11
,
4
,
0
,
300
,
RACE_WARRIOR
,
ATTRIBUTE_DARK
)
then
c
:
AddMonsterAttribute
(
0
,
0
,
0
,
0
,
0
)
c
:
SetStatus
(
STATUS_NO_LEVEL
,
false
)
Duel
.
SpecialSummonStep
(
c
,
0
,
tp
,
tp
,
true
,
false
,
POS_FACEUP_DEFENCE
)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_CHANGE_TYPE
)
e1
:
SetCode
(
EFFECT_CHANGE_TYPE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e1
:
SetValue
(
TYPE_NORMAL
+
TYPE_MONSTER
)
e1
:
SetValue
(
TYPE_NORMAL
+
TYPE_MONSTER
)
e1
:
SetReset
(
RESET_EVENT
+
0x
c7
c0000
)
e1
:
SetReset
(
RESET_EVENT
+
0x
1f
c0000
)
c
:
RegisterEffect
(
e1
,
true
)
c
:
RegisterEffect
(
e1
,
true
)
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
true
,
false
,
POS_FACEUP_DEFENCE
)
--redirect
local
e7
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e7
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e7
:
SetCode
(
EFFECT_LEAVE_FIELD_REDIRECT
)
e2
:
SetCode
(
EFFECT_LEAVE_FIELD_REDIRECT
)
e7
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e2
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e7
:
SetReset
(
RESET_EVENT
+
0x47e0000
)
e2
:
SetReset
(
RESET_EVENT
+
0x47e0000
)
e7
:
SetValue
(
LOCATION_REMOVED
)
e2
:
SetValue
(
LOCATION_REMOVED
)
c
:
RegisterEffect
(
e7
,
true
)
c
:
RegisterEffect
(
e2
,
true
)
Duel
.
SpecialSummonComplete
()
end
end
end
end
c98414735.lua
View file @
5854ab7d
...
@@ -50,17 +50,16 @@ end
...
@@ -50,17 +50,16 @@ end
function
c98414735
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c98414735
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
return
end
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
return
end
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
c
:
IsRelateToEffect
(
e
)
if
c
:
IsRelateToEffect
(
e
)
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
98414735
,
0xd4
,
0x11
,
1200
,
0
,
2
,
RACE_AQUA
,
ATTRIBUTE_WATER
)
then
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
98414735
,
0xd4
,
0x11
,
1200
,
0
,
2
,
RACE_AQUA
,
ATTRIBUTE_WATER
)
then
c
:
AddMonsterAttribute
(
0
,
0
,
0
,
0
,
0
)
c
:
SetStatus
(
STATUS_NO_LEVEL
,
false
)
Duel
.
SpecialSummonStep
(
c
,
0
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_CHANGE_TYPE
)
e1
:
SetCode
(
EFFECT_CHANGE_TYPE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e1
:
SetValue
(
TYPE_NORMAL
+
TYPE_MONSTER
)
e1
:
SetValue
(
TYPE_NORMAL
+
TYPE_MONSTER
)
e1
:
SetReset
(
RESET_EVENT
+
0x
c7
c0000
)
e1
:
SetReset
(
RESET_EVENT
+
0x
1f
c0000
)
c
:
RegisterEffect
(
e1
,
true
)
c
:
RegisterEffect
(
e1
,
true
)
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetCode
(
EFFECT_IMMUNE_EFFECT
)
e2
:
SetCode
(
EFFECT_IMMUNE_EFFECT
)
...
@@ -68,7 +67,7 @@ function c98414735.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -68,7 +67,7 @@ function c98414735.spop(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetValue
(
c98414735
.
efilter
)
e2
:
SetValue
(
c98414735
.
efilter
)
e2
:
SetReset
(
RESET_EVENT
+
0x1fe0000
)
e2
:
SetReset
(
RESET_EVENT
+
0x1fe0000
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
,
true
)
local
e3
=
Effect
.
CreateEffect
(
c
)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
)
e3
:
SetCode
(
EFFECT_LEAVE_FIELD_REDIRECT
)
e3
:
SetCode
(
EFFECT_LEAVE_FIELD_REDIRECT
)
...
@@ -76,6 +75,7 @@ function c98414735.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -76,6 +75,7 @@ function c98414735.spop(e,tp,eg,ep,ev,re,r,rp)
e3
:
SetReset
(
RESET_EVENT
+
0x47e0000
)
e3
:
SetReset
(
RESET_EVENT
+
0x47e0000
)
e3
:
SetValue
(
LOCATION_REMOVED
)
e3
:
SetValue
(
LOCATION_REMOVED
)
c
:
RegisterEffect
(
e3
,
true
)
c
:
RegisterEffect
(
e3
,
true
)
Duel
.
SpecialSummonComplete
()
end
end
end
end
function
c98414735
.
efilter
(
e
,
re
)
function
c98414735
.
efilter
(
e
,
re
)
...
...
c98827725.lua
View file @
5854ab7d
...
@@ -25,17 +25,17 @@ end
...
@@ -25,17 +25,17 @@ end
function
c98827725
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c98827725
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
return
end
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
return
end
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
c
:
IsRelateToEffect
(
e
)
if
c
:
IsRelateToEffect
(
e
)
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
98827725
,
0x10db
,
0x11
,
4
,
0
,
300
,
RACE_WARRIOR
,
ATTRIBUTE_DARK
)
then
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
98827725
,
0x10db
,
0x11
,
4
,
0
,
300
,
RACE_WARRIOR
,
ATTRIBUTE_DARK
)
then
c
:
AddMonsterAttribute
(
0
,
0
,
0
,
0
,
0
)
c
:
SetStatus
(
STATUS_NO_LEVEL
,
false
)
Duel
.
SpecialSummonStep
(
c
,
0
,
tp
,
tp
,
true
,
false
,
POS_FACEUP_DEFENCE
)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_CHANGE_TYPE
)
e1
:
SetCode
(
EFFECT_CHANGE_TYPE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e1
:
SetValue
(
TYPE_NORMAL
+
TYPE_MONSTER
)
e1
:
SetValue
(
TYPE_NORMAL
+
TYPE_MONSTER
)
e1
:
SetReset
(
RESET_EVENT
+
0x
47
c0000
)
e1
:
SetReset
(
RESET_EVENT
+
0x
1f
c0000
)
c
:
RegisterEffect
(
e1
,
true
)
c
:
RegisterEffect
(
e1
,
true
)
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
true
,
false
,
POS_FACEUP_DEFENCE
)
Duel
.
SpecialSummon
Complete
(
)
end
end
end
end
function
c98827725
.
actcon
(
e
)
function
c98827725
.
actcon
(
e
)
...
...
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