This commit is contained in:
2026-06-17 15:19:11 +08:00
parent ea90128b20
commit 87377ac791
4 changed files with 14 additions and 9 deletions
@@ -1677,11 +1677,6 @@ class Skill45(ActiveSkill):
# 3层信仰效果时神圣之力持续时间 : {value6}秒
data6 = get_data(f'{prefix}/{uuid}', 6)
def skillInfo(self,mode=""):
prep = self.char.BuffSkill.skillInfo()
ratio = self.data2[self.lv] * 5 / 100
return prep[0] * ratio, [prep[1][0] * ratio, prep[1][1], prep[1][2] * ratio], [prep[2][0] * ratio, prep[2][1], prep[2][2] * ratio], 0, self.getSkillCD()
# 信仰之翼 : 裁决
# priest_male/crusader_male/481348575c1e141925c836b59c5db3ca
+7 -1
View File
@@ -1,4 +1,5 @@
import base64
import binascii
from copy import deepcopy
adv = [
@@ -246,7 +247,12 @@ def get_adv_list():
def get_adv_info(value):
value = base64.b64decode(value).decode()
try:
value = base64.b64decode(value, validate=True).decode()
except (binascii.Error, TypeError, UnicodeDecodeError):
return None
if len(value) != 6 or not value.isdigit():
return None
parent_id, child_id, option_id = map(int, (value[:2], value[2:4], value[4:6]))
parent = next((p for p in adv if p['id'] == parent_id), None)
if not parent: