File tree Expand file tree Collapse file tree 1 file changed +5
-11
lines changed Expand file tree Collapse file tree 1 file changed +5
-11
lines changed Original file line number Diff line number Diff line change @@ -626,27 +626,23 @@ def itemCheck(self, file):
626
626
SsWsFs = 0b0
627
627
botte = 0b0
628
628
SwStuff1 = 0
629
- SwStuff2 = 0
630
629
botte1 = 0
631
630
botte2 = 0
632
631
botte3 = 0
633
632
botte4 = 0
634
633
if self .sword .isChecked () == True :
635
634
if self .oSword .currentIndex () == 0 :
636
635
SwStuff1 += 5
637
- SwStuff2 += 6
638
636
elif self .oSword .currentIndex () == 1 :
639
637
SwStuff1 += 21
640
- SwStuff2 += 10
641
638
elif self .oSword .currentIndex () == 2 :
642
- SsWsFs += 8
643
639
SwStuff1 += 85
644
- SwStuff2 += 170
645
640
elif self .oSword .currentIndex () == 3 :
646
641
SsWsFs += 1
647
- SwStuff1 += 1
648
- SwStuff2 += 2
649
- else : SsWsFs += 16
642
+ SwStuff1 += 85
643
+ else :
644
+ SwStuff1 += 85
645
+ SsWsFs += 17
650
646
if self .cape .isChecked () == True :
651
647
RcPbO += 0b0001
652
648
if self .boots .isChecked () == True :
@@ -707,8 +703,6 @@ def itemCheck(self, file):
707
703
file .write ((RbBLABB ).to_bytes ())
708
704
file .write ((SsWsFs ).to_bytes ())
709
705
file .write ((SwStuff1 ).to_bytes ())
710
- file .seek (376 + (self .folenmbr * 1280 ))
711
- file .write ((SwStuff2 ).to_bytes ())
712
706
file .seek (382 + (self .folenmbr * 1280 ))
713
707
file .write ((botte ).to_bytes ())
714
708
file .seek (304 + (self .folenmbr * 1280 ))
@@ -875,4 +869,4 @@ def partial_check(data: bytes) -> int:
875
869
os .environ ["QT_AUTO_SCREEN_SCALE_FACTOR" ] = "1"
876
870
app = QApplication (sys .argv )
877
871
UIWindow = UI ()
878
- app .exec_ ()
872
+ app .exec_ ()
You can’t perform that action at this time.
0 commit comments