fix:修复密保特效
This commit is contained in:
@@ -14872,7 +14872,7 @@ def equ_2000(char: CharacterProperty,effectDamage: list[float] = []):
|
|||||||
name='地震波',
|
name='地震波',
|
||||||
icon='/equipment/icon/special/magicstone/00417.png',
|
icon='/equipment/icon/special/magicstone/00417.png',
|
||||||
cd=30,
|
cd=30,
|
||||||
data=effect_damage(effectDamage, 0, 90900) * effect,
|
data=effect_damage(effectDamage, 0, 90900) * min(effect, 3),
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
if char.buffer:
|
if char.buffer:
|
||||||
@@ -14954,7 +14954,6 @@ def equ_2002(char: CharacterProperty,effectDamage: list[float] = []):
|
|||||||
pass
|
pass
|
||||||
point = char.charEquipInfo['辅助装备'].precision
|
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)
|
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)
|
||||||
print(skillAttack / 100)
|
|
||||||
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)
|
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=round(skillAttack / 100,6), Buffer=buffer)
|
char.SetStatus(SkillAttack=round(skillAttack / 100,6), Buffer=buffer)
|
||||||
for part in ['项链', '手镯', '戒指']:
|
for part in ['项链', '手镯', '戒指']:
|
||||||
|
|||||||
Reference in New Issue
Block a user