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
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
八宫一月
ygopro-scripts
Commits
d6793102
Commit
d6793102
authored
Sep 18, 2018
by
DailyShana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
clean up for trap monster
parent
6d6029bc
Changes
45
Hide whitespace changes
Inline
Side-by-side
Showing
45 changed files
with
12 additions
and
69 deletions
+12
-69
c1154611.lua
c1154611.lua
+0
-1
c13955608.lua
c13955608.lua
+0
-1
c20447641.lua
c20447641.lua
+0
-1
c20960340.lua
c20960340.lua
+0
-1
c21843307.lua
c21843307.lua
+0
-1
c23626223.lua
c23626223.lua
+0
-1
c2376209.lua
c2376209.lua
+0
-1
c24212820.lua
c24212820.lua
+0
-1
c24903843.lua
c24903843.lua
+0
-1
c26905245.lua
c26905245.lua
+0
-1
c27062594.lua
c27062594.lua
+0
-1
c28649820.lua
c28649820.lua
+1
-3
c3129635.lua
c3129635.lua
+0
-1
c33622465.lua
c33622465.lua
+0
-1
c35035481.lua
c35035481.lua
+0
-1
c36247316.lua
c36247316.lua
+1
-3
c38761908.lua
c38761908.lua
+0
-1
c42237854.lua
c42237854.lua
+0
-1
c43959432.lua
c43959432.lua
+0
-1
c4904633.lua
c4904633.lua
+0
-1
c49514333.lua
c49514333.lua
+0
-1
c50277973.lua
c50277973.lua
+1
-3
c51606429.lua
c51606429.lua
+1
-3
c54241725.lua
c54241725.lua
+1
-3
c54297661.lua
c54297661.lua
+0
-1
c55838342.lua
c55838342.lua
+0
-1
c60433216.lua
c60433216.lua
+1
-3
c61420130.lua
c61420130.lua
+0
-1
c62645025.lua
c62645025.lua
+1
-3
c64765016.lua
c64765016.lua
+0
-1
c70406920.lua
c70406920.lua
+0
-1
c77462146.lua
c77462146.lua
+0
-1
c79852326.lua
c79852326.lua
+0
-1
c8522996.lua
c8522996.lua
+1
-3
c86885905.lua
c86885905.lua
+0
-1
c87772572.lua
c87772572.lua
+1
-3
c90440725.lua
c90440725.lua
+0
-1
c92092092.lua
c92092092.lua
+1
-3
c92099232.lua
c92099232.lua
+1
-3
c9336190.lua
c9336190.lua
+0
-1
c94212438.lua
c94212438.lua
+0
-1
c96857854.lua
c96857854.lua
+0
-1
c97232518.lua
c97232518.lua
+0
-1
c98414735.lua
c98414735.lua
+0
-1
c98827725.lua
c98827725.lua
+1
-3
No files found.
c1154611.lua
View file @
d6793102
...
...
@@ -50,7 +50,6 @@ function c1154611.spop(e,tp,eg,ep,ev,re,r,rp)
if
c
:
IsRelateToEffect
(
e
)
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
1154611
,
0xd4
,
0x11
,
1200
,
0
,
2
,
RACE_AQUA
,
ATTRIBUTE_WATER
)
then
c
:
AddMonsterAttribute
(
TYPE_NORMAL
)
Duel
.
SpecialSummonStep
(
c
,
0
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
c
:
AddMonsterAttributeComplete
()
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetCode
(
EFFECT_IMMUNE_EFFECT
)
...
...
c13955608.lua
View file @
d6793102
...
...
@@ -21,7 +21,6 @@ function c13955608.activate(e,tp,eg,ep,ev,re,r,rp)
or
not
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
13955608
,
0
,
0x21
,
0
,
2000
,
4
,
RACE_MACHINE
,
ATTRIBUTE_EARTH
)
then
return
end
c
:
AddMonsterAttribute
(
TYPE_TRAP
+
TYPE_EFFECT
)
Duel
.
SpecialSummonStep
(
c
,
0
,
tp
,
tp
,
true
,
false
,
POS_FACEUP_DEFENSE
)
c
:
AddMonsterAttributeComplete
()
--update attack
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
...
...
c20447641.lua
View file @
d6793102
...
...
@@ -45,7 +45,6 @@ function c20447641.activate(e,tp,eg,ep,ev,re,r,rp)
if
c
:
IsRelateToEffect
(
e
)
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
20447641
,
0xaa
,
0x21
,
1800
,
1000
,
4
,
RACE_MACHINE
,
ATTRIBUTE_EARTH
)
then
c
:
AddMonsterAttribute
(
TYPE_EFFECT
)
Duel
.
SpecialSummonStep
(
c
,
0
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
c
:
AddMonsterAttributeComplete
()
c
:
RegisterFlagEffect
(
20447641
,
RESET_EVENT
+
RESETS_STANDARD
,
0
,
1
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
...
...
c20960340.lua
View file @
d6793102
...
...
@@ -28,7 +28,6 @@ function c20960340.activate(e,tp,eg,ep,ev,re,r,rp)
or
not
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
20960340
,
0
,
0x21
,
atk
,
0
,
4
,
RACE_WARRIOR
,
ATTRIBUTE_LIGHT
)
then
return
end
c
:
AddMonsterAttribute
(
TYPE_TRAP
+
TYPE_EFFECT
)
Duel
.
SpecialSummonStep
(
c
,
0
,
tp
,
tp
,
true
,
false
,
POS_FACEUP_ATTACK
)
c
:
AddMonsterAttributeComplete
()
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_SET_ATTACK
)
...
...
c21843307.lua
View file @
d6793102
...
...
@@ -30,7 +30,6 @@ function c21843307.activate(e,tp,eg,ep,ev,re,r,rp)
or
not
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
ec
:
GetCode
(),
0
,
0x11
,
0
,
0
,
ec
:
GetLevel
(),
RACE_WARRIOR
,
ATTRIBUTE_LIGHT
)
then
return
end
c
:
AddMonsterAttribute
(
TYPE_NORMAL
+
TYPE_TRAP
,
0
,
0
,
ec
:
GetLevel
(),
0
,
0
)
Duel
.
SpecialSummonStep
(
c
,
0
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
c
:
AddMonsterAttributeComplete
()
--change code
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
...
...
c23626223.lua
View file @
d6793102
...
...
@@ -21,7 +21,6 @@ function c23626223.activate(e,tp,eg,ep,ev,re,r,rp)
or
not
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
23626223
,
0
,
0x21
,
0
,
2500
,
7
,
RACE_ROCK
,
ATTRIBUTE_EARTH
)
then
return
end
c
:
AddMonsterAttribute
(
TYPE_EFFECT
+
TYPE_TRAP
)
Duel
.
SpecialSummonStep
(
c
,
0
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
c
:
AddMonsterAttributeComplete
()
--monster effects
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
...
...
c2376209.lua
View file @
d6793102
...
...
@@ -62,7 +62,6 @@ function c2376209.spop(e,tp,eg,ep,ev,re,r,rp)
if
c
:
IsRelateToEffect
(
e
)
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
2376209
,
0xd4
,
0x11
,
1200
,
0
,
2
,
RACE_AQUA
,
ATTRIBUTE_WATER
)
then
c
:
AddMonsterAttribute
(
TYPE_NORMAL
)
Duel
.
SpecialSummonStep
(
c
,
0
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
c
:
AddMonsterAttributeComplete
()
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetCode
(
EFFECT_IMMUNE_EFFECT
)
...
...
c24212820.lua
View file @
d6793102
...
...
@@ -58,7 +58,6 @@ function c24212820.spop(e,tp,eg,ep,ev,re,r,rp)
if
c
:
IsRelateToEffect
(
e
)
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
24212820
,
0x10db
,
0x21
,
300
,
600
,
4
,
RACE_WARRIOR
,
ATTRIBUTE_DARK
)
then
c
:
AddMonsterAttribute
(
TYPE_EFFECT
)
Duel
.
SpecialSummonStep
(
c
,
1
,
tp
,
tp
,
true
,
false
,
POS_FACEUP_DEFENSE
)
c
:
AddMonsterAttributeComplete
()
--redirect
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
...
...
c24903843.lua
View file @
d6793102
...
...
@@ -49,7 +49,6 @@ function c24903843.spop(e,tp,eg,ep,ev,re,r,rp)
if
c
:
IsRelateToEffect
(
e
)
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
24903843
,
0xd4
,
0x11
,
1200
,
0
,
2
,
RACE_AQUA
,
ATTRIBUTE_WATER
)
then
c
:
AddMonsterAttribute
(
TYPE_NORMAL
)
Duel
.
SpecialSummonStep
(
c
,
0
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
c
:
AddMonsterAttributeComplete
()
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetCode
(
EFFECT_IMMUNE_EFFECT
)
...
...
c26905245.lua
View file @
d6793102
...
...
@@ -22,7 +22,6 @@ function c26905245.activate(e,tp,eg,ep,ev,re,r,rp)
or
not
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
26905245
,
0
,
0x21
,
0
,
3000
,
10
,
RACE_AQUA
,
ATTRIBUTE_WATER
)
then
return
end
c
:
AddMonsterAttribute
(
TYPE_EFFECT
+
TYPE_TRAP
)
Duel
.
SpecialSummonStep
(
c
,
0
,
tp
,
tp
,
true
,
false
,
POS_FACEUP_DEFENSE
)
c
:
AddMonsterAttributeComplete
()
--cannot attack
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
...
...
c27062594.lua
View file @
d6793102
...
...
@@ -27,7 +27,6 @@ function c27062594.activate(e,tp,eg,ep,ev,re,r,rp)
or
not
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
27062594
,
0
,
0x21
,
0
,
0
,
1
,
RACE_FIEND
,
ATTRIBUTE_LIGHT
)
then
return
end
c
:
AddMonsterAttribute
(
TYPE_EFFECT
+
TYPE_TRAP
)
Duel
.
SpecialSummonStep
(
c
,
0
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
c
:
AddMonsterAttributeComplete
()
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
27062594
,
0
))
e1
:
SetCategory
(
CATEGORY_DAMAGE
)
...
...
c28649820.lua
View file @
d6793102
...
...
@@ -25,7 +25,5 @@ function c28649820.activate(e,tp,eg,ep,ev,re,r,rp)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
or
not
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
28649820
,
0
,
0x11
,
1600
,
1800
,
4
,
RACE_REPTILE
,
ATTRIBUTE_EARTH
)
then
return
end
c
:
AddMonsterAttribute
(
TYPE_NORMAL
+
TYPE_TRAP
)
Duel
.
SpecialSummonStep
(
c
,
0
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
c
:
AddMonsterAttributeComplete
()
Duel
.
SpecialSummonComplete
()
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
end
c3129635.lua
View file @
d6793102
...
...
@@ -22,7 +22,6 @@ function c3129635.activate(e,tp,eg,ep,ev,re,r,rp)
or
not
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
3129635
,
0
,
0x21
,
1800
,
1000
,
4
,
RACE_ROCK
,
ATTRIBUTE_DARK
)
then
return
end
c
:
AddMonsterAttribute
(
TYPE_EFFECT
+
TYPE_TRAP
)
Duel
.
SpecialSummonStep
(
c
,
0
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
c
:
AddMonsterAttributeComplete
()
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
3129635
,
0
))
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_F
)
...
...
c33622465.lua
View file @
d6793102
...
...
@@ -55,7 +55,6 @@ function c33622465.spop(e,tp,eg,ep,ev,re,r,rp)
if
c
:
IsRelateToEffect
(
e
)
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
33622465
,
0
,
0x11
,
1200
,
400
,
3
,
RACE_WARRIOR
,
ATTRIBUTE_EARTH
)
then
c
:
AddMonsterAttribute
(
TYPE_NORMAL
)
Duel
.
SpecialSummonStep
(
c
,
0
,
tp
,
tp
,
true
,
false
,
POS_FACEUP_DEFENSE
)
c
:
AddMonsterAttributeComplete
()
--redirect
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
...
...
c35035481.lua
View file @
d6793102
...
...
@@ -52,7 +52,6 @@ function c35035481.spop(e,tp,eg,ep,ev,re,r,rp)
if
c
:
IsRelateToEffect
(
e
)
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
35035481
,
0xd4
,
0x11
,
1200
,
0
,
2
,
RACE_AQUA
,
ATTRIBUTE_WATER
)
then
c
:
AddMonsterAttribute
(
TYPE_NORMAL
)
Duel
.
SpecialSummonStep
(
c
,
0
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
c
:
AddMonsterAttributeComplete
()
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetCode
(
EFFECT_IMMUNE_EFFECT
)
...
...
c36247316.lua
View file @
d6793102
...
...
@@ -64,9 +64,7 @@ function c36247316.activate(e,tp,eg,ep,ev,re,r,rp)
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
36247316
,
0x10db
,
0x11
,
600
,
0
,
2
,
RACE_WARRIOR
,
ATTRIBUTE_DARK
)
then
Duel
.
BreakEffect
()
c
:
AddMonsterAttribute
(
TYPE_NORMAL
)
Duel
.
SpecialSummonStep
(
c
,
0
,
tp
,
tp
,
true
,
false
,
POS_FACEUP_DEFENSE
)
c
:
AddMonsterAttributeComplete
()
Duel
.
SpecialSummonComplete
()
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
true
,
false
,
POS_FACEUP_DEFENSE
)
end
end
end
...
...
c38761908.lua
View file @
d6793102
...
...
@@ -58,7 +58,6 @@ function c38761908.spop(e,tp,eg,ep,ev,re,r,rp)
if
c
:
IsRelateToEffect
(
e
)
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
38761908
,
0xd4
,
0x11
,
1200
,
0
,
2
,
RACE_AQUA
,
ATTRIBUTE_WATER
)
then
c
:
AddMonsterAttribute
(
TYPE_NORMAL
)
Duel
.
SpecialSummonStep
(
c
,
0
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
c
:
AddMonsterAttributeComplete
()
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetCode
(
EFFECT_IMMUNE_EFFECT
)
...
...
c42237854.lua
View file @
d6793102
...
...
@@ -62,7 +62,6 @@ function c42237854.activate(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetValue
(
c42237854
.
atkval
)
c
:
RegisterEffect
(
e1
)
c
:
AddMonsterAttributeComplete
()
Duel
.
SpecialSummonComplete
()
local
g
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_CARDS
):
Filter
(
c42237854
.
tgfilter
,
nil
,
e
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
...
...
c43959432.lua
View file @
d6793102
...
...
@@ -31,7 +31,6 @@ function c43959432.activate(e,tp,eg,ep,ev,re,r,rp)
or
not
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
43959432
,
0
,
0x21
,
1000
,
1000
,
4
,
RACE_ROCK
,
ATTRIBUTE_EARTH
)
then
return
end
c
:
AddMonsterAttribute
(
TYPE_EFFECT
+
TYPE_TRAP
)
Duel
.
SpecialSummonStep
(
c
,
0
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
c
:
AddMonsterAttributeComplete
()
--position
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_POSITION
)
...
...
c4904633.lua
View file @
d6793102
...
...
@@ -33,7 +33,6 @@ function c4904633.activate(e,tp,eg,ep,ev,re,r,rp)
or
not
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
4904633
,
0
,
0x21
,
1450
,
1950
,
9
,
RACE_SPELLCASTER
,
ATTRIBUTE_DARK
)
then
return
end
c
:
AddMonsterAttribute
(
TYPE_EFFECT
+
TYPE_TRAP
)
Duel
.
SpecialSummonStep
(
c
,
0
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
c
:
AddMonsterAttributeComplete
()
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
4904633
)
...
...
c49514333.lua
View file @
d6793102
...
...
@@ -25,7 +25,6 @@ function c49514333.activate(e,tp,eg,ep,ev,re,r,rp)
or
not
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
49514333
,
0
,
0x21
,
1000
,
1800
,
4
,
RACE_ROCK
,
ATTRIBUTE_LIGHT
)
then
return
end
c
:
AddMonsterAttribute
(
TYPE_EFFECT
+
TYPE_TRAP
)
Duel
.
SpecialSummonStep
(
c
,
0
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
c
:
AddMonsterAttributeComplete
()
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetRange
(
LOCATION_MZONE
)
...
...
c50277973.lua
View file @
d6793102
...
...
@@ -52,7 +52,5 @@ function c50277973.activate(e,tp,eg,ep,ev,re,r,rp)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
or
not
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
50277973
,
0
,
0x11
,
1800
,
1000
,
4
,
rac
,
att
)
then
return
end
c
:
AddMonsterAttribute
(
TYPE_NORMAL
+
TYPE_TRAP
,
att
,
rac
,
0
,
0
,
0
)
Duel
.
SpecialSummonStep
(
c
,
0
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
c
:
AddMonsterAttributeComplete
()
Duel
.
SpecialSummonComplete
()
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
end
c51606429.lua
View file @
d6793102
...
...
@@ -41,9 +41,7 @@ function c51606429.activate(e,tp,eg,ep,ev,re,r,rp)
local
c
=
e
:
GetHandler
()
if
c
:
IsRelateToEffect
(
e
)
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
51606429
,
0x10db
,
0x11
,
0
,
0
,
3
,
RACE_WARRIOR
,
ATTRIBUTE_DARK
)
then
c
:
AddMonsterAttribute
(
TYPE_NORMAL
)
Duel
.
SpecialSummonStep
(
c
,
0
,
tp
,
tp
,
true
,
false
,
POS_FACEUP_ATTACK
)
c
:
AddMonsterAttributeComplete
()
Duel
.
SpecialSummonComplete
()
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
true
,
false
,
POS_FACEUP_ATTACK
)
end
end
function
c51606429
.
negcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
c54241725.lua
View file @
d6793102
...
...
@@ -75,8 +75,6 @@ function c54241725.spop(e,tp,eg,ep,ev,re,r,rp)
local
c
=
e
:
GetHandler
()
if
c
:
IsRelateToEffect
(
e
)
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
54241725
,
0
,
0x11
,
1000
,
2400
,
5
,
RACE_FAIRY
,
ATTRIBUTE_LIGHT
)
then
c
:
AddMonsterAttribute
(
TYPE_NORMAL
)
Duel
.
SpecialSummonStep
(
c
,
0
,
tp
,
tp
,
true
,
false
,
POS_FACEUP_DEFENSE
)
c
:
AddMonsterAttributeComplete
()
Duel
.
SpecialSummonComplete
()
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
true
,
false
,
POS_FACEUP_DEFENSE
)
end
end
c54297661.lua
View file @
d6793102
...
...
@@ -57,7 +57,6 @@ function c54297661.activate(e,tp,eg,ep,ev,re,r,rp)
or
not
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
54297661
,
0
,
0x21
,
atk
,
def
,
4
,
RACE_SPELLCASTER
,
ATTRIBUTE_DARK
)
then
return
end
c
:
AddMonsterAttribute
(
TYPE_EFFECT
+
TYPE_TRAP
)
if
Duel
.
SpecialSummonStep
(
c
,
0
,
tp
,
tp
,
true
,
false
,
POS_FACEUP_ATTACK
)
then
c
:
AddMonsterAttributeComplete
()
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_SET_ATTACK
)
...
...
c55838342.lua
View file @
d6793102
...
...
@@ -22,7 +22,6 @@ function c55838342.activate(e,tp,eg,ep,ev,re,r,rp)
or
not
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
55838342
,
0
,
0x21
,
300
,
2100
,
2
,
RACE_INSECT
,
ATTRIBUTE_EARTH
)
then
return
end
c
:
AddMonsterAttribute
(
TYPE_EFFECT
+
TYPE_TRAP
)
Duel
.
SpecialSummonStep
(
c
,
1
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
c
:
AddMonsterAttributeComplete
()
--search
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
55838342
,
0
))
...
...
c60433216.lua
View file @
d6793102
...
...
@@ -35,7 +35,5 @@ function c60433216.activate(e,tp,eg,ep,ev,re,r,rp)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
or
not
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
60433216
,
0
,
0x1011
,
0
,
0
,
1
,
RACE_FIEND
,
ATTRIBUTE_FIRE
)
then
return
end
c
:
AddMonsterAttribute
(
TYPE_NORMAL
+
TYPE_TUNER
+
TYPE_TRAP
)
Duel
.
SpecialSummonStep
(
c
,
0
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
c
:
AddMonsterAttributeComplete
()
Duel
.
SpecialSummonComplete
()
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
end
c61420130.lua
View file @
d6793102
...
...
@@ -64,7 +64,6 @@ function c61420130.spop(e,tp,eg,ep,ev,re,r,rp)
if
c
:
IsRelateToEffect
(
e
)
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
61420130
,
0xd4
,
0x11
,
1200
,
0
,
2
,
RACE_AQUA
,
ATTRIBUTE_WATER
)
then
c
:
AddMonsterAttribute
(
TYPE_NORMAL
)
Duel
.
SpecialSummonStep
(
c
,
0
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
c
:
AddMonsterAttributeComplete
()
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetCode
(
EFFECT_IMMUNE_EFFECT
)
...
...
c62645025.lua
View file @
d6793102
...
...
@@ -38,9 +38,7 @@ function c62645025.activate(e,tp,eg,ep,ev,re,r,rp)
if
not
c
:
IsRelateToEffect
(
e
)
or
not
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
62645025
,
0x10db
,
0x21
,
0
,
0
,
2
,
RACE_WARRIOR
,
ATTRIBUTE_DARK
)
then
return
end
c
:
AddMonsterAttribute
(
TYPE_EFFECT
)
Duel
.
SpecialSummonStep
(
c
,
1
,
tp
,
tp
,
true
,
false
,
POS_FACEUP_ATTACK
)
c
:
AddMonsterAttributeComplete
()
Duel
.
SpecialSummonComplete
()
Duel
.
SpecialSummon
(
c
,
1
,
tp
,
tp
,
true
,
false
,
POS_FACEUP_ATTACK
)
end
function
c62645025
.
drcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
1
...
...
c64765016.lua
View file @
d6793102
...
...
@@ -50,7 +50,6 @@ function c64765016.spop(e,tp,eg,ep,ev,re,r,rp)
if
c
:
IsRelateToEffect
(
e
)
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
64765016
,
0xd4
,
0x11
,
1200
,
0
,
2
,
RACE_AQUA
,
ATTRIBUTE_WATER
)
then
c
:
AddMonsterAttribute
(
TYPE_NORMAL
)
Duel
.
SpecialSummonStep
(
c
,
0
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
c
:
AddMonsterAttributeComplete
()
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetCode
(
EFFECT_IMMUNE_EFFECT
)
...
...
c70406920.lua
View file @
d6793102
...
...
@@ -45,7 +45,6 @@ function c70406920.activate(e,tp,eg,ep,ev,re,r,rp)
or
not
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
70406920
,
0
,
0x21
,
1000
,
1000
,
4
,
RACE_MACHINE
,
ATTRIBUTE_EARTH
)
then
return
end
c
:
AddMonsterAttribute
(
TYPE_EFFECT
+
TYPE_TRAP
)
Duel
.
SpecialSummonStep
(
c
,
0
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
c
:
AddMonsterAttributeComplete
()
--atkup
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
70406920
,
0
))
...
...
c77462146.lua
View file @
d6793102
...
...
@@ -60,7 +60,6 @@ function c77462146.spop(e,tp,eg,ep,ev,re,r,rp)
if
c
:
IsRelateToEffect
(
e
)
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
77462146
,
0x10db
,
0x11
,
0
,
300
,
4
,
RACE_WARRIOR
,
ATTRIBUTE_DARK
)
then
c
:
AddMonsterAttribute
(
TYPE_NORMAL
)
Duel
.
SpecialSummonStep
(
c
,
0
,
tp
,
tp
,
true
,
false
,
POS_FACEUP_DEFENSE
)
c
:
AddMonsterAttributeComplete
()
--redirect
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
...
...
c79852326.lua
View file @
d6793102
...
...
@@ -22,7 +22,6 @@ function c79852326.activate(e,tp,eg,ep,ev,re,r,rp)
or
not
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
79852326
,
0
,
0x21
,
1800
,
500
,
4
,
RACE_ZOMBIE
,
ATTRIBUTE_DARK
)
then
return
end
c
:
AddMonsterAttribute
(
TYPE_EFFECT
+
TYPE_TRAP
)
Duel
.
SpecialSummonStep
(
c
,
0
,
tp
,
tp
,
true
,
false
,
POS_FACEUP_DEFENSE
)
c
:
AddMonsterAttributeComplete
()
--damage
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
79852326
,
0
))
...
...
c8522996.lua
View file @
d6793102
...
...
@@ -41,9 +41,7 @@ function c8522996.activate(e,tp,eg,ep,ev,re,r,rp)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
or
not
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
8522996
,
0
,
0x21
,
1000
,
2400
,
6
,
RACE_FIEND
,
ATTRIBUTE_DARK
)
then
return
end
c
:
AddMonsterAttribute
(
TYPE_EFFECT
+
TYPE_TRAP
)
Duel
.
SpecialSummonStep
(
c
,
1
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
c
:
AddMonsterAttributeComplete
()
Duel
.
SpecialSummonComplete
()
Duel
.
SpecialSummon
(
c
,
1
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
end
function
c8522996
.
chcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
1
...
...
c86885905.lua
View file @
d6793102
...
...
@@ -21,7 +21,6 @@ function c86885905.activate(e,tp,eg,ep,ev,re,r,rp)
or
not
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
86885905
,
0x103
,
0x21
,
1400
,
1800
,
4
,
RACE_SPELLCASTER
,
ATTRIBUTE_LIGHT
)
then
return
end
c
:
AddMonsterAttribute
(
TYPE_TRAP
+
TYPE_EFFECT
)
Duel
.
SpecialSummonStep
(
c
,
0
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
c
:
AddMonsterAttributeComplete
()
--untargetable
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
...
...
c87772572.lua
View file @
d6793102
...
...
@@ -52,7 +52,5 @@ function c87772572.activate(e,tp,eg,ep,ev,re,r,rp)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
or
not
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
87772572
,
0
,
0x11
,
0
,
2200
,
4
,
rac
,
att
)
then
return
end
c
:
AddMonsterAttribute
(
TYPE_NORMAL
+
TYPE_TRAP
,
att
,
rac
,
0
,
0
,
0
)
Duel
.
SpecialSummonStep
(
c
,
0
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
c
:
AddMonsterAttributeComplete
()
Duel
.
SpecialSummonComplete
()
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
end
c90440725.lua
View file @
d6793102
...
...
@@ -27,7 +27,6 @@ function c90440725.activate(e,tp,eg,ep,ev,re,r,rp)
or
not
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
90440725
,
0
,
0x21
,
-
2
,
-
2
,
4
,
RACE_MACHINE
,
ATTRIBUTE_EARTH
)
then
return
end
c
:
AddMonsterAttribute
(
TYPE_EFFECT
+
TYPE_TRAP
)
Duel
.
SpecialSummonStep
(
c
,
0
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
c
:
AddMonsterAttributeComplete
()
--cannot attack
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_F
)
...
...
c92092092.lua
View file @
d6793102
...
...
@@ -35,9 +35,7 @@ function c92092092.activate(e,tp,eg,ep,ev,re,r,rp)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
or
not
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
92092092
,
0
,
0x21
,
0
,
1800
,
1
,
RACE_MACHINE
,
ATTRIBUTE_FIRE
)
then
return
end
c
:
AddMonsterAttribute
(
TYPE_EFFECT
+
TYPE_TUNER
+
TYPE_TRAP
)
Duel
.
SpecialSummonStep
(
c
,
1
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
c
:
AddMonsterAttributeComplete
()
Duel
.
SpecialSummonComplete
()
Duel
.
SpecialSummon
(
c
,
1
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
end
function
c92092092
.
indcon
(
e
)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
1
...
...
c92099232.lua
View file @
d6793102
...
...
@@ -21,7 +21,5 @@ function c92099232.activate(e,tp,eg,ep,ev,re,r,rp)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
or
not
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
92099232
,
0
,
0x11
,
0
,
0
,
2
,
RACE_FIEND
,
ATTRIBUTE_EARTH
)
then
return
end
c
:
AddMonsterAttribute
(
TYPE_NORMAL
+
TYPE_TUNER
+
TYPE_TRAP
)
Duel
.
SpecialSummonStep
(
c
,
0
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
c
:
AddMonsterAttributeComplete
()
Duel
.
SpecialSummonComplete
()
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
end
c9336190.lua
View file @
d6793102
...
...
@@ -65,7 +65,6 @@ function c9336190.spop(e,tp,eg,ep,ev,re,r,rp)
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
9336190
,
0x10db
,
0x11
,
0
,
0
,
tc
:
GetLevel
(),
RACE_WARRIOR
,
ATTRIBUTE_DARK
)
then
c
:
AddMonsterAttribute
(
TYPE_NORMAL
,
0
,
0
,
tc
:
GetLevel
(),
0
,
0
)
Duel
.
SpecialSummonStep
(
c
,
0
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
c
:
AddMonsterAttributeComplete
()
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
...
...
c94212438.lua
View file @
d6793102
...
...
@@ -56,7 +56,6 @@ function c94212438.plop(e,tp,eg,ep,ev,re,r,rp)
if
tc
and
res
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
16625614
,
0
))
then
tc
:
AddMonsterAttribute
(
TYPE_NORMAL
,
ATTRIBUTE_DARK
,
RACE_FIEND
,
1
,
0
,
0
)
Duel
.
SpecialSummonStep
(
tc
,
181
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
tc
:
AddMonsterAttributeComplete
()
--immune
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
...
...
c96857854.lua
View file @
d6793102
...
...
@@ -98,7 +98,6 @@ function c96857854.spop(e,tp,eg,ep,ev,re,r,rp)
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
96857854
,
0
,
0x11
,
0
,
1000
,
1
,
RACE_FIEND
,
ATTRIBUTE_DARK
,
POS_FACEUP_DEFENSE
,
1
-
tp
)
then
c
:
AddMonsterAttribute
(
TYPE_NORMAL
)
Duel
.
SpecialSummonStep
(
c
,
0
,
tp
,
1
-
tp
,
true
,
false
,
POS_FACEUP_DEFENSE
)
c
:
AddMonsterAttributeComplete
()
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
...
...
c97232518.lua
View file @
d6793102
...
...
@@ -21,7 +21,6 @@ function c97232518.activate(e,tp,eg,ep,ev,re,r,rp)
or
not
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
97232518
,
0
,
0x21
,
1900
,
0
,
5
,
RACE_THUNDER
,
ATTRIBUTE_LIGHT
)
then
return
end
c
:
AddMonsterAttribute
(
TYPE_EFFECT
+
TYPE_TRAP
)
Duel
.
SpecialSummonStep
(
c
,
0
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
c
:
AddMonsterAttributeComplete
()
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
...
...
c98414735.lua
View file @
d6793102
...
...
@@ -53,7 +53,6 @@ function c98414735.spop(e,tp,eg,ep,ev,re,r,rp)
if
c
:
IsRelateToEffect
(
e
)
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
98414735
,
0xd4
,
0x11
,
1200
,
0
,
2
,
RACE_AQUA
,
ATTRIBUTE_WATER
)
then
c
:
AddMonsterAttribute
(
TYPE_NORMAL
)
Duel
.
SpecialSummonStep
(
c
,
0
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
c
:
AddMonsterAttributeComplete
()
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetCode
(
EFFECT_IMMUNE_EFFECT
)
...
...
c98827725.lua
View file @
d6793102
...
...
@@ -36,9 +36,7 @@ function c98827725.activate(e,tp,eg,ep,ev,re,r,rp)
local
c
=
e
:
GetHandler
()
if
c
:
IsRelateToEffect
(
e
)
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
98827725
,
0x10db
,
0x11
,
0
,
300
,
4
,
RACE_WARRIOR
,
ATTRIBUTE_DARK
)
then
c
:
AddMonsterAttribute
(
TYPE_NORMAL
)
Duel
.
SpecialSummonStep
(
c
,
0
,
tp
,
tp
,
true
,
false
,
POS_FACEUP_DEFENSE
)
c
:
AddMonsterAttributeComplete
()
Duel
.
SpecialSummonComplete
()
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
true
,
false
,
POS_FACEUP_DEFENSE
)
end
end
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