From b552e6d0862dff72486cfc529bf72b1d5fb33bd1 Mon Sep 17 00:00:00 2001
From: pingjing <807968850@qq.com>
Date: Mon, 29 Mar 2021 12:03:51 +0800
Subject: [PATCH 1/2] =?UTF-8?q?bugfix:=E4=BF=AE=E5=A4=8D=E5=A5=B6=E7=B3=BB?=
=?UTF-8?q?=E6=AD=A6=E5=99=A8=E9=BB=91=E9=B8=A6=E8=87=AA=E9=80=89=E8=A7=89?=
=?UTF-8?q?=E9=86=92=E5=90=8E=EF=BC=8C=E6=AC=A1=E7=BA=A7=E6=A1=86=E4=BE=9D?=
=?UTF-8?q?=E7=84=B6=E5=8F=AF=E4=BB=A5=E9=80=89=E6=8B=A9=E7=9A=84=E9=97=AE?=
=?UTF-8?q?=E9=A2=98?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
PublicReference/base_buff.py | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/PublicReference/base_buff.py b/PublicReference/base_buff.py
index 292d7a3..9d42e94 100644
--- a/PublicReference/base_buff.py
+++ b/PublicReference/base_buff.py
@@ -1602,6 +1602,10 @@ class 角色窗口(窗口):
for i in range(1, 4):
self.黑鸦词条[index][i].setEnabled(False)
self.黑鸦词条[index][i].setStyleSheet(下拉框样式)
+ elif index == 0 and self.黑鸦词条[index][0].currentIndex() == 3:
+ for i in range(1, 4):
+ self.黑鸦词条[0][i].setEnabled(False)
+ self.黑鸦词条[0][i].setStyleSheet(下拉框样式)
else:
for i in range(1, 4):
self.黑鸦词条[index][i].setEnabled(True)
--
Gitee
From b9265beee43ad200c711667a372f5f1aa08392f9 Mon Sep 17 00:00:00 2001
From: pingjing <807968850@qq.com>
Date: Mon, 29 Mar 2021 14:11:59 +0800
Subject: [PATCH 2/2] =?UTF-8?q?bugfix:=E4=BF=AE=E5=A4=8D=E5=A5=B6=E7=B3=BB?=
=?UTF-8?q?=E6=94=B9=E9=80=A0=E5=8F=97=E9=BB=91=E9=B8=A6=E9=80=89=E9=A1=B9?=
=?UTF-8?q?=E5=BD=B1=E5=93=8D=E7=9A=84bug?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
PublicReference/base_buff.py | 55 ++++++++++++++++++------------------
1 file changed, 28 insertions(+), 27 deletions(-)
diff --git a/PublicReference/base_buff.py b/PublicReference/base_buff.py
index 9d42e94..c91ffab 100644
--- a/PublicReference/base_buff.py
+++ b/PublicReference/base_buff.py
@@ -2904,33 +2904,34 @@ class 角色窗口(窗口):
if tempstr[i] != '':
tempstr[i] += '
'
- if i == 2 and 属性.黑鸦词条[3][0]!=0:
- tempstr[i] += 装备.装备描述_变换属性_BUFF(属性)
- tempstr[i] += self.黑鸦属性描述(属性.黑鸦词条[3][1], 属性.黑鸦词条[3][2], 1)
- # 下装
- elif i == 7 and 属性.黑鸦词条[1][0]!=0:
- tempstr[i] += 装备.装备描述_变换属性_BUFF(属性)
- tempstr[i] += self.黑鸦属性描述(属性.黑鸦词条[1][1], 属性.黑鸦词条[1][2], 1)
- # 戒指
- elif i == 9 and 属性.黑鸦词条[2][0]!=0:
- tempstr[i] += 装备.装备描述_变换属性_BUFF(属性)
- tempstr[i] += self.黑鸦属性描述(属性.黑鸦词条[2][1], 属性.黑鸦词条[2][2], 1)
- # 辅助
- elif i == 11 and 属性.黑鸦词条[0][0]!=0:
- tempstr[i] += 装备.装备描述_变换属性_BUFF(属性)
- if 属性.黑鸦词条[0][0] == 3 and not 装备.名称 == '世界树之精灵':
- tempstr[i] += 'Lv50 技能等级+2
'
- tempstr[i] += 'Lv85 技能等级+2
'
- tempstr[i] += 'Lv100 技能等级+2
'
- elif 属性.黑鸦词条[0][0] == 2:
- tempstr[i] += self.黑鸦属性描述(属性.黑鸦词条[0][1], 属性.黑鸦词条[0][2])
- if 装备.名称 == '世界树之精灵':
- tempstr[i] = tempstr[i].replace('Lv50 技能等级+2
','')
- tempstr[i] = tempstr[i].replace('Lv85 技能等级+2
','')
- tempstr[i] = tempstr[i].replace('Lv100 技能等级+2
','')
- # 世界树之精灵特殊处理,没考虑择优的时候,针对的是自选
- if 装备.名称 == '世界树之精灵' and 属性.黑鸦词条[0][0] >1:
- tempstr[i] += 'Lv50 技能等级+2
'
+ if 装备.所属套装 != '智慧产物':
+ if i == 2 and 属性.黑鸦词条[3][0]!=0:
+ tempstr[i] += 装备.装备描述_变换属性_BUFF(属性)
+ tempstr[i] += self.黑鸦属性描述(属性.黑鸦词条[3][1], 属性.黑鸦词条[3][2], 1)
+ # 下装
+ elif i == 7 and 属性.黑鸦词条[1][0]!=0:
+ tempstr[i] += 装备.装备描述_变换属性_BUFF(属性)
+ tempstr[i] += self.黑鸦属性描述(属性.黑鸦词条[1][1], 属性.黑鸦词条[1][2], 1)
+ # 戒指
+ elif i == 9 and 属性.黑鸦词条[2][0]!=0:
+ tempstr[i] += 装备.装备描述_变换属性_BUFF(属性)
+ tempstr[i] += self.黑鸦属性描述(属性.黑鸦词条[2][1], 属性.黑鸦词条[2][2], 1)
+ # 辅助
+ elif i == 11 and 属性.黑鸦词条[0][0]!=0:
+ tempstr[i] += 装备.装备描述_变换属性_BUFF(属性)
+ if 属性.黑鸦词条[0][0] == 3 and not 装备.名称 == '世界树之精灵':
+ tempstr[i] += 'Lv50 技能等级+2
'
+ tempstr[i] += 'Lv85 技能等级+2
'
+ tempstr[i] += 'Lv100 技能等级+2
'
+ elif 属性.黑鸦词条[0][0] == 2:
+ tempstr[i] += self.黑鸦属性描述(属性.黑鸦词条[0][1], 属性.黑鸦词条[0][2])
+ if 装备.名称 == '世界树之精灵':
+ tempstr[i] = tempstr[i].replace('Lv50 技能等级+2
','')
+ tempstr[i] = tempstr[i].replace('Lv85 技能等级+2
','')
+ tempstr[i] = tempstr[i].replace('Lv100 技能等级+2
','')
+ # 世界树之精灵特殊处理,没考虑择优的时候,针对的是自选
+ if 装备.名称 == '世界树之精灵' and 属性.黑鸦词条[0][0] >1:
+ tempstr[i] += 'Lv50 技能等级+2
'
# 武器
else:
tempstr[i] += 装备.装备描述_BUFF(属性)
--
Gitee