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
6f6165cc
Commit
6f6165cc
authored
Jun 27, 2019
by
DailyShana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ruling change of activation limit
parent
33912f94
Changes
12
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
12 additions
and
17 deletions
+12
-17
c18486927.lua
c18486927.lua
+0
-1
c19048328.lua
c19048328.lua
+0
-1
c33746252.lua
c33746252.lua
+1
-1
c34522216.lua
c34522216.lua
+1
-1
c34945480.lua
c34945480.lua
+1
-1
c44663232.lua
c44663232.lua
+1
-1
c54719828.lua
c54719828.lua
+3
-3
c72772445.lua
c72772445.lua
+1
-4
c76721030.lua
c76721030.lua
+1
-1
c80696379.lua
c80696379.lua
+1
-1
c86240887.lua
c86240887.lua
+1
-1
c99000107.lua
c99000107.lua
+1
-1
No files found.
c18486927.lua
View file @
6f6165cc
...
@@ -52,7 +52,6 @@ end
...
@@ -52,7 +52,6 @@ end
function
c18486927
.
actlimit
(
e
,
re
,
tp
)
function
c18486927
.
actlimit
(
e
,
re
,
tp
)
local
ct
=
e
:
GetLabel
()
local
ct
=
e
:
GetLabel
()
return
re
:
IsActiveType
(
ct
)
and
(
ct
==
TYPE_MONSTER
or
re
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
))
return
re
:
IsActiveType
(
ct
)
and
(
ct
==
TYPE_MONSTER
or
re
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
))
and
not
re
:
GetHandler
():
IsImmuneToEffect
(
e
)
end
end
function
c18486927
.
actcon
(
e
)
function
c18486927
.
actcon
(
e
)
local
tc
=
Duel
.
GetAttacker
()
local
tc
=
Duel
.
GetAttacker
()
...
...
c19048328.lua
View file @
6f6165cc
...
@@ -94,7 +94,6 @@ end
...
@@ -94,7 +94,6 @@ end
function
c19048328
.
aclimit
(
e
,
re
,
tp
)
function
c19048328
.
aclimit
(
e
,
re
,
tp
)
local
att
=
e
:
GetLabelObject
():
GetLabel
()
local
att
=
e
:
GetLabelObject
():
GetLabel
()
return
re
:
IsActiveType
(
TYPE_MONSTER
)
and
bit
.
band
(
att
,
re
:
GetHandler
():
GetOriginalAttribute
())
~=
0
return
re
:
IsActiveType
(
TYPE_MONSTER
)
and
bit
.
band
(
att
,
re
:
GetHandler
():
GetOriginalAttribute
())
~=
0
and
not
re
:
GetHandler
():
IsImmuneToEffect
(
e
)
end
end
function
c19048328
.
thcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c19048328
.
thcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
...
...
c33746252.lua
View file @
6f6165cc
...
@@ -17,5 +17,5 @@ function c33746252.initial_effect(c)
...
@@ -17,5 +17,5 @@ function c33746252.initial_effect(c)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
function
c33746252
.
aclimit
(
e
,
re
,
tp
)
function
c33746252
.
aclimit
(
e
,
re
,
tp
)
return
re
:
IsActiveType
(
TYPE_MONSTER
)
and
not
re
:
GetHandler
():
IsImmuneToEffect
(
e
)
return
re
:
IsActiveType
(
TYPE_MONSTER
)
end
end
c34522216.lua
View file @
6f6165cc
...
@@ -50,7 +50,7 @@ function c34522216.limcon(e)
...
@@ -50,7 +50,7 @@ function c34522216.limcon(e)
end
end
function
c34522216
.
limval
(
e
,
re
,
rp
)
function
c34522216
.
limval
(
e
,
re
,
rp
)
local
rc
=
re
:
GetHandler
()
local
rc
=
re
:
GetHandler
()
return
re
:
IsActiveType
(
TYPE_MONSTER
)
and
not
rc
:
IsSetCard
(
0xe0
)
and
not
rc
:
IsImmuneToEffect
(
e
)
return
re
:
IsActiveType
(
TYPE_MONSTER
)
and
not
rc
:
IsSetCard
(
0xe0
)
end
end
function
c34522216
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c34522216
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetTurnPlayer
()
==
tp
return
Duel
.
GetTurnPlayer
()
==
tp
...
...
c34945480.lua
View file @
6f6165cc
...
@@ -46,7 +46,7 @@ function c34945480.sumsuc(e,tp,eg,ep,ev,re,r,rp)
...
@@ -46,7 +46,7 @@ function c34945480.sumsuc(e,tp,eg,ep,ev,re,r,rp)
Duel
.
RegisterEffect
(
e1
,
tp
)
Duel
.
RegisterEffect
(
e1
,
tp
)
end
end
function
c34945480
.
actlimit
(
e
,
re
,
tp
)
function
c34945480
.
actlimit
(
e
,
re
,
tp
)
return
re
:
IsActiveType
(
TYPE_MONSTER
)
and
not
re
:
GetHandler
():
IsImmuneToEffect
(
e
)
return
re
:
IsActiveType
(
TYPE_MONSTER
)
end
end
function
c34945480
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c34945480
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
e
:
GetHandler
():
GetOverlayGroup
()
local
g
=
e
:
GetHandler
():
GetOverlayGroup
()
...
...
c44663232.lua
View file @
6f6165cc
...
@@ -33,5 +33,5 @@ function c44663232.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -33,5 +33,5 @@ function c44663232.operation(e,tp,eg,ep,ev,re,r,rp)
Duel
.
RegisterEffect
(
e1
,
tp
)
Duel
.
RegisterEffect
(
e1
,
tp
)
end
end
function
c44663232
.
val
(
e
,
re
,
tp
)
function
c44663232
.
val
(
e
,
re
,
tp
)
return
re
:
IsActiveType
(
TYPE_MONSTER
)
and
re
:
GetHandler
():
IsLevelAbove
(
e
:
GetLabel
())
and
not
re
:
GetHandler
():
IsImmuneToEffect
(
e
)
return
re
:
IsActiveType
(
TYPE_MONSTER
)
and
re
:
GetHandler
():
IsLevelAbove
(
e
:
GetLabel
())
end
end
c54719828.lua
View file @
6f6165cc
...
@@ -45,11 +45,11 @@ function c54719828.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -45,11 +45,11 @@ function c54719828.operation(e,tp,eg,ep,ev,re,r,rp)
Duel
.
RegisterEffect
(
e1
,
tp
)
Duel
.
RegisterEffect
(
e1
,
tp
)
end
end
function
c54719828
.
aclimit1
(
e
,
re
,
tp
)
function
c54719828
.
aclimit1
(
e
,
re
,
tp
)
return
re
:
IsActiveType
(
TYPE_MONSTER
)
and
not
re
:
GetHandler
():
IsImmuneToEffect
(
e
)
return
re
:
IsActiveType
(
TYPE_MONSTER
)
end
end
function
c54719828
.
aclimit2
(
e
,
re
,
tp
)
function
c54719828
.
aclimit2
(
e
,
re
,
tp
)
return
re
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
and
re
:
IsActiveType
(
TYPE_SPELL
)
and
not
re
:
GetHandler
():
IsImmuneToEffect
(
e
)
return
re
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
and
re
:
IsActiveType
(
TYPE_SPELL
)
end
end
function
c54719828
.
aclimit3
(
e
,
re
,
tp
)
function
c54719828
.
aclimit3
(
e
,
re
,
tp
)
return
re
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
and
re
:
IsActiveType
(
TYPE_TRAP
)
and
not
re
:
GetHandler
():
IsImmuneToEffect
(
e
)
return
re
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
and
re
:
IsActiveType
(
TYPE_TRAP
)
end
end
c72772445.lua
View file @
6f6165cc
...
@@ -21,7 +21,7 @@ function c72772445.initial_effect(c)
...
@@ -21,7 +21,7 @@ function c72772445.initial_effect(c)
e3
:
SetCode
(
EFFECT_CANNOT_ACTIVATE
)
e3
:
SetCode
(
EFFECT_CANNOT_ACTIVATE
)
e3
:
SetRange
(
LOCATION_FZONE
)
e3
:
SetRange
(
LOCATION_FZONE
)
e3
:
SetTargetRange
(
0
,
1
)
e3
:
SetTargetRange
(
0
,
1
)
e3
:
SetValue
(
c72772445
.
aclimit
)
e3
:
SetValue
(
1
)
e3
:
SetCondition
(
c72772445
.
actcon
)
e3
:
SetCondition
(
c72772445
.
actcon
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
--spsummon
--spsummon
...
@@ -39,9 +39,6 @@ end
...
@@ -39,9 +39,6 @@ end
function
c72772445
.
actfilter
(
c
,
tp
)
function
c72772445
.
actfilter
(
c
,
tp
)
return
c
and
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0xe2
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsControler
(
tp
)
return
c
and
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0xe2
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsControler
(
tp
)
end
end
function
c72772445
.
aclimit
(
e
,
re
,
tp
)
return
not
re
:
GetHandler
():
IsImmuneToEffect
(
e
)
end
function
c72772445
.
actcon
(
e
)
function
c72772445
.
actcon
(
e
)
local
tp
=
e
:
GetHandlerPlayer
()
local
tp
=
e
:
GetHandlerPlayer
()
return
c72772445
.
actfilter
(
Duel
.
GetAttacker
(),
tp
)
or
c72772445
.
actfilter
(
Duel
.
GetAttackTarget
(),
tp
)
return
c72772445
.
actfilter
(
Duel
.
GetAttacker
(),
tp
)
or
c72772445
.
actfilter
(
Duel
.
GetAttackTarget
(),
tp
)
...
...
c76721030.lua
View file @
6f6165cc
...
@@ -23,5 +23,5 @@ function c76721030.cost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -23,5 +23,5 @@ function c76721030.cost(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c76721030
.
aclimit
(
e
,
re
,
tp
)
function
c76721030
.
aclimit
(
e
,
re
,
tp
)
local
loc
=
re
:
GetActivateLocation
()
local
loc
=
re
:
GetActivateLocation
()
return
(
loc
==
LOCATION_MZONE
or
loc
==
LOCATION_HAND
)
and
re
:
IsActiveType
(
TYPE_MONSTER
)
and
not
re
:
GetHandler
():
IsImmuneToEffect
(
e
)
return
(
loc
==
LOCATION_MZONE
or
loc
==
LOCATION_HAND
)
and
re
:
IsActiveType
(
TYPE_MONSTER
)
end
end
c80696379.lua
View file @
6f6165cc
...
@@ -56,5 +56,5 @@ function c80696379.condition(e)
...
@@ -56,5 +56,5 @@ function c80696379.condition(e)
return
ph
>=
PHASE_BATTLE_START
and
ph
<=
PHASE_BATTLE
return
ph
>=
PHASE_BATTLE_START
and
ph
<=
PHASE_BATTLE
end
end
function
c80696379
.
aclimit
(
e
,
re
,
tp
)
function
c80696379
.
aclimit
(
e
,
re
,
tp
)
return
re
:
IsActiveType
(
TYPE_MONSTER
)
and
not
re
:
GetHandler
():
IsImmuneToEffect
(
e
)
return
re
:
IsActiveType
(
TYPE_MONSTER
)
end
end
c86240887.lua
View file @
6f6165cc
...
@@ -60,5 +60,5 @@ function c86240887.target(e,c)
...
@@ -60,5 +60,5 @@ function c86240887.target(e,c)
return
c
:
IsRace
(
RACE_DRAGON
)
return
c
:
IsRace
(
RACE_DRAGON
)
end
end
function
c86240887
.
aclimit
(
e
,
re
,
tp
)
function
c86240887
.
aclimit
(
e
,
re
,
tp
)
return
re
:
GetHandler
():
IsRace
(
RACE_DRAGON
)
and
re
:
IsActiveType
(
TYPE_MONSTER
)
and
not
re
:
GetHandler
():
IsImmuneToEffect
(
e
)
return
re
:
GetHandler
():
IsRace
(
RACE_DRAGON
)
and
re
:
IsActiveType
(
TYPE_MONSTER
)
end
end
c99000107.lua
View file @
6f6165cc
...
@@ -25,7 +25,7 @@ function c99000107.initial_effect(c)
...
@@ -25,7 +25,7 @@ function c99000107.initial_effect(c)
end
end
function
c99000107
.
aclimit
(
e
,
re
,
tp
)
function
c99000107
.
aclimit
(
e
,
re
,
tp
)
local
tc
=
re
:
GetHandler
()
local
tc
=
re
:
GetHandler
()
return
tc
:
IsLocation
(
LOCATION_MZONE
)
and
tc
:
IsFaceup
()
and
tc
:
IsAttackPos
()
and
re
:
IsActiveType
(
TYPE_MONSTER
)
and
not
tc
:
IsImmuneToEffect
(
e
)
return
tc
:
IsLocation
(
LOCATION_MZONE
)
and
tc
:
IsFaceup
()
and
tc
:
IsAttackPos
()
and
re
:
IsActiveType
(
TYPE_MONSTER
)
end
end
function
c99000107
.
tgcon
(
e
)
function
c99000107
.
tgcon
(
e
)
return
e
:
GetHandler
():
IsDefensePos
()
return
e
:
GetHandler
():
IsDefensePos
()
...
...
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