Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
YGOProUnity_V2
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
FF
YGOProUnity_V2
Commits
4a5a8662
Commit
4a5a8662
authored
May 22, 2017
by
lllyasviel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
select place
parent
ba5b4277
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
11 deletions
+22
-11
Assets/SibylSystem/Menu/Menu.cs
Assets/SibylSystem/Menu/Menu.cs
+1
-8
Assets/SibylSystem/Ocgcore/Ocgcore.cs
Assets/SibylSystem/Ocgcore/Ocgcore.cs
+21
-3
No files found.
Assets/SibylSystem/Menu/Menu.cs
View file @
4a5a8662
...
...
@@ -103,14 +103,7 @@ public class Menu : WindowServantSP
void
onClickAI
()
{
if
(
true
)
{
RMSshow_none
(
"AI is not open sourced"
);
}
else
{
Program
.
I
().
shiftToServant
(
Program
.
I
().
aiRoom
);
}
//Program.I().shiftToServant(Program.I().aiRoom);
}
void
onClickPizzle
()
...
...
Assets/SibylSystem/Ocgcore/Ocgcore.cs
View file @
4a5a8662
...
...
@@ -2000,9 +2000,12 @@ public class Ocgcore : ServantWithCardDescription
}
break;
case GameMessage.Hint:
type = r.ReadChar();
player = r.ReadChar();
data = r.ReadInt32();
Es_selectMSGHintType = r.ReadChar();
Es_selectMSGHintPlayer = localPlayer(r.ReadChar());
Es_selectMSGHintData = r.ReadInt32();
type = Es_selectMSGHintType;
player = Es_selectMSGHintPlayer;
data = Es_selectMSGHintData;
if (type == 1)
{
ES_hint = GameStringManager.get(data);
...
...
@@ -3756,6 +3759,7 @@ public class Ocgcore : ServantWithCardDescription
int field = ~r.ReadInt32();
if (Program.I().setting.setting.hand.value == true || Program.I().setting.setting.handm.value == true)
{
ES_min = min;
for (int i = 0; i < min; i++)
{
...
...
@@ -3857,6 +3861,17 @@ public class Ocgcore : ServantWithCardDescription
}
}
}
if (Es_selectMSGHintType == 3)
{
if (Es_selectMSGHintPlayer == 0)
{
gameField.setHint(InterString.Get("请为我方的「[?]」选择位置。", YGOSharp.CardsManager.Get(Es_selectMSGHintData).Name));
}
else
{
gameField.setHint(InterString.Get("请为对方的「[?]」选择位置。", YGOSharp.CardsManager.Get(Es_selectMSGHintData).Name));
}
}
}
else
{
...
...
@@ -5236,6 +5251,9 @@ public class Ocgcore : ServantWithCardDescription
string ES_hint = "";
string ES_selectHint = "";
int Es_selectMSGHintType = 0;
int Es_selectMSGHintPlayer = 0;
int Es_selectMSGHintData = 0;
List<gameCard> MHS_getBundle(int controller, int location)
{
...
...
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