1
This commit was merged in pull request #1.
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
from abc import ABC, abstractmethod
|
||||
from typing import Any, Literal, Mapping
|
||||
from collections.abc import Mapping
|
||||
from typing import Any, Literal
|
||||
|
||||
|
||||
class CharacterProperty(ABC):
|
||||
@@ -202,17 +203,17 @@ class CharacterProperty(ABC):
|
||||
pass
|
||||
|
||||
@abstractmethod
|
||||
def AddSkillLv(self, min: int, max: int, lv: int, type=-1, exceptSkills: list[str] = []) -> None:
|
||||
def AddSkillLv(self, min: int, max: int, lv: int, type=-1, exceptSkills: tuple[str, ...] = ()) -> None:
|
||||
"""增加技能等级"""
|
||||
pass
|
||||
|
||||
@abstractmethod
|
||||
def SetSkillCD(self, min=1, max=100, cd=0, exclude=[50, 85, 100]) -> None:
|
||||
def SetSkillCD(self, min=1, max=100, cd=0, exclude: tuple[int, ...] = (50, 85, 100)) -> None:
|
||||
"""设置技能CD"""
|
||||
pass
|
||||
|
||||
@abstractmethod
|
||||
def SetSkillCDRecover(self, min=1, max=100, cd=0, exclude=[50, 85, 100]) -> None:
|
||||
def SetSkillCDRecover(self, min=1, max=100, cd=0, exclude: tuple[int, ...] = (50, 85, 100)) -> None:
|
||||
"""设置技能CD恢复"""
|
||||
pass
|
||||
|
||||
|
||||
Reference in New Issue
Block a user