mirror of
https://github.com/baiqwerdvd/StarRailUID.git
synced 2025-05-06 11:43:44 +08:00
修正typing错误
This commit is contained in:
parent
9eebaca513
commit
6f1b25bfac
@ -1,9 +1,9 @@
|
||||
import json
|
||||
from typing import Dict
|
||||
from pathlib import Path
|
||||
from typing import Dict
|
||||
|
||||
from ..Base.WeaponBase import BaseWeapon
|
||||
from ..Base.model import DamageInstanceWeapon
|
||||
from ..Base.WeaponBase import BaseWeapon
|
||||
|
||||
path = Path(__file__).parent.parent
|
||||
with Path.open(path / 'Excel' / 'weapon_effect.json', encoding='utf-8') as f:
|
||||
@ -1474,7 +1474,7 @@ class Thisbodyisasword(BaseWeapon):
|
||||
pass
|
||||
|
||||
async def weapon_ability(
|
||||
self, Ultra_Use: int, base_attr: Dict, attribute_bonus: Dict
|
||||
self, Ultra_Use: float, base_attr: Dict, attribute_bonus: Dict
|
||||
):
|
||||
all_damage_added_ratio = attribute_bonus.get('AllDamageAddedRatio', 0)
|
||||
attribute_bonus['AllDamageAddedRatio'] = (
|
||||
|
Loading…
x
Reference in New Issue
Block a user