@@ -36,7 +36,6 @@ public class Row : SheetRow<int>
3636 public int RequiredActionPoint { get ; private set ; }
3737 public long RequiredGold { get ; private set ; }
3838 public long RequiredBlockIndex { get ; private set ; }
39- public int UnlockStage { get ; private set ; }
4039 public List < MaterialInfo > Materials { get ; private set ; }
4140 public List < OptionInfo > Options { get ; private set ; }
4241 public int MaxOptionLimit { get ; private set ; }
@@ -47,27 +46,26 @@ public override void Set(IReadOnlyList<string> fields)
4746 RequiredActionPoint = ParseInt ( fields [ 1 ] ) ;
4847 RequiredGold = ParseLong ( fields [ 2 ] ) ;
4948 RequiredBlockIndex = ParseInt ( fields [ 3 ] ) ;
50- UnlockStage = ParseInt ( fields [ 4 ] ) ;
5149 Materials = new List < MaterialInfo > ( ) ;
5250 Options = new List < OptionInfo > ( ) ;
5351 for ( var i = 0 ; i < 3 ; i ++ )
5452 {
5553 var offset = i * 2 ;
56- if ( string . IsNullOrEmpty ( fields [ 5 + offset ] ) || string . IsNullOrEmpty ( fields [ 6 + offset ] ) )
54+ if ( string . IsNullOrEmpty ( fields [ 4 + offset ] ) || string . IsNullOrEmpty ( fields [ 5 + offset ] ) )
5755 continue ;
5856
59- Materials . Add ( new MaterialInfo ( ParseInt ( fields [ 5 + offset ] ) , ParseInt ( fields [ 6 + offset ] ) ) ) ;
57+ Materials . Add ( new MaterialInfo ( ParseInt ( fields [ 4 + offset ] ) , ParseInt ( fields [ 5 + offset ] ) ) ) ;
6058 }
6159
6260 for ( var i = 0 ; i < 4 ; i ++ )
6361 {
6462 var offset = i * 2 ;
65- if ( string . IsNullOrEmpty ( fields [ 11 + offset ] ) || string . IsNullOrEmpty ( fields [ 12 + offset ] ) )
63+ if ( string . IsNullOrEmpty ( fields [ 10 + offset ] ) || string . IsNullOrEmpty ( fields [ 11 + offset ] ) )
6664 continue ;
6765
68- Options . Add ( new OptionInfo ( ParseInt ( fields [ 11 + offset ] ) , ParseDecimal ( fields [ 12 + offset ] ) ) ) ;
66+ Options . Add ( new OptionInfo ( ParseInt ( fields [ 10 + offset ] ) , ParseDecimal ( fields [ 11 + offset ] ) ) ) ;
6967 }
70- MaxOptionLimit = ParseInt ( fields [ 19 ] ) ;
68+ MaxOptionLimit = ParseInt ( fields [ 18 ] ) ;
7169 }
7270 }
7371
0 commit comments