fix:修正技攻
This commit is contained in:
@@ -5835,7 +5835,7 @@ def weapon_point(char: CharacterProperty):
|
||||
point = char.charEquipInfo['武器'].precision
|
||||
skillAttack = 0.1 * point + (0.6 if point >= 25 else 0) + (0.6 if point >= 50 else 0) + (0.6 if point >= 75 else 0) + (1.9 if point >= 100 else 0)
|
||||
buffer = 40 * point + (120 if point >= 25 else 0) + (120 if point >= 50 else 0) + (120 if point >= 75 else 0) + (340 if point >= 100 else 0)
|
||||
char.SetStatus(SkillAttack=skillAttack / 100, Buffer=buffer)
|
||||
char.SetStatus(SkillAttack=round(skillAttack / 100, 6), Buffer=buffer)
|
||||
pass
|
||||
|
||||
|
||||
@@ -14856,7 +14856,7 @@ def equ_2000(char: CharacterProperty):
|
||||
char.SetStatus(SkillAttack=0.378, Buffer=12180)
|
||||
pass
|
||||
if char.max_point >= 2550:
|
||||
char.SetStatus(SkillAttack=0.555, Buffer=12630)
|
||||
char.SetStatus(SkillAttack=0.489, Buffer=12930)
|
||||
pass
|
||||
point = char.charEquipInfo['魔法石'].precision
|
||||
skillAttack = 0.1 * point - (point // 25) * 0.1 + (0.5 if point >= 25 else 0) + (0.6 if point >= 50 else 0) + (0.6 if point >= 75 else 0) + (1.8 if point >= 100 else 0)
|
||||
@@ -14905,12 +14905,12 @@ def equ_2001(char: CharacterProperty):
|
||||
char.SetStatus(SkillAttack=0.384, Buffer=11220)
|
||||
pass
|
||||
if char.max_point >= 2550:
|
||||
char.SetStatus(SkillAttack=0.562, Buffer=12630)
|
||||
char.SetStatus(SkillAttack=0.502, Buffer=12930)
|
||||
pass
|
||||
point = char.charEquipInfo['耳环'].precision
|
||||
skillAttack = 0.1 * point - (point // 25) * 0.1 + (0.1 if point >= 25 else 0) + (0.1 if point >= 50 else 0) + (0.1 if point >= 75 else 0) + (0.1 if point >= 100 else 0)
|
||||
buffer = 30 * point - (point // 25) * 30 + (390 if point >= 25 else 0) + (420 if point >= 50 else 0) + (420 if point >= 75 else 0) + (540 if point >= 100 else 0)
|
||||
char.SetStatus(SkillAttack=skillAttack / 100, Buffer=buffer)
|
||||
char.SetStatus(SkillAttack=round(skillAttack / 100,6), Buffer=buffer)
|
||||
char.SetSkillCD(cd=0.04)
|
||||
cd = (point // 25) * 0.04
|
||||
char.SetStatus(EquEffectRatio=0.10)
|
||||
@@ -14948,12 +14948,12 @@ def equ_2002(char: CharacterProperty):
|
||||
char.SetStatus(SkillAttack=0.384, Buffer=11220)
|
||||
pass
|
||||
if char.max_point >= 2550:
|
||||
char.SetStatus(SkillAttack=0.57, Buffer=12630)
|
||||
char.SetStatus(SkillAttack=0.502, Buffer=12930)
|
||||
pass
|
||||
point = char.charEquipInfo['辅助装备'].precision
|
||||
skillAttack = 0.1 * point - (point // 25) * 0.1 + (0.1 if point >= 25 else 0) + (0.1 if point >= 50 else 0) + (0.1 if point >= 75 else 0) + (0.1 if point >= 100 else 0)
|
||||
buffer = 30 * point - (point // 25) * 30 + (350 if point >= 25 else 0) + (380 if point >= 50 else 0) + (380 if point >= 75 else 0) + (510 if point >= 100 else 0)
|
||||
char.SetStatus(SkillAttack=skillAttack / 100, Buffer=buffer)
|
||||
char.SetStatus(SkillAttack=round(skillAttack / 100,6), Buffer=buffer)
|
||||
for part in ['项链', '手镯', '戒指']:
|
||||
if char.charEquipInfo[part].equInfo and '黑牙' in char.charEquipInfo[part].equInfo.name:
|
||||
char.SetStatus(SkillAttack=0.03, Buffer=75)
|
||||
|
||||
Reference in New Issue
Block a user