Änderung PilotenSkill E

This commit is contained in:
Mac_Slash
2020-04-30 16:12:03 +02:00
parent 9f1e52f88f
commit 2c3a1e2c90

View File

@@ -393,7 +393,7 @@ namespace ReallifeGamemode.Server.Events
} }
if (nearestJobPoint.jobId == 3 && player.GetUser().JobId == 3) if (nearestJobPoint.jobId == 3 && player.GetUser().JobId == 3)
{ {
if (nearestJobPoint.Skill < 300 && player.GetUser().PilotSkill < 300) if (nearestJobPoint.Skill == 0 && player.GetUser().PilotSkill < 300)
{ {
if (job.GetUsersInJob().Contains(player)) if (job.GetUsersInJob().Contains(player))
{ {
@@ -408,7 +408,7 @@ namespace ReallifeGamemode.Server.Events
return; return;
} }
} }
if (nearestJobPoint.Skill >= 300 && player.GetUser().PilotSkill >= 300) if (nearestJobPoint.Skill == 300 && player.GetUser().PilotSkill >= 300)
{ {
if (job.GetUsersInJob().Contains(player)) if (job.GetUsersInJob().Contains(player))
{ {