Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
M
MDPro3
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
SK
MDPro3
Commits
975a1c71
Commit
975a1c71
authored
Sep 19, 2024
by
SherryChaos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
card batch moving bug fix
parent
16b861e8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
Assets/Scripts/MDPro3/Duel/GameCard.cs
Assets/Scripts/MDPro3/Duel/GameCard.cs
+8
-2
No files found.
Assets/Scripts/MDPro3/Duel/GameCard.cs
View file @
975a1c71
...
@@ -984,6 +984,14 @@ namespace MDPro3
...
@@ -984,6 +984,14 @@ namespace MDPro3
var
sequence
=
DOTween
.
Sequence
();
var
sequence
=
DOTween
.
Sequence
();
float
timePassed
=
0
;
float
timePassed
=
0
;
if
((
p
.
location
&
((
uint
)
CardLocation
.
Grave
+
(
uint
)
CardLocation
.
Removed
))
>
0
)
{
if
((
p
.
location
&
(
uint
)
CardLocation
.
Grave
)
>
0
)
OcgCore
.
movingToGrave
++;
else
OcgCore
.
movingToExclude
++;
}
var
position
=
GetCardPosition
(
p
,
this
);
var
position
=
GetCardPosition
(
p
,
this
);
var
rotation
=
GetCardRotation
(
p
,
data
.
Id
);
var
rotation
=
GetCardRotation
(
p
,
data
.
Id
);
int
needSync
=
0
;
int
needSync
=
0
;
...
@@ -2055,7 +2063,6 @@ namespace MDPro3
...
@@ -2055,7 +2063,6 @@ namespace MDPro3
}
}
float
SequenceToGrave
(
Sequence
sequence
,
GPS
p
)
float
SequenceToGrave
(
Sequence
sequence
,
GPS
p
)
{
{
OcgCore
.
movingToGrave
++;
var
dummy
=
ABLoader
.
LoadFromFile
(
"MasterDuel/Timeline/DuelCardMove/DuelToGrave0"
+
OcgCore
.
movingToGrave
,
true
);
var
dummy
=
ABLoader
.
LoadFromFile
(
"MasterDuel/Timeline/DuelCardMove/DuelToGrave0"
+
OcgCore
.
movingToGrave
,
true
);
dummy
.
transform
.
position
=
GetCardPosition
(
p
);
dummy
.
transform
.
position
=
GetCardPosition
(
p
);
dummy
.
transform
.
eulerAngles
=
GetCardRotation
(
p
);
dummy
.
transform
.
eulerAngles
=
GetCardRotation
(
p
);
...
@@ -2101,7 +2108,6 @@ namespace MDPro3
...
@@ -2101,7 +2108,6 @@ namespace MDPro3
}
}
float
SequenceToExclude
(
Sequence
sequence
,
GPS
p
)
float
SequenceToExclude
(
Sequence
sequence
,
GPS
p
)
{
{
OcgCore
.
movingToExclude
++;
var
dummy
=
ABLoader
.
LoadFromFile
(
"MasterDuel/Timeline/DuelCardMove/DuelToExclude0"
+
OcgCore
.
movingToExclude
,
true
);
var
dummy
=
ABLoader
.
LoadFromFile
(
"MasterDuel/Timeline/DuelCardMove/DuelToExclude0"
+
OcgCore
.
movingToExclude
,
true
);
dummy
.
transform
.
position
=
GetCardPosition
(
p
);
dummy
.
transform
.
position
=
GetCardPosition
(
p
);
dummy
.
transform
.
eulerAngles
=
GetCardRotation
(
p
);
dummy
.
transform
.
eulerAngles
=
GetCardRotation
(
p
);
...
...
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