@@ -402,8 +402,8 @@ private static Enemy TryGetEnemy(BdatStringItem row)
402
402
BdatStringItem enemyMapRow = row [ "stats" ] . Reference ;
403
403
404
404
if ( enemyMapRow == null ||
405
- enemyMapRow [ "drop_nml" ] . Reference == null ||
406
- enemyMapRow [ "drop_rar" ] . Reference == null ||
405
+ enemyMapRow [ "drop_nml" ] . Reference == null &&
406
+ enemyMapRow [ "drop_rar" ] . Reference == null &&
407
407
enemyMapRow [ "drop_spr" ] . Reference == null )
408
408
{
409
409
return null ;
@@ -431,6 +431,9 @@ private static DropNormalEntry TryGetNormalTable(BdatStringItem row)
431
431
{
432
432
var entry = new DropNormalEntry ( ) ;
433
433
434
+ if ( row is null )
435
+ return entry ;
436
+
434
437
for ( int i = 0 ; i < MaxLotItems ; i ++ )
435
438
{
436
439
DropEntry < MaterialEntry > item = GetMaterialEntry ( row , i ) ;
@@ -447,6 +450,9 @@ private static DropRareEntry TryGetRareTable(BdatStringItem row)
447
450
{
448
451
var entry = new DropRareEntry ( ) ;
449
452
453
+ if ( row is null )
454
+ return entry ;
455
+
450
456
entry . CrystalRate = int . Parse ( row [ "crystal_per" ] . ValueString ) ;
451
457
entry . WeaponRate = int . Parse ( row [ "wpn_per" ] . ValueString ) ;
452
458
entry . EquipRate = int . Parse ( row [ "equip_per" ] . ValueString ) ;
@@ -491,6 +497,9 @@ private static DropSuperRareEntry TryGetSuperRareTable(BdatStringItem row)
491
497
{
492
498
var entry = new DropSuperRareEntry ( ) ;
493
499
500
+ if ( row is null )
501
+ return entry ;
502
+
494
503
entry . WeaponRate = int . Parse ( row [ "wpn_per" ] . ValueString ) ;
495
504
entry . UniqueWeaponRate = int . Parse ( row [ "uni_wpn_per" ] . ValueString ) ;
496
505
entry . UniqueArmorRate = int . Parse ( row [ "uni_equip_per" ] . ValueString ) ;
0 commit comments