OverHaul Bus and Pilot TEST
This commit is contained in:
@@ -362,24 +362,24 @@ export default function (globalData: IGlobalData) {
|
||||
var busLevel;
|
||||
|
||||
if (jobdata.pilotskill >= 300) {
|
||||
pilotLevel = 2;
|
||||
pilotLevel = "Fortgeschrittener";
|
||||
} else {
|
||||
pilotLevel = 1;
|
||||
pilotLevel = "Anfänger";
|
||||
}
|
||||
|
||||
if (jobdata.busskill >= 800) {
|
||||
busLevel = 3;
|
||||
busLevel = "Profi";
|
||||
} else if (jobdata.busskill >= 300) {
|
||||
busLevel = 2;
|
||||
busLevel = "Fortgeschrittener";
|
||||
} else {
|
||||
busLevel = 1;
|
||||
busLevel = "Anfänger";
|
||||
}
|
||||
|
||||
var actJobItem = new UIMenuItem("Aktueller Job:");
|
||||
actJobItem.SetRightLabel(jobdata.job)
|
||||
jobMenu.AddItem(actJobItem);
|
||||
|
||||
var pilotSkillItem = new UIMenuItem("Pilot Skill (LVL " + pilotLevel + ")");
|
||||
var pilotSkillItem = new UIMenuItem("Pilot Skill (" + pilotLevel + ")");
|
||||
switch (pilotLevel) {
|
||||
case 1:
|
||||
pilotSkillItem.SetRightLabel(jobdata.pilotskill + "/300")
|
||||
@@ -390,7 +390,7 @@ export default function (globalData: IGlobalData) {
|
||||
}
|
||||
jobMenu.AddItem(pilotSkillItem);
|
||||
|
||||
var busSkillItem = new UIMenuItem("Bus Skill (LVL " + busLevel + ")");
|
||||
var busSkillItem = new UIMenuItem("Bus Skill (" + busLevel + ")");
|
||||
switch (busLevel) {
|
||||
case 1:
|
||||
busSkillItem.SetRightLabel(jobdata.busskill + "/300")
|
||||
|
||||
Reference in New Issue
Block a user