Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro
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-520DIY
ygopro
Commits
9709bc37
Commit
9709bc37
authored
Jun 07, 2015
by
nekrozar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
155c0e2a
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
6 additions
and
6 deletions
+6
-6
script/c22200403.lua
script/c22200403.lua
+1
-1
script/c26509612.lua
script/c26509612.lua
+1
-1
script/c32543380.lua
script/c32543380.lua
+1
-1
script/c86676862.lua
script/c86676862.lua
+1
-1
script/c90740329.lua
script/c90740329.lua
+1
-1
script/utility.lua
script/utility.lua
+1
-1
No files found.
script/c22200403.lua
View file @
9709bc37
...
@@ -37,7 +37,7 @@ function c22200403.initial_effect(c)
...
@@ -37,7 +37,7 @@ function c22200403.initial_effect(c)
e5
:
SetType
(
EFFECT_TYPE_SINGLE
)
e5
:
SetType
(
EFFECT_TYPE_SINGLE
)
e5
:
SetCode
(
EFFECT_MUST_BE_ATTACKED
)
e5
:
SetCode
(
EFFECT_MUST_BE_ATTACKED
)
e5
:
SetCondition
(
c22200403
.
effcon
)
e5
:
SetCondition
(
c22200403
.
effcon
)
e5
:
SetValue
(
1
)
e5
:
SetValue
(
aux
.
imval
1
)
e5
:
SetLabel
(
3
)
e5
:
SetLabel
(
3
)
c
:
RegisterEffect
(
e5
)
c
:
RegisterEffect
(
e5
)
local
e6
=
Effect
.
CreateEffect
(
c
)
local
e6
=
Effect
.
CreateEffect
(
c
)
...
...
script/c26509612.lua
View file @
9709bc37
...
@@ -44,7 +44,7 @@ function c26509612.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -44,7 +44,7 @@ function c26509612.activate(e,tp,eg,ep,ev,re,r,rp)
Duel
.
RegisterEffect
(
e3
,
tp
)
Duel
.
RegisterEffect
(
e3
,
tp
)
end
end
function
c26509612
.
attg
(
e
,
c
)
function
c26509612
.
attg
(
e
,
c
)
return
c
:
IsLevelBelow
(
4
)
return
c
:
IsLevelBelow
(
4
)
and
not
c
:
IsImmuneToEffect
(
e
)
end
end
function
c26509612
.
attg2
(
e
,
c
)
function
c26509612
.
attg2
(
e
,
c
)
return
c
:
IsCode
(
74711057
)
return
c
:
IsCode
(
74711057
)
...
...
script/c32543380.lua
View file @
9709bc37
...
@@ -22,7 +22,7 @@ function c32543380.initial_effect(c)
...
@@ -22,7 +22,7 @@ function c32543380.initial_effect(c)
e3
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
e3
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
e3
:
SetCode
(
EFFECT_MUST_BE_ATTACKED
)
e3
:
SetCode
(
EFFECT_MUST_BE_ATTACKED
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetValue
(
1
)
e3
:
SetValue
(
aux
.
imval
1
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
--special summon
--special summon
local
e4
=
Effect
.
CreateEffect
(
c
)
local
e4
=
Effect
.
CreateEffect
(
c
)
...
...
script/c86676862.lua
View file @
9709bc37
...
@@ -32,7 +32,7 @@ function c86676862.initial_effect(c)
...
@@ -32,7 +32,7 @@ function c86676862.initial_effect(c)
e5
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
e5
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
e5
:
SetCode
(
EFFECT_MUST_BE_ATTACKED
)
e5
:
SetCode
(
EFFECT_MUST_BE_ATTACKED
)
e5
:
SetRange
(
LOCATION_MZONE
)
e5
:
SetRange
(
LOCATION_MZONE
)
e5
:
SetValue
(
1
)
e5
:
SetValue
(
aux
.
imval
1
)
c
:
RegisterEffect
(
e5
)
c
:
RegisterEffect
(
e5
)
end
end
function
c86676862
.
splimit
(
e
,
se
,
sp
,
st
)
function
c86676862
.
splimit
(
e
,
se
,
sp
,
st
)
...
...
script/c90740329.lua
View file @
9709bc37
...
@@ -26,7 +26,7 @@ function c90740329.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -26,7 +26,7 @@ function c90740329.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_MUST_BE_ATTACKED
)
e1
:
SetCode
(
EFFECT_MUST_BE_ATTACKED
)
e1
:
SetValue
(
1
)
e1
:
SetValue
(
aux
.
imval
1
)
e1
:
SetReset
(
RESET_EVENT
+
0x1fe0000
+
RESET_PHASE
+
PHASE_END
)
e1
:
SetReset
(
RESET_EVENT
+
0x1fe0000
+
RESET_PHASE
+
PHASE_END
)
tc
:
RegisterEffect
(
e1
)
tc
:
RegisterEffect
(
e1
)
end
end
...
...
script/utility.lua
View file @
9709bc37
...
@@ -1147,7 +1147,7 @@ function Auxiliary.chainreg(e,tp,eg,ep,ev,re,r,rp)
...
@@ -1147,7 +1147,7 @@ function Auxiliary.chainreg(e,tp,eg,ep,ev,re,r,rp)
e
:
GetHandler
():
RegisterFlagEffect
(
1
,
RESET_EVENT
+
0x1fc0000
+
RESET_CHAIN
,
0
,
1
)
e
:
GetHandler
():
RegisterFlagEffect
(
1
,
RESET_EVENT
+
0x1fc0000
+
RESET_CHAIN
,
0
,
1
)
end
end
end
end
--default filter for EFFECT_CANNOT_BE_BATTLE_TARGET
--default filter for EFFECT_CANNOT_BE_BATTLE_TARGET
/EFFECT_MUST_BE_ATTACKED
function
Auxiliary
.
imval1
(
e
,
c
)
function
Auxiliary
.
imval1
(
e
,
c
)
return
not
c
:
IsImmuneToEffect
(
e
)
return
not
c
:
IsImmuneToEffect
(
e
)
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