Lv100版本源码上传

This commit is contained in:
西瓜°
2024-11-04 14:45:20 +08:00
parent a98bdaf4e0
commit a6dbccdead
3431 changed files with 139917 additions and 75 deletions
+15
View File
@@ -0,0 +1,15 @@
from PublicReference.utils.common import format_range
def 四维固定加成(self, x, types: list = ['力量', '智力', '体力', '精神']):
if self is not None:
if self.装备描述 == 0:
if '力量' in types:
self.力量 += x
if '智力' in types:
self.智力 += x
if '体力' in types:
self.体力 += x
if '精神' in types:
self.精神 += x
return "".join(format_range("{} +{}<br>", types, x))