Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-pre-data
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
MyCard
ygopro-pre-data
Commits
822c928b
Commit
822c928b
authored
May 28, 2018
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update scripts
parent
8f37eb68
Changes
36
Hide whitespace changes
Inline
Side-by-side
Showing
36 changed files
with
62 additions
and
62 deletions
+62
-62
script/c100200147.lua
script/c100200147.lua
+1
-1
script/c100200148.lua
script/c100200148.lua
+3
-3
script/c100203028.lua
script/c100203028.lua
+2
-2
script/c100227001.lua
script/c100227001.lua
+3
-3
script/c100227003.lua
script/c100227003.lua
+2
-2
script/c100227009.lua
script/c100227009.lua
+2
-2
script/c100227012.lua
script/c100227012.lua
+1
-1
script/c100227015.lua
script/c100227015.lua
+2
-2
script/c100227017.lua
script/c100227017.lua
+3
-3
script/c100227027.lua
script/c100227027.lua
+1
-1
script/c100227028.lua
script/c100227028.lua
+1
-1
script/c100227029.lua
script/c100227029.lua
+1
-1
script/c100227030.lua
script/c100227030.lua
+1
-1
script/c100227031.lua
script/c100227031.lua
+1
-1
script/c100227036.lua
script/c100227036.lua
+1
-1
script/c100227037.lua
script/c100227037.lua
+1
-1
script/c100227038.lua
script/c100227038.lua
+1
-1
script/c100227039.lua
script/c100227039.lua
+2
-2
script/c100227040.lua
script/c100227040.lua
+4
-4
script/c100227042.lua
script/c100227042.lua
+1
-1
script/c100227044.lua
script/c100227044.lua
+3
-3
script/c100228003.lua
script/c100228003.lua
+1
-1
script/c100334041.lua
script/c100334041.lua
+3
-3
script/c100334042.lua
script/c100334042.lua
+1
-1
script/c100409001.lua
script/c100409001.lua
+3
-3
script/c100409002.lua
script/c100409002.lua
+1
-1
script/c100409024.lua
script/c100409024.lua
+1
-1
script/c100409035.lua
script/c100409035.lua
+3
-3
script/c101004083.lua
script/c101004083.lua
+3
-3
script/c101004084.lua
script/c101004084.lua
+1
-1
script/c101004085.lua
script/c101004085.lua
+2
-2
script/c101004086.lua
script/c101004086.lua
+1
-1
script/c101004088.lua
script/c101004088.lua
+2
-2
script/c101004089.lua
script/c101004089.lua
+1
-1
script/c101004090.lua
script/c101004090.lua
+1
-1
script/c101004091.lua
script/c101004091.lua
+1
-1
No files found.
script/c100200147.lua
View file @
822c928b
...
@@ -76,7 +76,7 @@ function c100200147.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -76,7 +76,7 @@ function c100200147.spop(e,tp,eg,ep,ev,re,r,rp)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_DISABLE
)
e1
:
SetCode
(
EFFECT_DISABLE
)
e1
:
SetReset
(
RESET_EVENT
+
0x1fe0000
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
tc
:
RegisterEffect
(
e1
)
tc
:
RegisterEffect
(
e1
)
local
e2
=
e1
:
Clone
()
local
e2
=
e1
:
Clone
()
e2
:
SetCode
(
EFFECT_DISABLE_EFFECT
)
e2
:
SetCode
(
EFFECT_DISABLE_EFFECT
)
...
...
script/c100200148.lua
View file @
822c928b
...
@@ -42,18 +42,18 @@ function c100200148.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -42,18 +42,18 @@ function c100200148.spop(e,tp,eg,ep,ev,re,r,rp)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_DISABLE
)
e1
:
SetCode
(
EFFECT_DISABLE
)
e1
:
SetReset
(
RESET_EVENT
+
0xfe0000
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
-
RESET_TOFIELD
)
tc
:
RegisterEffect
(
e1
)
tc
:
RegisterEffect
(
e1
)
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetCode
(
EFFECT_DISABLE_EFFECT
)
e2
:
SetCode
(
EFFECT_DISABLE_EFFECT
)
e2
:
SetReset
(
RESET_EVENT
+
0xfe0000
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
-
RESET_TOFIELD
)
tc
:
RegisterEffect
(
e2
)
tc
:
RegisterEffect
(
e2
)
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
)
e3
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e3
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e3
:
SetReset
(
RESET_EVENT
+
0x47e0000
)
e3
:
SetReset
(
RESET_EVENT
+
RESETS_REDIRECT
)
e3
:
SetValue
(
LOCATION_DECKBOT
)
e3
:
SetValue
(
LOCATION_DECKBOT
)
tc
:
RegisterEffect
(
e3
)
tc
:
RegisterEffect
(
e3
)
end
end
...
...
script/c100203028.lua
View file @
822c928b
...
@@ -58,12 +58,12 @@ end
...
@@ -58,12 +58,12 @@ end
function
c100203028
.
equip_monster
(
c
,
tp
,
tc
)
function
c100203028
.
equip_monster
(
c
,
tp
,
tc
)
if
not
Duel
.
Equip
(
tp
,
tc
,
c
,
false
)
then
return
end
if
not
Duel
.
Equip
(
tp
,
tc
,
c
,
false
)
then
return
end
--Add Equip limit
--Add Equip limit
tc
:
RegisterFlagEffect
(
100203028
,
RESET_EVENT
+
0x1fe0000
,
0
,
0
)
tc
:
RegisterFlagEffect
(
100203028
,
RESET_EVENT
+
RESETS_STANDARD
,
0
,
0
)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_OWNER_RELATE
)
e1
:
SetProperty
(
EFFECT_FLAG_OWNER_RELATE
)
e1
:
SetCode
(
EFFECT_EQUIP_LIMIT
)
e1
:
SetCode
(
EFFECT_EQUIP_LIMIT
)
e1
:
SetReset
(
RESET_EVENT
+
0x1fe0000
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetValue
(
c100203028
.
eqlimit
)
e1
:
SetValue
(
c100203028
.
eqlimit
)
tc
:
RegisterEffect
(
e1
)
tc
:
RegisterEffect
(
e1
)
end
end
...
...
script/c100227001.lua
View file @
822c928b
...
@@ -24,7 +24,7 @@ function c100227001.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -24,7 +24,7 @@ function c100227001.operation(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
e1
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
e1
:
SetValue
(
atk
)
e1
:
SetValue
(
atk
)
e1
:
SetReset
(
RESET_EVENT
+
0x1ff0000
+
RESET_PHASE
+
PHASE_END
,
2
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_DISABLE
+
RESET_PHASE
+
PHASE_END
,
2
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
local
res12
=
false
local
res12
=
false
local
res34
=
false
local
res34
=
false
...
@@ -45,7 +45,7 @@ function c100227001.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -45,7 +45,7 @@ function c100227001.operation(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_INDESTRUCTABLE_BATTLE
)
e1
:
SetCode
(
EFFECT_INDESTRUCTABLE_BATTLE
)
e1
:
SetValue
(
1
)
e1
:
SetValue
(
1
)
e1
:
SetReset
(
RESET_EVENT
+
0x1fe0000
+
RESET_PHASE
+
PHASE_END
,
2
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
2
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
local
e2
=
e1
:
Clone
()
local
e2
=
e1
:
Clone
()
e2
:
SetCode
(
EFFECT_INDESTRUCTABLE_EFFECT
)
e2
:
SetCode
(
EFFECT_INDESTRUCTABLE_EFFECT
)
...
@@ -59,7 +59,7 @@ function c100227001.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -59,7 +59,7 @@ function c100227001.operation(e,tp,eg,ep,ev,re,r,rp)
e3
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e3
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
)
e3
:
SetCode
(
EFFECT_DIRECT_ATTACK
)
e3
:
SetCode
(
EFFECT_DIRECT_ATTACK
)
e3
:
SetReset
(
RESET_EVENT
+
0x1fe0000
+
RESET_PHASE
+
PHASE_END
)
e3
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
end
end
end
end
script/c100227003.lua
View file @
822c928b
...
@@ -25,7 +25,7 @@ function c100227003.valcon(e,re,r,rp)
...
@@ -25,7 +25,7 @@ function c100227003.valcon(e,re,r,rp)
local
res
=
false
local
res
=
false
if
bit
.
band
(
r
,
REASON_EFFECT
)
~=
0
and
rp
~=
e
:
GetHandlerPlayer
()
then
if
bit
.
band
(
r
,
REASON_EFFECT
)
~=
0
and
rp
~=
e
:
GetHandlerPlayer
()
then
res
=
true
res
=
true
e
:
GetHandler
():
RegisterFlagEffect
(
100227003
,
RESET_EVENT
+
0x1fe0000
+
RESET_PHASE
+
PHASE_END
,
0
,
1
)
e
:
GetHandler
():
RegisterFlagEffect
(
100227003
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
0
,
1
)
end
end
return
res
return
res
end
end
...
@@ -42,7 +42,7 @@ function c100227003.effop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -42,7 +42,7 @@ function c100227003.effop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetCode
(
EVENT_BATTLE_DAMAGE
)
e1
:
SetCode
(
EVENT_BATTLE_DAMAGE
)
e1
:
SetCondition
(
c100227003
.
wincon
)
e1
:
SetCondition
(
c100227003
.
wincon
)
e1
:
SetOperation
(
c100227003
.
winop
)
e1
:
SetOperation
(
c100227003
.
winop
)
e1
:
SetReset
(
RESET_EVENT
+
0x1fe0000
+
RESET_PHASE
+
PHASE_END
+
RESET_SELF_TURN
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
+
RESET_SELF_TURN
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
function
c100227003
.
wincon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c100227003
.
wincon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
script/c100227009.lua
View file @
822c928b
...
@@ -60,7 +60,7 @@ function c100227009.desop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -60,7 +60,7 @@ function c100227009.desop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e1
:
SetCode
(
EFFECT_EXTRA_ATTACK_MONSTER
)
e1
:
SetCode
(
EFFECT_EXTRA_ATTACK_MONSTER
)
e1
:
SetValue
(
1
)
e1
:
SetValue
(
1
)
e1
:
SetReset
(
RESET_EVENT
+
0x1fe0000
+
RESET_PHASE
+
PHASE_END
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
end
end
...
@@ -77,7 +77,7 @@ function c100227009.atkop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -77,7 +77,7 @@ function c100227009.atkop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
e1
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
e1
:
SetValue
(
400
)
e1
:
SetValue
(
400
)
e1
:
SetReset
(
RESET_EVENT
+
0x1fe0000
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
tc
:
RegisterEffect
(
e1
)
tc
:
RegisterEffect
(
e1
)
end
end
end
end
script/c100227012.lua
View file @
822c928b
...
@@ -39,7 +39,7 @@ function c100227012.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -39,7 +39,7 @@ function c100227012.operation(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
local
tc
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsAbleToGrave
,
tp
,
LOCATION_MZONE
,
loc
,
1
,
1
,
nil
):
GetFirst
()
local
tc
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsAbleToGrave
,
tp
,
LOCATION_MZONE
,
loc
,
1
,
1
,
nil
):
GetFirst
()
if
tc
and
Duel
.
SendtoGrave
(
tc
,
REASON_EFFECT
)
~=
0
and
tc
:
IsLocation
(
LOCATION_GRAVE
)
then
if
tc
and
Duel
.
SendtoGrave
(
tc
,
REASON_EFFECT
)
~=
0
and
tc
:
IsLocation
(
LOCATION_GRAVE
)
then
tc
:
RegisterFlagEffect
(
100227012
,
RESET_EVENT
+
0x1fe0000
,
0
,
0
)
tc
:
RegisterFlagEffect
(
100227012
,
RESET_EVENT
+
RESETS_STANDARD
,
0
,
0
)
e
:
SetLabelObject
(
tc
)
e
:
SetLabelObject
(
tc
)
end
end
end
end
...
...
script/c100227015.lua
View file @
822c928b
...
@@ -59,7 +59,7 @@ function c100227015.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -59,7 +59,7 @@ function c100227015.activate(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_EQUIP_LIMIT
)
e1
:
SetCode
(
EFFECT_EQUIP_LIMIT
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e1
:
SetReset
(
RESET_EVENT
+
0x1fe0000
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetValue
(
c100227015
.
eqlimit
)
e1
:
SetValue
(
c100227015
.
eqlimit
)
e1
:
SetLabelObject
(
tc
)
e1
:
SetLabelObject
(
tc
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
...
@@ -67,7 +67,7 @@ function c100227015.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -67,7 +67,7 @@ function c100227015.activate(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetCode
(
EFFECT_LEAVE_FIELD_REDIRECT
)
e2
:
SetCode
(
EFFECT_LEAVE_FIELD_REDIRECT
)
e2
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e2
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e2
:
SetReset
(
RESET_EVENT
+
0x47e0000
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_REDIRECT
)
e2
:
SetValue
(
LOCATION_REMOVED
)
e2
:
SetValue
(
LOCATION_REMOVED
)
tc
:
RegisterEffect
(
e2
)
tc
:
RegisterEffect
(
e2
)
end
end
...
...
script/c100227017.lua
View file @
822c928b
...
@@ -7,7 +7,7 @@ function c100227017.initial_effect(c)
...
@@ -7,7 +7,7 @@ function c100227017.initial_effect(c)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetHintTiming
(
0
,
0x1e0
)
e1
:
SetHintTiming
(
0
,
TIMINGS_CHECK_MONSTER
+
TIMING_END_PHASE
)
e1
:
SetCost
(
c100227017
.
cost
)
e1
:
SetCost
(
c100227017
.
cost
)
e1
:
SetTarget
(
c100227017
.
target
)
e1
:
SetTarget
(
c100227017
.
target
)
e1
:
SetOperation
(
c100227017
.
activate
)
e1
:
SetOperation
(
c100227017
.
activate
)
...
@@ -57,14 +57,14 @@ function c100227017.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -57,14 +57,14 @@ function c100227017.activate(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
e1
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetCode
(
EFFECT_IMMUNE_EFFECT
)
e1
:
SetCode
(
EFFECT_IMMUNE_EFFECT
)
e1
:
SetReset
(
RESET_EVENT
+
0x1fe0000
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetValue
(
c100227017
.
efilter
)
e1
:
SetValue
(
c100227017
.
efilter
)
tc
:
RegisterEffect
(
e1
,
true
)
tc
:
RegisterEffect
(
e1
,
true
)
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetCode
(
EFFECT_SET_ATTACK
)
e2
:
SetCode
(
EFFECT_SET_ATTACK
)
e2
:
SetValue
(
val
)
e2
:
SetValue
(
val
)
e2
:
SetReset
(
RESET_EVENT
+
0xfe0000
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
-
RESET_TOFIELD
)
tc
:
RegisterEffect
(
e2
)
tc
:
RegisterEffect
(
e2
)
local
e3
=
e2
:
Clone
()
local
e3
=
e2
:
Clone
()
e3
:
SetCode
(
EFFECT_SET_DEFENSE
)
e3
:
SetCode
(
EFFECT_SET_DEFENSE
)
...
...
script/c100227027.lua
View file @
822c928b
...
@@ -48,7 +48,7 @@ end
...
@@ -48,7 +48,7 @@ end
function
c100227027
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c100227027
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
chk
==
0
then
return
c
:
GetFlagEffect
(
100227027
)
==
0
end
if
chk
==
0
then
return
c
:
GetFlagEffect
(
100227027
)
==
0
end
c
:
RegisterFlagEffect
(
100227027
,
RESET_EVENT
+
0x1fe0000
+
RESET_PHASE
+
PHASE_END
,
0
,
1
)
c
:
RegisterFlagEffect
(
100227027
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
0
,
1
)
end
end
function
c100227027
.
drfilter
(
c
)
function
c100227027
.
drfilter
(
c
)
return
c
:
IsLevel
(
10
)
and
c
:
IsDiscardable
()
return
c
:
IsLevel
(
10
)
and
c
:
IsDiscardable
()
...
...
script/c100227028.lua
View file @
822c928b
...
@@ -90,7 +90,7 @@ end
...
@@ -90,7 +90,7 @@ end
function
c100227028
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c100227028
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
chk
==
0
then
return
c
:
GetFlagEffect
(
100227028
)
==
0
end
if
chk
==
0
then
return
c
:
GetFlagEffect
(
100227028
)
==
0
end
c
:
RegisterFlagEffect
(
100227028
,
RESET_EVENT
+
0x1fe0000
+
RESET_PHASE
+
PHASE_END
,
0
,
1
)
c
:
RegisterFlagEffect
(
100227028
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
0
,
1
)
end
end
function
c100227028
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c100227028
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
ph
=
Duel
.
GetCurrentPhase
()
local
ph
=
Duel
.
GetCurrentPhase
()
...
...
script/c100227029.lua
View file @
822c928b
...
@@ -74,7 +74,7 @@ end
...
@@ -74,7 +74,7 @@ end
function
c100227029
.
spcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c100227029
.
spcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
chk
==
0
then
return
c
:
GetFlagEffect
(
100227029
)
==
0
end
if
chk
==
0
then
return
c
:
GetFlagEffect
(
100227029
)
==
0
end
c
:
RegisterFlagEffect
(
100227029
,
RESET_EVENT
+
0x1fe0000
+
RESET_PHASE
+
PHASE_END
,
0
,
1
)
c
:
RegisterFlagEffect
(
100227029
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
0
,
1
)
end
end
function
c100227029
.
spfilter
(
c
,
e
,
tp
)
function
c100227029
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x4a
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
true
,
false
)
return
c
:
IsSetCard
(
0x4a
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
true
,
false
)
...
...
script/c100227030.lua
View file @
822c928b
...
@@ -34,7 +34,7 @@ function c100227030.initial_effect(c)
...
@@ -34,7 +34,7 @@ function c100227030.initial_effect(c)
end
end
c100227030
.
xyz_number
=
27
c100227030
.
xyz_number
=
27
function
c100227030
.
regop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c100227030
.
regop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
e
:
GetHandler
():
RegisterFlagEffect
(
100227030
,
RESET_EVENT
+
0x1fe0000
+
RESET_PHASE
+
PHASE_BATTLE
,
0
,
1
)
e
:
GetHandler
():
RegisterFlagEffect
(
100227030
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_BATTLE
,
0
,
1
)
end
end
function
c100227030
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c100227030
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetFlagEffect
(
100227030
)
~=
0
return
e
:
GetHandler
():
GetFlagEffect
(
100227030
)
~=
0
...
...
script/c100227031.lua
View file @
822c928b
...
@@ -87,7 +87,7 @@ function c100227031.diceop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -87,7 +87,7 @@ function c100227031.diceop(e,tp,eg,ep,ev,re,r,rp)
local
cid
=
Duel
.
GetChainInfo
(
cc
,
CHAININFO_CHAIN_ID
)
local
cid
=
Duel
.
GetChainInfo
(
cc
,
CHAININFO_CHAIN_ID
)
if
c100227031
[
0
]
~=
cid
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
100227031
,
1
))
then
if
c100227031
[
0
]
~=
cid
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
100227031
,
1
))
then
Duel
.
Hint
(
HINT_CARD
,
0
,
100227031
)
Duel
.
Hint
(
HINT_CARD
,
0
,
100227031
)
e
:
GetHandler
():
RegisterFlagEffect
(
100227031
,
RESET_EVENT
+
0x1fe0000
+
RESET_PHASE
+
PHASE_END
,
0
,
1
)
e
:
GetHandler
():
RegisterFlagEffect
(
100227031
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
0
,
1
)
local
dc
=
{
Duel
.
GetDiceResult
()}
local
dc
=
{
Duel
.
GetDiceResult
()}
local
ac
=
1
local
ac
=
1
local
ct
=
bit
.
band
(
ev
,
0xff
)
+
bit
.
rshift
(
ev
,
16
)
local
ct
=
bit
.
band
(
ev
,
0xff
)
+
bit
.
rshift
(
ev
,
16
)
...
...
script/c100227036.lua
View file @
822c928b
...
@@ -72,7 +72,7 @@ function c100227036.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -72,7 +72,7 @@ function c100227036.operation(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetProperty
(
EFFECT_FLAG_COPY_INHERIT
)
e1
:
SetProperty
(
EFFECT_FLAG_COPY_INHERIT
)
e1
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
e1
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
e1
:
SetValue
(
-
500
)
e1
:
SetValue
(
-
500
)
e1
:
SetReset
(
RESET_EVENT
+
0x1ff0000
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_DISABLE
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
if
not
c
:
IsHasEffect
(
EFFECT_REVERSE_UPDATE
)
then
if
not
c
:
IsHasEffect
(
EFFECT_REVERSE_UPDATE
)
then
Duel
.
NegateAttack
()
Duel
.
NegateAttack
()
...
...
script/c100227037.lua
View file @
822c928b
...
@@ -87,7 +87,7 @@ function c100227037.disop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -87,7 +87,7 @@ function c100227037.disop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetProperty
(
EFFECT_FLAG_COPY_INHERIT
)
e1
:
SetProperty
(
EFFECT_FLAG_COPY_INHERIT
)
e1
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
e1
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
e1
:
SetValue
(
-
500
)
e1
:
SetValue
(
-
500
)
e1
:
SetReset
(
RESET_EVENT
+
0x1ff0000
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_DISABLE
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
if
not
c
:
IsHasEffect
(
EFFECT_REVERSE_UPDATE
)
then
if
not
c
:
IsHasEffect
(
EFFECT_REVERSE_UPDATE
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
...
...
script/c100227038.lua
View file @
822c928b
...
@@ -92,7 +92,7 @@ function c100227038.fusop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -92,7 +92,7 @@ function c100227038.fusop(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
function
c100227038
.
cfilter
(
c
)
function
c100227038
.
cfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsRace
(
RACE_WARRIOR
)
and
c
:
IsLevelAbove
(
5
)
and
c
:
GetAttack
()
~=
c
:
GetBaseAttack
(
)
return
c
:
IsFaceup
()
and
c
:
IsRace
(
RACE_WARRIOR
)
and
c
:
IsLevelAbove
(
5
)
and
not
c
:
IsAttack
(
c
:
GetBaseAttack
()
)
end
end
function
c100227038
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c100227038
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetTurnPlayer
()
~=
tp
and
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_MZONE
,
0
)
>
0
return
Duel
.
GetTurnPlayer
()
~=
tp
and
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_MZONE
,
0
)
>
0
...
...
script/c100227039.lua
View file @
822c928b
...
@@ -69,7 +69,7 @@ function c100227039.atkop1(e,tp,eg,ep,ev,re,r,rp)
...
@@ -69,7 +69,7 @@ function c100227039.atkop1(e,tp,eg,ep,ev,re,r,rp)
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
e2
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
e2
:
SetReset
(
RESET_EVENT
+
0x1ff0000
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_DISABLE
)
e2
:
SetValue
(
atk
)
e2
:
SetValue
(
atk
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
...
@@ -85,7 +85,7 @@ function c100227039.atkop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -85,7 +85,7 @@ function c100227039.atkop(e,tp,eg,ep,ev,re,r,rp)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_SET_ATTACK_FINAL
)
e1
:
SetCode
(
EFFECT_SET_ATTACK_FINAL
)
e1
:
SetReset
(
RESET_EVENT
+
0x1fe0000
+
RESET_PHASE
+
PHASE_DAMAGE_CAL
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_DAMAGE_CAL
)
e1
:
SetValue
(
0
)
e1
:
SetValue
(
0
)
bc
:
RegisterEffect
(
e1
)
bc
:
RegisterEffect
(
e1
)
end
end
...
...
script/c100227040.lua
View file @
822c928b
...
@@ -60,7 +60,7 @@ function c100227040.atkop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -60,7 +60,7 @@ function c100227040.atkop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_SET_ATTACK_FINAL
)
e1
:
SetCode
(
EFFECT_SET_ATTACK_FINAL
)
e1
:
SetValue
(
0
)
e1
:
SetValue
(
0
)
e1
:
SetReset
(
RESET_EVENT
+
0x1fe0000
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
tc
:
RegisterEffect
(
e1
)
tc
:
RegisterEffect
(
e1
)
tc
=
g
:
GetNext
()
tc
=
g
:
GetNext
()
end
end
...
@@ -68,7 +68,7 @@ end
...
@@ -68,7 +68,7 @@ end
function
c100227040
.
atkcost2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c100227040
.
atkcost2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
chk
==
0
then
return
c
:
GetFlagEffect
(
100227040
)
==
0
end
if
chk
==
0
then
return
c
:
GetFlagEffect
(
100227040
)
==
0
end
c
:
RegisterFlagEffect
(
100227040
,
RESET_EVENT
+
0x1fe0000
+
RESET_PHASE
+
PHASE_DAMAGE_CAL
,
0
,
1
)
c
:
RegisterFlagEffect
(
100227040
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_DAMAGE_CAL
,
0
,
1
)
end
end
function
c100227040
.
atkcon2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c100227040
.
atkcon2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
a
=
Duel
.
GetAttacker
()
local
a
=
Duel
.
GetAttacker
()
...
@@ -84,13 +84,13 @@ function c100227040.atkop2(e,tp,eg,ep,ev,re,r,rp)
...
@@ -84,13 +84,13 @@ function c100227040.atkop2(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
e1
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
e1
:
SetValue
(
a
:
GetLevel
()
*
200
)
e1
:
SetValue
(
a
:
GetLevel
()
*
200
)
e1
:
SetReset
(
RESET_EVENT
+
0x1fe0000
+
RESET_PHASE
+
PHASE_DAMAGE_CAL
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_DAMAGE_CAL
)
a
:
RegisterEffect
(
e1
)
a
:
RegisterEffect
(
e1
)
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
e2
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
e2
:
SetValue
(
d
:
GetLevel
()
*
200
)
e2
:
SetValue
(
d
:
GetLevel
()
*
200
)
e2
:
SetReset
(
RESET_EVENT
+
0x1fe0000
+
RESET_PHASE
+
PHASE_DAMAGE_CAL
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_DAMAGE_CAL
)
d
:
RegisterEffect
(
e2
)
d
:
RegisterEffect
(
e2
)
end
end
end
end
...
...
script/c100227042.lua
View file @
822c928b
...
@@ -50,7 +50,7 @@ function c100227042.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -50,7 +50,7 @@ function c100227042.spop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e1
:
SetCode
(
EFFECT_CANNOT_BE_LINK_MATERIAL
)
e1
:
SetCode
(
EFFECT_CANNOT_BE_LINK_MATERIAL
)
e1
:
SetValue
(
1
)
e1
:
SetValue
(
1
)
e1
:
SetReset
(
RESET_EVENT
+
0x1fe0000
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
c
:
RegisterEffect
(
e1
,
true
)
c
:
RegisterEffect
(
e1
,
true
)
Duel
.
SpecialSummonComplete
()
Duel
.
SpecialSummonComplete
()
end
end
...
...
script/c100227044.lua
View file @
822c928b
...
@@ -33,7 +33,7 @@ function c100227044.initial_effect(c)
...
@@ -33,7 +33,7 @@ function c100227044.initial_effect(c)
e3
:
SetCode
(
EVENT_FREE_CHAIN
)
e3
:
SetCode
(
EVENT_FREE_CHAIN
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetCountLimit
(
1
)
e3
:
SetCountLimit
(
1
)
e3
:
SetHintTiming
(
0
,
0x1e0
)
e3
:
SetHintTiming
(
0
,
TIMINGS_CHECK_MONSTER
+
TIMING_END_PHASE
)
e3
:
SetTarget
(
c100227044
.
postg
)
e3
:
SetTarget
(
c100227044
.
postg
)
e3
:
SetOperation
(
c100227044
.
posop
)
e3
:
SetOperation
(
c100227044
.
posop
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
...
@@ -66,12 +66,12 @@ function c100227044.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -66,12 +66,12 @@ function c100227044.spop(e,tp,eg,ep,ev,re,r,rp)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_DISABLE
)
e1
:
SetCode
(
EFFECT_DISABLE
)
e1
:
SetReset
(
RESET_EVENT
+
0x1fe0000
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
tc
:
RegisterEffect
(
e1
,
true
)
tc
:
RegisterEffect
(
e1
,
true
)
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetCode
(
EFFECT_DISABLE_EFFECT
)
e2
:
SetCode
(
EFFECT_DISABLE_EFFECT
)
e2
:
SetReset
(
RESET_EVENT
+
0x1fe0000
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
tc
:
RegisterEffect
(
e2
,
true
)
tc
:
RegisterEffect
(
e2
,
true
)
Duel
.
SpecialSummonComplete
()
Duel
.
SpecialSummonComplete
()
end
end
...
...
script/c100228003.lua
View file @
822c928b
...
@@ -48,7 +48,7 @@ function c100228003.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -48,7 +48,7 @@ function c100228003.activate(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e1
:
SetCode
(
EFFECT_CANNOT_ATTACK
)
e1
:
SetCode
(
EFFECT_CANNOT_ATTACK
)
e1
:
SetReset
(
RESET_EVENT
+
0x1fe0000
+
RESET_PHASE
+
PHASE_END
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
local
tc
=
Duel
.
GetFirstTarget
()
local
tc
=
Duel
.
GetFirstTarget
()
...
...
script/c100334041.lua
View file @
822c928b
...
@@ -46,7 +46,7 @@ function c100334041.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -46,7 +46,7 @@ function c100334041.operation(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_EXTRA_ATTACK_MONSTER
)
e1
:
SetCode
(
EFFECT_EXTRA_ATTACK_MONSTER
)
e1
:
SetValue
(
e
:
GetHandler
():
GetLinkedGroupCount
())
e1
:
SetValue
(
e
:
GetHandler
():
GetLinkedGroupCount
())
e1
:
SetReset
(
RESET_EVENT
+
0x1fe0000
+
RESET_PHASE
+
PHASE_BATTLE
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_BATTLE
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
...
@@ -55,7 +55,7 @@ function c100334041.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -55,7 +55,7 @@ function c100334041.operation(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetCondition
(
c100334041
.
atkcon
)
e2
:
SetCondition
(
c100334041
.
atkcon
)
e2
:
SetValue
(
-
400
)
e2
:
SetValue
(
-
400
)
e1
:
SetReset
(
RESET_EVENT
+
0x1fe0000
+
RESET_PHASE
+
PHASE_END
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
end
end
...
@@ -75,7 +75,7 @@ function c100334041.regop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -75,7 +75,7 @@ function c100334041.regop(e,tp,eg,ep,ev,re,r,rp)
if
ct
then
if
ct
then
c
:
SetFlagEffectLabel
(
100334041
,
ct
+
1
)
c
:
SetFlagEffectLabel
(
100334041
,
ct
+
1
)
else
else
c
:
RegisterFlagEffect
(
100334041
,
RESET_EVENT
+
0x1fe0000
+
RESET_PHASE
+
PHASE_END
,
0
,
1
,
1
)
c
:
RegisterFlagEffect
(
100334041
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
0
,
1
,
1
)
end
end
end
end
function
c100334041
.
drtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c100334041
.
drtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
script/c100334042.lua
View file @
822c928b
...
@@ -54,7 +54,7 @@ function c100334042.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -54,7 +54,7 @@ function c100334042.spop(e,tp,eg,ep,ev,re,r,rp)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_DISABLE
)
e1
:
SetCode
(
EFFECT_DISABLE
)
e1
:
SetReset
(
RESET_EVENT
+
0x1fe0000
+
RESET_PHASE
+
PHASE_END
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
tc
:
RegisterEffect
(
e1
)
tc
:
RegisterEffect
(
e1
)
local
e2
=
e1
:
Clone
()
local
e2
=
e1
:
Clone
()
e2
:
SetCode
(
EFFECT_DISABLE_EFFECT
)
e2
:
SetCode
(
EFFECT_DISABLE_EFFECT
)
...
...
script/c100409001.lua
View file @
822c928b
...
@@ -57,13 +57,13 @@ function c100409001.posop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -57,13 +57,13 @@ function c100409001.posop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_SET_ATTACK_FINAL
)
e1
:
SetCode
(
EFFECT_SET_ATTACK_FINAL
)
e1
:
SetValue
(
0
)
e1
:
SetValue
(
0
)
e1
:
SetReset
(
RESET_EVENT
+
0x1fe0000
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
tc
:
RegisterEffect
(
e1
)
tc
:
RegisterEffect
(
e1
)
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetCode
(
EFFECT_SET_DEFENSE_FINAL
)
e2
:
SetCode
(
EFFECT_SET_DEFENSE_FINAL
)
e2
:
SetValue
(
0
)
e2
:
SetValue
(
0
)
e2
:
SetReset
(
RESET_EVENT
+
0x1fe0000
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
tc
:
RegisterEffect
(
e2
)
tc
:
RegisterEffect
(
e2
)
end
end
tc
=
tg
:
GetNext
()
tc
=
tg
:
GetNext
()
...
@@ -73,7 +73,7 @@ function c100409001.posop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -73,7 +73,7 @@ function c100409001.posop(e,tp,eg,ep,ev,re,r,rp)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
)
e3
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e3
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e3
:
SetCode
(
EFFECT_PIERCE
)
e3
:
SetCode
(
EFFECT_PIERCE
)
e3
:
SetReset
(
RESET_EVENT
+
0x1fe0000
+
RESET_PHASE
+
PHASE_END
)
e3
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
end
end
end
end
script/c100409002.lua
View file @
822c928b
...
@@ -48,7 +48,7 @@ function c100409002.negop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -48,7 +48,7 @@ function c100409002.negop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e1
:
SetCode
(
EFFECT_DISABLE
)
e1
:
SetCode
(
EFFECT_DISABLE
)
e1
:
SetReset
(
RESET_EVENT
+
0x1fe0000
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
tc
:
RegisterEffect
(
e1
)
tc
:
RegisterEffect
(
e1
)
local
e2
=
e1
:
Clone
()
local
e2
=
e1
:
Clone
()
e2
:
SetCode
(
EFFECT_DISABLE_EFFECT
)
e2
:
SetCode
(
EFFECT_DISABLE_EFFECT
)
...
...
script/c100409024.lua
View file @
822c928b
...
@@ -69,7 +69,7 @@ function c100409024.sumop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -69,7 +69,7 @@ function c100409024.sumop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
e1
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
e1
:
SetRange
(
LOCATION_SZONE
)
e1
:
SetRange
(
LOCATION_SZONE
)
e1
:
SetCountLimit
(
1
)
e1
:
SetCountLimit
(
1
)
e1
:
SetReset
(
RESET_EVENT
+
0x1fe0000
+
RESET_PHASE
+
PHASE_END
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
e1
:
SetOperation
(
c100409024
.
tgop
)
e1
:
SetOperation
(
c100409024
.
tgop
)
tc
:
RegisterEffect
(
e1
)
tc
:
RegisterEffect
(
e1
)
Duel
.
BreakEffect
()
Duel
.
BreakEffect
()
...
...
script/c100409035.lua
View file @
822c928b
...
@@ -65,7 +65,7 @@ function c100409035.atklimit(e,tp,eg,ep,ev,re,r,rp)
...
@@ -65,7 +65,7 @@ function c100409035.atklimit(e,tp,eg,ep,ev,re,r,rp)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_CANNOT_ATTACK
)
e1
:
SetCode
(
EFFECT_CANNOT_ATTACK
)
e1
:
SetReset
(
RESET_EVENT
+
0x1fe0000
+
RESET_PHASE
+
PHASE_END
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
e
:
GetHandler
():
RegisterEffect
(
e1
)
e
:
GetHandler
():
RegisterEffect
(
e1
)
end
end
function
c100409035
.
effcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c100409035
.
effcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
@@ -80,14 +80,14 @@ function c100409035.effop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -80,14 +80,14 @@ function c100409035.effop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetProperty
(
EFFECT_FLAG_CLIENT_HINT
)
e1
:
SetProperty
(
EFFECT_FLAG_CLIENT_HINT
)
e1
:
SetCode
(
EFFECT_BATTLE_DESTROY_REDIRECT
)
e1
:
SetCode
(
EFFECT_BATTLE_DESTROY_REDIRECT
)
e1
:
SetValue
(
LOCATION_REMOVED
)
e1
:
SetValue
(
LOCATION_REMOVED
)
e1
:
SetReset
(
RESET_EVENT
+
0x1fe0000
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
rc
:
RegisterEffect
(
e1
,
true
)
rc
:
RegisterEffect
(
e1
,
true
)
if
not
rc
:
IsType
(
TYPE_EFFECT
)
then
if
not
rc
:
IsType
(
TYPE_EFFECT
)
then
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetCode
(
EFFECT_ADD_TYPE
)
e2
:
SetCode
(
EFFECT_ADD_TYPE
)
e2
:
SetValue
(
TYPE_EFFECT
)
e2
:
SetValue
(
TYPE_EFFECT
)
e2
:
SetReset
(
RESET_EVENT
+
0x1fe0000
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
rc
:
RegisterEffect
(
e2
,
true
)
rc
:
RegisterEffect
(
e2
,
true
)
end
end
end
end
script/c101004083.lua
View file @
822c928b
...
@@ -63,16 +63,16 @@ function c101004083.mtop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -63,16 +63,16 @@ function c101004083.mtop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_BATTLE_DESTROY_REDIRECT
)
e1
:
SetCode
(
EFFECT_BATTLE_DESTROY_REDIRECT
)
e1
:
SetValue
(
LOCATION_REMOVED
)
e1
:
SetValue
(
LOCATION_REMOVED
)
e1
:
SetReset
(
RESET_EVENT
+
0x1fe0000
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
rc
:
RegisterEffect
(
e1
,
true
)
rc
:
RegisterEffect
(
e1
,
true
)
if
not
rc
:
IsType
(
TYPE_EFFECT
)
then
if
not
rc
:
IsType
(
TYPE_EFFECT
)
then
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetCode
(
EFFECT_ADD_TYPE
)
e2
:
SetCode
(
EFFECT_ADD_TYPE
)
e2
:
SetValue
(
TYPE_EFFECT
)
e2
:
SetValue
(
TYPE_EFFECT
)
e2
:
SetReset
(
RESET_EVENT
+
0x1fe0000
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
rc
:
RegisterEffect
(
e2
,
true
)
rc
:
RegisterEffect
(
e2
,
true
)
end
end
rc
:
RegisterFlagEffect
(
0
,
RESET_EVENT
+
0x1fe0000
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
0
,
aux
.
Stringid
(
101004083
,
1
))
rc
:
RegisterFlagEffect
(
0
,
RESET_EVENT
+
RESETS_STANDARD
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
0
,
aux
.
Stringid
(
101004083
,
1
))
Duel
.
RegisterFlagEffect
(
tp
,
101004083
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
Duel
.
RegisterFlagEffect
(
tp
,
101004083
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
end
end
script/c101004084.lua
View file @
822c928b
...
@@ -101,7 +101,7 @@ function c101004084.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -101,7 +101,7 @@ function c101004084.activate(e,tp,eg,ep,ev,re,r,rp)
Duel
.
BreakEffect
()
Duel
.
BreakEffect
()
Duel
.
SpecialSummon
(
tc
,
SUMMON_TYPE_RITUAL
,
tp
,
tp
,
false
,
true
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
tc
,
SUMMON_TYPE_RITUAL
,
tp
,
tp
,
false
,
true
,
POS_FACEUP
)
tc
:
CompleteProcedure
()
tc
:
CompleteProcedure
()
tc
:
RegisterFlagEffect
(
101004084
,
RESET_EVENT
+
0x1fe0000
+
RESET_PHASE
+
PHASE_END
,
0
,
2
)
tc
:
RegisterFlagEffect
(
101004084
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
0
,
2
)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
e1
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
...
...
script/c101004085.lua
View file @
822c928b
...
@@ -63,7 +63,7 @@ function c101004085.lvop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -63,7 +63,7 @@ function c101004085.lvop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_UPDATE_LEVEL
)
e1
:
SetCode
(
EFFECT_UPDATE_LEVEL
)
e1
:
SetValue
(
e
:
GetLabel
())
e1
:
SetValue
(
e
:
GetLabel
())
e1
:
SetReset
(
RESET_EVENT
+
0x1fe0000
+
RESET_PHASE
+
PHASE_END
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
tc
:
RegisterEffect
(
e1
)
tc
:
RegisterEffect
(
e1
)
end
end
end
end
...
@@ -81,7 +81,7 @@ function c101004085.atkop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -81,7 +81,7 @@ function c101004085.atkop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
e1
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
e1
:
SetValue
(
1000
)
e1
:
SetValue
(
1000
)
e1
:
SetReset
(
RESET_EVENT
+
0x1fe0000
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
tc
:
RegisterEffect
(
e1
)
tc
:
RegisterEffect
(
e1
)
end
end
end
end
script/c101004086.lua
View file @
822c928b
...
@@ -34,6 +34,6 @@ function c101004086.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -34,6 +34,6 @@ function c101004086.activate(e,tp,eg,ep,ev,re,r,rp)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_CANNOT_DIRECT_ATTACK
)
e1
:
SetCode
(
EFFECT_CANNOT_DIRECT_ATTACK
)
e1
:
SetReset
(
RESET_EVENT
+
0x1fe0000
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
tc
:
RegisterEffect
(
e1
)
tc
:
RegisterEffect
(
e1
)
end
end
script/c101004088.lua
View file @
822c928b
...
@@ -61,7 +61,7 @@ function c101004088.lvop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -61,7 +61,7 @@ function c101004088.lvop(e,tp,eg,ep,ev,re,r,rp)
e4
:
SetValue
(
1
)
e4
:
SetValue
(
1
)
e4
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
e4
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
e4
:
SetRange
(
LOCATION_MZONE
)
e4
:
SetRange
(
LOCATION_MZONE
)
e4
:
SetReset
(
RESET_EVENT
+
0x1ff0000
)
e4
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_DISABLE
)
c
:
RegisterEffect
(
e4
)
c
:
RegisterEffect
(
e4
)
end
end
end
end
...
@@ -84,7 +84,7 @@ function c101004088.negop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -84,7 +84,7 @@ function c101004088.negop(e,tp,eg,ep,ev,re,r,rp)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_UPDATE_LEVEL
)
e1
:
SetCode
(
EFFECT_UPDATE_LEVEL
)
e1
:
SetReset
(
RESET_EVENT
+
0x1ff0000
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_DISABLE
)
e1
:
SetValue
(
-
2
)
e1
:
SetValue
(
-
2
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
...
...
script/c101004089.lua
View file @
822c928b
...
@@ -61,7 +61,7 @@ function c101004089.rmop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -61,7 +61,7 @@ function c101004089.rmop(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsAbleToRemove
,
tp
,
LOCATION_HAND
+
LOCATION_ONFIELD
+
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
):
GetFirst
()
local
tc
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsAbleToRemove
,
tp
,
LOCATION_HAND
+
LOCATION_ONFIELD
+
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
):
GetFirst
()
if
tc
and
Duel
.
Remove
(
tc
,
POS_FACEUP
,
REASON_EFFECT
)
~=
0
if
tc
and
Duel
.
Remove
(
tc
,
POS_FACEUP
,
REASON_EFFECT
)
~=
0
and
tc
:
IsSetCard
(
0x107
)
and
tc
:
IsType
(
TYPE_FIELD
)
then
and
tc
:
IsSetCard
(
0x107
)
and
tc
:
IsType
(
TYPE_FIELD
)
then
tc
:
RegisterFlagEffect
(
101004089
,
RESET_EVENT
+
0x1fe0000
,
0
,
0
)
tc
:
RegisterFlagEffect
(
101004089
,
RESET_EVENT
+
RESETS_STANDARD
,
0
,
0
)
end
end
end
end
function
c101004089
.
winfilter
(
c
)
function
c101004089
.
winfilter
(
c
)
...
...
script/c101004090.lua
View file @
822c928b
...
@@ -98,7 +98,7 @@ function c101004090.lvlop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -98,7 +98,7 @@ function c101004090.lvlop(e,tp,eg,ep,ev,re,r,rp)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_UPDATE_LEVEL
)
e1
:
SetCode
(
EFFECT_UPDATE_LEVEL
)
e1
:
SetReset
(
RESET_EVENT
+
0x1fe0000
+
RESET_PHASE
+
PHASE_END
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
e1
:
SetValue
(
4
)
e1
:
SetValue
(
4
)
tc
:
RegisterEffect
(
e1
)
tc
:
RegisterEffect
(
e1
)
else
else
...
...
script/c101004091.lua
View file @
822c928b
...
@@ -44,7 +44,7 @@ function c101004091.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -44,7 +44,7 @@ function c101004091.activate(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_UPDATE_LEVEL
)
e1
:
SetCode
(
EFFECT_UPDATE_LEVEL
)
e1
:
SetReset
(
RESET_EVENT
+
0x1fe0000
+
RESET_PHASE
+
PHASE_END
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
e1
:
SetValue
(
3
)
e1
:
SetValue
(
3
)
tc
:
RegisterEffect
(
e1
)
tc
:
RegisterEffect
(
e1
)
end
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