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
Show 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
function
c18486927
.
actlimit
(
e
,
re
,
tp
)
local
ct
=
e
:
GetLabel
()
return
re
:
IsActiveType
(
ct
)
and
(
ct
==
TYPE_MONSTER
or
re
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
))
and
not
re
:
GetHandler
():
IsImmuneToEffect
(
e
)
end
function
c18486927
.
actcon
(
e
)
local
tc
=
Duel
.
GetAttacker
()
...
...
c19048328.lua
View file @
6f6165cc
...
...
@@ -94,7 +94,6 @@ end
function
c19048328
.
aclimit
(
e
,
re
,
tp
)
local
att
=
e
:
GetLabelObject
():
GetLabel
()
return
re
:
IsActiveType
(
TYPE_MONSTER
)
and
bit
.
band
(
att
,
re
:
GetHandler
():
GetOriginalAttribute
())
~=
0
and
not
re
:
GetHandler
():
IsImmuneToEffect
(
e
)
end
function
c19048328
.
thcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
...
...
c33746252.lua
View file @
6f6165cc
...
...
@@ -17,5 +17,5 @@ function c33746252.initial_effect(c)
c
:
RegisterEffect
(
e2
)
end
function
c33746252
.
aclimit
(
e
,
re
,
tp
)
return
re
:
IsActiveType
(
TYPE_MONSTER
)
and
not
re
:
GetHandler
():
IsImmuneToEffect
(
e
)
return
re
:
IsActiveType
(
TYPE_MONSTER
)
end
c34522216.lua
View file @
6f6165cc
...
...
@@ -50,7 +50,7 @@ function c34522216.limcon(e)
end
function
c34522216
.
limval
(
e
,
re
,
rp
)
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
function
c34522216
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetTurnPlayer
()
==
tp
...
...
c34945480.lua
View file @
6f6165cc
...
...
@@ -46,7 +46,7 @@ function c34945480.sumsuc(e,tp,eg,ep,ev,re,r,rp)
Duel
.
RegisterEffect
(
e1
,
tp
)
end
function
c34945480
.
actlimit
(
e
,
re
,
tp
)
return
re
:
IsActiveType
(
TYPE_MONSTER
)
and
not
re
:
GetHandler
():
IsImmuneToEffect
(
e
)
return
re
:
IsActiveType
(
TYPE_MONSTER
)
end
function
c34945480
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
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)
Duel
.
RegisterEffect
(
e1
,
tp
)
end
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
c54719828.lua
View file @
6f6165cc
...
...
@@ -45,11 +45,11 @@ function c54719828.operation(e,tp,eg,ep,ev,re,r,rp)
Duel
.
RegisterEffect
(
e1
,
tp
)
end
function
c54719828
.
aclimit1
(
e
,
re
,
tp
)
return
re
:
IsActiveType
(
TYPE_MONSTER
)
and
not
re
:
GetHandler
():
IsImmuneToEffect
(
e
)
return
re
:
IsActiveType
(
TYPE_MONSTER
)
end
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
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
c72772445.lua
View file @
6f6165cc
...
...
@@ -21,7 +21,7 @@ function c72772445.initial_effect(c)
e3
:
SetCode
(
EFFECT_CANNOT_ACTIVATE
)
e3
:
SetRange
(
LOCATION_FZONE
)
e3
:
SetTargetRange
(
0
,
1
)
e3
:
SetValue
(
c72772445
.
aclimit
)
e3
:
SetValue
(
1
)
e3
:
SetCondition
(
c72772445
.
actcon
)
c
:
RegisterEffect
(
e3
)
--spsummon
...
...
@@ -39,9 +39,6 @@ end
function
c72772445
.
actfilter
(
c
,
tp
)
return
c
and
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0xe2
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsControler
(
tp
)
end
function
c72772445
.
aclimit
(
e
,
re
,
tp
)
return
not
re
:
GetHandler
():
IsImmuneToEffect
(
e
)
end
function
c72772445
.
actcon
(
e
)
local
tp
=
e
:
GetHandlerPlayer
()
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)
end
function
c76721030
.
aclimit
(
e
,
re
,
tp
)
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
c80696379.lua
View file @
6f6165cc
...
...
@@ -56,5 +56,5 @@ function c80696379.condition(e)
return
ph
>=
PHASE_BATTLE_START
and
ph
<=
PHASE_BATTLE
end
function
c80696379
.
aclimit
(
e
,
re
,
tp
)
return
re
:
IsActiveType
(
TYPE_MONSTER
)
and
not
re
:
GetHandler
():
IsImmuneToEffect
(
e
)
return
re
:
IsActiveType
(
TYPE_MONSTER
)
end
c86240887.lua
View file @
6f6165cc
...
...
@@ -60,5 +60,5 @@ function c86240887.target(e,c)
return
c
:
IsRace
(
RACE_DRAGON
)
end
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
c99000107.lua
View file @
6f6165cc
...
...
@@ -25,7 +25,7 @@ function c99000107.initial_effect(c)
end
function
c99000107
.
aclimit
(
e
,
re
,
tp
)
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
function
c99000107
.
tgcon
(
e
)
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