dev
This commit is contained in:
@@ -3,9 +3,10 @@
|
||||
from core.abstract.character import CharacterProperty
|
||||
from .register import register
|
||||
|
||||
|
||||
@register
|
||||
def sundry_0(char: CharacterProperty, *args):
|
||||
'''勋章'''
|
||||
"""勋章"""
|
||||
# 勋章基础 四维 48 三攻 30
|
||||
char.SetStatus(四维=48, 三攻=30)
|
||||
# 勋章品质
|
||||
@@ -28,30 +29,34 @@ def sundry_0(char: CharacterProperty, *args):
|
||||
gems_quality = medal_gems_quality[i]
|
||||
char.SetStatus(攻击强化=gems_quality[0] * 0.1, 增益量=gems_quality[1])
|
||||
|
||||
|
||||
@register
|
||||
def sundry_5(char: CharacterProperty, *args):
|
||||
'''迷雾系统'''
|
||||
"""迷雾系统"""
|
||||
lv = args[0]
|
||||
四维 = [0, 30, 80, 110, 160, 250]
|
||||
value = 0.1 + (lv - 1) * 0.005 + int(lv / 5) * 0.005 + int(lv / 10) * 0.005
|
||||
buffer = 2400 + (lv - 1) * 50 + int(lv / 5) * 50 + int(lv / 10) * 50
|
||||
char.SetStatus(SkillAttack=value)
|
||||
char.SetStatus(SkillAttack=value, 四维=四维[int(args[0] / 5)])
|
||||
if char.buffer:
|
||||
char.SetStatus(Buffer=buffer)
|
||||
pass
|
||||
|
||||
|
||||
@register
|
||||
def sundry_6(char: CharacterProperty, *args):
|
||||
'''冒险团'''
|
||||
"""冒险团"""
|
||||
lv = args[0] - 1
|
||||
values = [100, 110, 125, 140, 150, 160, 170, 180, 190, 200, 210, 220, 220, 220, 220, 230, 230, 240, 240, 250, 250, 250, 250, 250, 260, 260, 260, 260, 260, 270, 270, 270, 270, 270, 280, 280, 280, 280, 280, 290]
|
||||
char.SetStatus(四维=values[lv])
|
||||
|
||||
|
||||
@register
|
||||
def sundry_7(char: CharacterProperty, *args):
|
||||
'''
|
||||
"""
|
||||
婚房婚戒
|
||||
婚戒属强不享受辟邪玉加成
|
||||
'''
|
||||
"""
|
||||
# 婚戒
|
||||
if args[0] == 1:
|
||||
char.SetStatus(全属强=1)
|
||||
@@ -67,15 +72,17 @@ def sundry_7(char: CharacterProperty, *args):
|
||||
elif args[1] == 2:
|
||||
char.SetStatus(体精=10, 力智=15)
|
||||
|
||||
|
||||
@register
|
||||
def sundry_9(char: CharacterProperty, *args):
|
||||
'''契约'''
|
||||
"""契约"""
|
||||
if args[0] == 1:
|
||||
char.SetStatus(三攻=40)
|
||||
|
||||
|
||||
@register
|
||||
def sundry_10(char: CharacterProperty, *args):
|
||||
'''收集箱'''
|
||||
"""收集箱"""
|
||||
per_0 = 0
|
||||
per_1 = 0
|
||||
per_2 = 0
|
||||
@@ -103,6 +110,7 @@ def sundry_10(char: CharacterProperty, *args):
|
||||
char.AddElementDB('光', sq * per_2)
|
||||
char.AddElementDB('暗', sq * per_2)
|
||||
|
||||
|
||||
@register
|
||||
def sundry_13(char: CharacterProperty, *args):
|
||||
if args[0] == 1:
|
||||
|
||||
Reference in New Issue
Block a user