forked from aly/qstbak
muffin v7.5.11
This commit is contained in:
parent
addf2d530f
commit
3102923ce2
522 changed files with 41082 additions and 211592 deletions
|
|
@ -10,28 +10,15 @@ public static class ClassJobHelper
|
|||
{
|
||||
ClassJob row = dataManager.GetExcelSheet<ClassJob>().GetRow((uint)classJob);
|
||||
ushort num = (ushort)row.UnlockQuest.RowId;
|
||||
int num2 = ((num == 0) ? 1968883418 : 1968883419);
|
||||
while (true)
|
||||
if (num != 0)
|
||||
{
|
||||
int num3 = num2;
|
||||
int num4 = 1968883416;
|
||||
int num5 = num3;
|
||||
switch ((num5 | num4) - (num5 & num4))
|
||||
{
|
||||
case 1:
|
||||
return false;
|
||||
case 3:
|
||||
return QuestManager.IsQuestComplete(num);
|
||||
case 4:
|
||||
return PlayerStateHelper.GetClassJobLevel(row.ExpArrayIndex) > 0;
|
||||
case 2:
|
||||
num2 = ((row.ExpArrayIndex >= 0) ? 1968883420 : 1968883417);
|
||||
break;
|
||||
case 0:
|
||||
num2 = 1968883419;
|
||||
break;
|
||||
}
|
||||
return QuestManager.IsQuestComplete(num);
|
||||
}
|
||||
if (row.ExpArrayIndex < 0)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
return PlayerStateHelper.GetClassJobLevel(row.ExpArrayIndex) > 0;
|
||||
}
|
||||
|
||||
public static bool IsJobUnlocked(EClassJob classJob, IDataManager dataManager)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue