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
acb873bf
Commit
acb873bf
authored
May 15, 2016
by
woodee
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #409 from mercury233/patch-hint-get-effect
add hint for get effect
parents
a7c330e7
f51cd3c3
Changes
13
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
21 additions
and
3 deletions
+21
-3
c23639291.lua
c23639291.lua
+2
-0
c23681456.lua
c23681456.lua
+1
-0
c32013448.lua
c32013448.lua
+1
-0
c32465539.lua
c32465539.lua
+2
-1
c34680482.lua
c34680482.lua
+2
-0
c52709508.lua
c52709508.lua
+3
-0
c59975920.lua
c59975920.lua
+2
-1
c63227401.lua
c63227401.lua
+1
-0
c64726269.lua
c64726269.lua
+2
-1
c6628343.lua
c6628343.lua
+1
-0
c68950538.lua
c68950538.lua
+1
-0
c71345905.lua
c71345905.lua
+1
-0
c83272895.lua
c83272895.lua
+2
-0
No files found.
c23639291.lua
View file @
acb873bf
...
...
@@ -26,7 +26,9 @@ function c23639291.operation(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToEffect
(
e
)
and
Duel
.
SpecialSummonStep
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP_ATTACK
)
then
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetDescription
(
aux
.
Stringid
(
23639291
,
0
))
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CLIENT_HINT
)
e1
:
SetCode
(
EFFECT_CANNOT_CHANGE_POS_E
)
e1
:
SetReset
(
RESET_EVENT
+
0x1fe0000
)
tc
:
RegisterEffect
(
e1
)
...
...
c23681456.lua
View file @
acb873bf
...
...
@@ -28,6 +28,7 @@ function c23681456.operation(e,tp,eg,ep,ev,re,r,rp)
while
tc
do
Duel
.
SpecialSummonStep
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
tc
:
RegisterFlagEffect
(
23681456
,
RESET_EVENT
+
0x1fe0000
,
0
,
1
,
fid
)
tc
:
RegisterFlagEffect
(
0
,
RESET_EVENT
+
0x1fe0000
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
0
,
aux
.
Stringid
(
23681456
,
0
))
tc
=
g
:
GetNext
()
end
Duel
.
SpecialSummonComplete
()
...
...
c32013448.lua
View file @
acb873bf
...
...
@@ -58,6 +58,7 @@ function c32013448.mtop(e,tp,eg,ep,ev,re,r,rp)
e3
:
SetReset
(
RESET_EVENT
+
0x1fe0000
)
rc
:
RegisterEffect
(
e3
,
true
)
end
rc
:
RegisterFlagEffect
(
0
,
RESET_EVENT
+
0x1fe0000
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
0
,
aux
.
Stringid
(
32013448
,
2
))
Duel
.
RegisterFlagEffect
(
tp
,
32013448
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
end
function
c32013448
.
rmtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
...
...
c32465539.lua
View file @
acb873bf
...
...
@@ -62,8 +62,9 @@ function c32465539.efop(e,tp,eg,ep,ev,re,r,rp)
local
c
=
e
:
GetHandler
()
local
rc
=
c
:
GetReasonCard
()
local
e1
=
Effect
.
CreateEffect
(
rc
)
e1
:
SetDescription
(
aux
.
Stringid
(
32465539
,
1
))
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
+
EFFECT_FLAG_CLIENT_HINT
)
e1
:
SetCode
(
EFFECT_CANNOT_ACTIVATE
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetTargetRange
(
0
,
1
)
...
...
c34680482.lua
View file @
acb873bf
...
...
@@ -57,7 +57,9 @@ function c34680482.spop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
tc
:
RegisterFlagEffect
(
34680482
,
RESET_EVENT
+
0x1fe0000
,
0
,
1
,
Duel
.
GetTurnCount
())
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
34680482
,
2
))
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CLIENT_HINT
)
e1
:
SetCode
(
EFFECT_INDESTRUCTABLE_BATTLE
)
e1
:
SetValue
(
1
)
e1
:
SetReset
(
RESET_EVENT
+
0x1fe0000
)
...
...
c52709508.lua
View file @
acb873bf
...
...
@@ -45,6 +45,7 @@ function c52709508.regop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetOperation
(
c52709508
.
atkop
)
e1
:
SetReset
(
RESET_EVENT
+
0x1fe0000
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterFlagEffect
(
0
,
RESET_EVENT
+
0x1fe0000
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
0
,
aux
.
Stringid
(
52709508
,
2
))
end
if
bit
.
band
(
att
,
ATTRIBUTE_FIRE
)
~=
0
then
local
e1
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -58,6 +59,7 @@ function c52709508.regop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetOperation
(
c52709508
.
damop
)
e1
:
SetReset
(
RESET_EVENT
+
0x1fe0000
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterFlagEffect
(
0
,
RESET_EVENT
+
0x1fe0000
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
0
,
aux
.
Stringid
(
52709508
,
3
))
end
if
bit
.
band
(
att
,
ATTRIBUTE_LIGHT
)
~=
0
then
local
e1
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -71,6 +73,7 @@ function c52709508.regop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetOperation
(
c52709508
.
spop
)
e1
:
SetReset
(
RESET_EVENT
+
0x1fe0000
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterFlagEffect
(
0
,
RESET_EVENT
+
0x1fe0000
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
0
,
aux
.
Stringid
(
52709508
,
4
))
end
end
function
c52709508
.
atkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
c59975920.lua
View file @
acb873bf
...
...
@@ -72,9 +72,10 @@ function c59975920.spop(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToEffect
(
e
)
and
Duel
.
SpecialSummonStep
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
then
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetDescription
(
aux
.
Stringid
(
59975920
,
3
))
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_CANNOT_TRIGGER
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CLIENT_HINT
)
e1
:
SetReset
(
RESET_EVENT
+
0x1fe0000
)
tc
:
RegisterEffect
(
e1
)
Duel
.
SpecialSummonComplete
()
...
...
c63227401.lua
View file @
acb873bf
...
...
@@ -35,6 +35,7 @@ function c63227401.activate(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToEffect
(
e
)
then
tc
:
RegisterFlagEffect
(
63227401
,
RESET_EVENT
+
0x1fc0000
+
RESET_PHASE
+
PHASE_END
,
0
,
1
)
tc
:
RegisterFlagEffect
(
0
,
RESET_EVENT
+
0x1fc0000
+
RESET_PHASE
+
PHASE_END
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
0
,
aux
.
Stringid
(
63227401
,
1
))
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetCode
(
EVENT_CHAIN_SOLVING
)
...
...
c64726269.lua
View file @
acb873bf
...
...
@@ -53,9 +53,10 @@ function c64726269.effop(e,tp,eg,ep,ev,re,r,rp)
local
c
=
e
:
GetHandler
()
local
rc
=
c
:
GetReasonCard
()
local
e1
=
Effect
.
CreateEffect
(
rc
)
e1
:
SetDescription
(
aux
.
Stringid
(
64726269
,
2
))
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e1
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e1
:
SetProperty
(
EFFECT_FLAG_DELAY
+
EFFECT_FLAG_CLIENT_HINT
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetCountLimit
(
1
)
e1
:
SetCondition
(
c64726269
.
drcon
)
...
...
c6628343.lua
View file @
acb873bf
...
...
@@ -56,6 +56,7 @@ function c6628343.mtop(e,tp,eg,ep,ev,re,r,rp)
e3
:
SetReset
(
RESET_EVENT
+
0x1fe0000
)
rc
:
RegisterEffect
(
e3
,
true
)
end
rc
:
RegisterFlagEffect
(
0
,
RESET_EVENT
+
0x1fe0000
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
0
,
aux
.
Stringid
(
6628343
,
2
))
Duel
.
RegisterFlagEffect
(
tp
,
6628343
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
end
function
c6628343
.
rmtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
...
...
c68950538.lua
View file @
acb873bf
...
...
@@ -59,6 +59,7 @@ function c68950538.efop(e,tp,eg,ep,ev,re,r,rp)
local
e1
=
Effect
.
CreateEffect
(
rc
)
e1
:
SetDescription
(
aux
.
Stringid
(
68950538
,
1
))
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CLIENT_HINT
)
e1
:
SetCode
(
EFFECT_ATTACK_ALL
)
e1
:
SetValue
(
c68950538
.
atkfilter
)
e1
:
SetReset
(
RESET_EVENT
+
0x1fe0000
)
...
...
c71345905.lua
View file @
acb873bf
...
...
@@ -53,6 +53,7 @@ function c71345905.activate(e,tp,eg,ep,ev,re,r,rp)
local
e2
=
e1
:
Clone
()
e2
:
SetCode
(
EVENT_BE_BATTLE_TARGET
)
sc
:
RegisterEffect
(
e2
)
sc
:
RegisterFlagEffect
(
0
,
RESET_EVENT
+
0x1fe0000
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
0
,
aux
.
Stringid
(
71345905
,
0
))
end
end
function
c71345905
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
c83272895.lua
View file @
acb873bf
...
...
@@ -15,7 +15,9 @@ function c83272895.efop(e,tp,eg,ep,ev,re,r,rp)
local
c
=
e
:
GetHandler
()
local
rc
=
c
:
GetReasonCard
()
local
e1
=
Effect
.
CreateEffect
(
rc
)
e1
:
SetDescription
(
aux
.
Stringid
(
83272895
,
0
))
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CLIENT_HINT
)
e1
:
SetCode
(
EFFECT_PIERCE
)
e1
:
SetReset
(
RESET_EVENT
+
0x1fe0000
)
rc
:
RegisterEffect
(
e1
)
...
...
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