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
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-scripts
Commits
1d45af36
Commit
1d45af36
authored
Dec 05, 2019
by
nekrozar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix HINT_CARD
https://github.com/Fluorohydride/ygopro/blob/master/gframe/single_mode.cpp#L191
parent
b88a06cc
Changes
12
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
12 additions
and
12 deletions
+12
-12
c17228908.lua
c17228908.lua
+1
-1
c22862454.lua
c22862454.lua
+1
-1
c26232916.lua
c26232916.lua
+1
-1
c28053763.lua
c28053763.lua
+1
-1
c53503015.lua
c53503015.lua
+1
-1
c59496924.lua
c59496924.lua
+1
-1
c675319.lua
c675319.lua
+1
-1
c72330894.lua
c72330894.lua
+1
-1
c75884822.lua
c75884822.lua
+1
-1
c80476891.lua
c80476891.lua
+1
-1
c88021907.lua
c88021907.lua
+1
-1
c93854893.lua
c93854893.lua
+1
-1
No files found.
c17228908.lua
View file @
1d45af36
...
@@ -117,7 +117,7 @@ function c17228908.repval(e,c)
...
@@ -117,7 +117,7 @@ function c17228908.repval(e,c)
return
c17228908
.
repfilter
(
c
,
e
:
GetHandlerPlayer
())
return
c17228908
.
repfilter
(
c
,
e
:
GetHandlerPlayer
())
end
end
function
c17228908
.
repop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c17228908
.
repop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_CARD
,
1
-
tp
,
17228908
)
Duel
.
Hint
(
HINT_CARD
,
0
,
17228908
)
local
tg
=
e
:
GetLabelObject
()
local
tg
=
e
:
GetLabelObject
()
local
tc
=
tg
:
GetFirst
()
local
tc
=
tg
:
GetFirst
()
while
tc
do
while
tc
do
...
...
c22862454.lua
View file @
1d45af36
...
@@ -38,7 +38,7 @@ function c22862454.desrepval(e,c)
...
@@ -38,7 +38,7 @@ function c22862454.desrepval(e,c)
return
c22862454
.
repfilter
(
c
,
e
:
GetHandlerPlayer
())
return
c22862454
.
repfilter
(
c
,
e
:
GetHandlerPlayer
())
end
end
function
c22862454
.
desrepop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c22862454
.
desrepop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_CARD
,
1
-
tp
,
22862454
)
Duel
.
Hint
(
HINT_CARD
,
0
,
22862454
)
local
tc
=
e
:
GetLabelObject
()
local
tc
=
e
:
GetLabelObject
()
tc
:
SetStatus
(
STATUS_DESTROY_CONFIRMED
,
false
)
tc
:
SetStatus
(
STATUS_DESTROY_CONFIRMED
,
false
)
Duel
.
Destroy
(
tc
,
REASON_EFFECT
+
REASON_REPLACE
)
Duel
.
Destroy
(
tc
,
REASON_EFFECT
+
REASON_REPLACE
)
...
...
c26232916.lua
View file @
1d45af36
...
@@ -94,7 +94,7 @@ function c26232916.reptg(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -94,7 +94,7 @@ function c26232916.reptg(e,tp,eg,ep,ev,re,r,rp,chk)
return
false
return
false
end
end
function
c26232916
.
repop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c26232916
.
repop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_CARD
,
1
-
tp
,
26232916
)
Duel
.
Hint
(
HINT_CARD
,
0
,
26232916
)
local
tc
=
e
:
GetLabelObject
()
local
tc
=
e
:
GetLabelObject
()
Duel
.
Remove
(
tc
,
POS_FACEUP
,
REASON_EFFECT
+
REASON_REPLACE
)
Duel
.
Remove
(
tc
,
POS_FACEUP
,
REASON_EFFECT
+
REASON_REPLACE
)
end
end
c28053763.lua
View file @
1d45af36
...
@@ -55,7 +55,7 @@ end
...
@@ -55,7 +55,7 @@ end
function
c28053763
.
tkop2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c28053763
.
tkop2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
GetLocationCount
(
1
-
tp
,
LOCATION_MZONE
)
<=
0
then
return
end
if
Duel
.
GetLocationCount
(
1
-
tp
,
LOCATION_MZONE
)
<=
0
then
return
end
if
not
Duel
.
IsPlayerCanSpecialSummonMonster
(
1
-
tp
,
28053764
,
0
,
0x4011
,
300
,
300
,
1
,
RACE_MACHINE
,
ATTRIBUTE_EARTH
,
POS_FACEUP_ATTACK
)
then
return
end
if
not
Duel
.
IsPlayerCanSpecialSummonMonster
(
1
-
tp
,
28053764
,
0
,
0x4011
,
300
,
300
,
1
,
RACE_MACHINE
,
ATTRIBUTE_EARTH
,
POS_FACEUP_ATTACK
)
then
return
end
Duel
.
Hint
(
HINT_CARD
,
PLAYER_ALL
,
28053763
)
Duel
.
Hint
(
HINT_CARD
,
0
,
28053763
)
local
token
=
Duel
.
CreateToken
(
1
-
tp
,
28053764
)
local
token
=
Duel
.
CreateToken
(
1
-
tp
,
28053764
)
Duel
.
SpecialSummon
(
token
,
0
,
1
-
tp
,
1
-
tp
,
false
,
false
,
POS_FACEUP_ATTACK
)
Duel
.
SpecialSummon
(
token
,
0
,
1
-
tp
,
1
-
tp
,
false
,
false
,
POS_FACEUP_ATTACK
)
end
end
c53503015.lua
View file @
1d45af36
...
@@ -69,7 +69,7 @@ function c53503015.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -69,7 +69,7 @@ function c53503015.operation(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
function
c53503015
.
drop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c53503015
.
drop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_CARD
,
tp
,
53503015
)
Duel
.
Hint
(
HINT_CARD
,
0
,
53503015
)
if
Duel
.
Draw
(
tp
,
2
,
REASON_EFFECT
)
==
2
then
if
Duel
.
Draw
(
tp
,
2
,
REASON_EFFECT
)
==
2
then
Duel
.
ShuffleHand
(
tp
)
Duel
.
ShuffleHand
(
tp
)
Duel
.
BreakEffect
()
Duel
.
BreakEffect
()
...
...
c59496924.lua
View file @
1d45af36
...
@@ -46,7 +46,7 @@ function c59496924.repval(e,c)
...
@@ -46,7 +46,7 @@ function c59496924.repval(e,c)
return
c59496924
.
repfilter
(
c
,
e
:
GetHandlerPlayer
())
return
c59496924
.
repfilter
(
c
,
e
:
GetHandlerPlayer
())
end
end
function
c59496924
.
repop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c59496924
.
repop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_CARD
,
1
-
tp
,
59496924
)
Duel
.
Hint
(
HINT_CARD
,
0
,
59496924
)
local
tc
=
e
:
GetLabelObject
()
local
tc
=
e
:
GetLabelObject
()
tc
:
SetStatus
(
STATUS_DESTROY_CONFIRMED
,
false
)
tc
:
SetStatus
(
STATUS_DESTROY_CONFIRMED
,
false
)
Duel
.
Destroy
(
tc
,
REASON_EFFECT
+
REASON_REPLACE
)
Duel
.
Destroy
(
tc
,
REASON_EFFECT
+
REASON_REPLACE
)
...
...
c675319.lua
View file @
1d45af36
...
@@ -74,7 +74,7 @@ function c675319.repval(e,c)
...
@@ -74,7 +74,7 @@ function c675319.repval(e,c)
return
c
==
e
:
GetLabelObject
()
return
c
==
e
:
GetLabelObject
()
end
end
function
c675319
.
repop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c675319
.
repop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_CARD
,
1
-
tp
,
675319
)
Duel
.
Hint
(
HINT_CARD
,
0
,
675319
)
local
tc
=
Duel
.
GetFirstTarget
()
local
tc
=
Duel
.
GetFirstTarget
()
tc
:
SetStatus
(
STATUS_DESTROY_CONFIRMED
,
false
)
tc
:
SetStatus
(
STATUS_DESTROY_CONFIRMED
,
false
)
Duel
.
Destroy
(
tc
,
REASON_EFFECT
+
REASON_REPLACE
)
Duel
.
Destroy
(
tc
,
REASON_EFFECT
+
REASON_REPLACE
)
...
...
c72330894.lua
View file @
1d45af36
...
@@ -63,7 +63,7 @@ function c72330894.desreptg(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -63,7 +63,7 @@ function c72330894.desreptg(e,tp,eg,ep,ev,re,r,rp,chk)
else
return
false
end
else
return
false
end
end
end
function
c72330894
.
desrepop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c72330894
.
desrepop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_CARD
,
1
-
tp
,
72330894
)
Duel
.
Hint
(
HINT_CARD
,
0
,
72330894
)
local
tc
=
e
:
GetLabelObject
()
local
tc
=
e
:
GetLabelObject
()
tc
:
SetStatus
(
STATUS_DESTROY_CONFIRMED
,
false
)
tc
:
SetStatus
(
STATUS_DESTROY_CONFIRMED
,
false
)
Duel
.
Destroy
(
tc
,
REASON_EFFECT
+
REASON_REPLACE
)
Duel
.
Destroy
(
tc
,
REASON_EFFECT
+
REASON_REPLACE
)
...
...
c75884822.lua
View file @
1d45af36
...
@@ -99,7 +99,7 @@ function c75884822.repval(e,c)
...
@@ -99,7 +99,7 @@ function c75884822.repval(e,c)
return
c75884822
.
repfilter
(
c
,
e
:
GetHandlerPlayer
())
return
c75884822
.
repfilter
(
c
,
e
:
GetHandlerPlayer
())
end
end
function
c75884822
.
repop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c75884822
.
repop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_CARD
,
1
-
tp
,
75884822
)
Duel
.
Hint
(
HINT_CARD
,
0
,
75884822
)
local
tc
=
e
:
GetLabelObject
()
local
tc
=
e
:
GetLabelObject
()
tc
:
SetStatus
(
STATUS_DESTROY_CONFIRMED
,
false
)
tc
:
SetStatus
(
STATUS_DESTROY_CONFIRMED
,
false
)
Duel
.
Remove
(
tc
,
POS_FACEUP
,
REASON_EFFECT
+
REASON_REPLACE
)
Duel
.
Remove
(
tc
,
POS_FACEUP
,
REASON_EFFECT
+
REASON_REPLACE
)
...
...
c80476891.lua
View file @
1d45af36
...
@@ -75,7 +75,7 @@ function c80476891.repval(e,c)
...
@@ -75,7 +75,7 @@ function c80476891.repval(e,c)
return
c
==
e
:
GetLabelObject
()
return
c
==
e
:
GetLabelObject
()
end
end
function
c80476891
.
repop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c80476891
.
repop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_CARD
,
1
-
tp
,
80476891
)
Duel
.
Hint
(
HINT_CARD
,
0
,
80476891
)
local
tc
=
Duel
.
GetFirstTarget
()
local
tc
=
Duel
.
GetFirstTarget
()
tc
:
SetStatus
(
STATUS_DESTROY_CONFIRMED
,
false
)
tc
:
SetStatus
(
STATUS_DESTROY_CONFIRMED
,
false
)
Duel
.
Destroy
(
tc
,
REASON_EFFECT
+
REASON_REPLACE
)
Duel
.
Destroy
(
tc
,
REASON_EFFECT
+
REASON_REPLACE
)
...
...
c88021907.lua
View file @
1d45af36
...
@@ -134,5 +134,5 @@ function c88021907.desrepval(e,c)
...
@@ -134,5 +134,5 @@ function c88021907.desrepval(e,c)
end
end
function
c88021907
.
desrepop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c88021907
.
desrepop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
e
:
GetHandler
():
RemoveOverlayCard
(
tp
,
1
,
1
,
REASON_EFFECT
)
e
:
GetHandler
():
RemoveOverlayCard
(
tp
,
1
,
1
,
REASON_EFFECT
)
Duel
.
Hint
(
HINT_CARD
,
1
-
tp
,
88021907
)
Duel
.
Hint
(
HINT_CARD
,
0
,
88021907
)
end
end
c93854893.lua
View file @
1d45af36
...
@@ -88,5 +88,5 @@ function c93854893.desrepval(e,c)
...
@@ -88,5 +88,5 @@ function c93854893.desrepval(e,c)
end
end
function
c93854893
.
desrepop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c93854893
.
desrepop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
e
:
GetHandler
():
RemoveOverlayCard
(
tp
,
1
,
1
,
REASON_EFFECT
)
e
:
GetHandler
():
RemoveOverlayCard
(
tp
,
1
,
1
,
REASON_EFFECT
)
Duel
.
Hint
(
HINT_CARD
,
1
-
tp
,
93854893
)
Duel
.
Hint
(
HINT_CARD
,
0
,
93854893
)
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