new:添加春节礼包相关
This commit is contained in:
@@ -706,20 +706,20 @@ class Character(CharacterProperty):
|
||||
# 获取装备额外属性
|
||||
if fun is not None:
|
||||
fun(self)
|
||||
# 武器贴膜处理
|
||||
weapon = self.charEquipInfo['武器']
|
||||
if weapon.equInfo is None or weapon.weaponFusion is None or weapon.weaponFusion == 0:
|
||||
return
|
||||
adaptation = min(weapon.adaptation,weapon.equInfo.max_adaptation)
|
||||
if weapon.weaponFusion == 1:
|
||||
self.SetStatus(SkillAttack = 0.07 + adaptation * 0.01)
|
||||
if weapon.weaponFusion == 2:
|
||||
self.SetStatus(SkillAttack = 0.055 + adaptation * 0.01)
|
||||
self.SetStatus(SpeedA = 0.2,SpeedM = 0.2,SpeedR = 0.2)
|
||||
if weapon.weaponFusion == 3:
|
||||
self.SetStatus(SkillAttack = 0.01 + adaptation * 0.01)
|
||||
self.SetSkillCD(1, 100, 0.1)
|
||||
self.SetStatus(EquEffectRatio = 0.05)
|
||||
# 武器铭刻处理 已移除该系统
|
||||
# weapon = self.charEquipInfo['武器']
|
||||
# if weapon.equInfo is None or weapon.weaponFusion is None or weapon.weaponFusion == 0:
|
||||
# return
|
||||
# adaptation = min(weapon.adaptation,weapon.equInfo.max_adaptation)
|
||||
# if weapon.weaponFusion == 1:
|
||||
# self.SetStatus(SkillAttack = 0.07 + adaptation * 0.01)
|
||||
# if weapon.weaponFusion == 2:
|
||||
# self.SetStatus(SkillAttack = 0.055 + adaptation * 0.01)
|
||||
# self.SetStatus(SpeedA = 0.2,SpeedM = 0.2,SpeedR = 0.2)
|
||||
# if weapon.weaponFusion == 3:
|
||||
# self.SetStatus(SkillAttack = 0.01 + adaptation * 0.01)
|
||||
# self.SetSkillCD(1, 100, 0.1)
|
||||
# self.SetStatus(EquEffectRatio = 0.05)
|
||||
|
||||
def calc_avatar(self, avatar: dict):
|
||||
"""计算时装效果"""
|
||||
@@ -822,6 +822,9 @@ class Character(CharacterProperty):
|
||||
funs.execture("sundry_6")(self,
|
||||
sundry.get("adventure", 1)
|
||||
)
|
||||
funs.execture("sundry_5")(self,
|
||||
sundry.get("fog", 1)
|
||||
)
|
||||
funs.execture("sundry_7")(self,
|
||||
sundry.get("marriage_house", 0),
|
||||
sundry.get("marriage_ring", 0)
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -15232,7 +15232,44 @@ def equ_3009(char: CharacterProperty):
|
||||
char.AddSkillLv(95, 95, 1, 0)
|
||||
pass
|
||||
|
||||
@register
|
||||
def equ_3017(char: CharacterProperty):
|
||||
"""
|
||||
DCALC_REMOVE: equ_3017 - 大奥秘库之主宰
|
||||
三觉被动Lv +1
|
||||
所有属性强化 +45
|
||||
攻击强化增幅 +40%
|
||||
暴击率 +15%
|
||||
所有速度 +4%
|
||||
rarity: 传说
|
||||
"""
|
||||
char.AddElementDB("火", 45)
|
||||
char.AddElementDB("冰", 45)
|
||||
char.AddElementDB("光", 45)
|
||||
char.AddElementDB("暗", 45)
|
||||
char.SetStatus(AttackP=0.40, SpeedM=0.04, SpeedA=0.04, SpeedR=0.04)
|
||||
char.AddSkillLv(95, 95, 1, 0)
|
||||
pass
|
||||
|
||||
|
||||
@register
|
||||
def equ_3018(char: CharacterProperty):
|
||||
"""
|
||||
DCALC_REMOVE: equ_3018 - 宿命天定者
|
||||
三觉被动Lv +1
|
||||
所有属性强化 +25
|
||||
攻击强化增幅 +30%
|
||||
暴击率 +12%
|
||||
所有速度 +3%
|
||||
rarity: 稀有
|
||||
"""
|
||||
char.AddElementDB("火", 25)
|
||||
char.AddElementDB("冰", 25)
|
||||
char.AddElementDB("光", 25)
|
||||
char.AddElementDB("暗", 25)
|
||||
char.SetStatus(AttackP=0.30, SpeedM=0.03, SpeedA=0.03, SpeedR=0.03)
|
||||
char.AddSkillLv(95, 95, 1, 0)
|
||||
pass
|
||||
# endregion
|
||||
# region 耕耘
|
||||
|
||||
@@ -15496,7 +15533,7 @@ def equ_4006(char: CharacterProperty):
|
||||
"""
|
||||
DCALC_REMOVE: equ_4006 - 迷你地界镇护者舒茉
|
||||
Lv1~95所有技能 +1
|
||||
所有属性强化 +25
|
||||
所有属性强化 +30
|
||||
攻击强化增幅 +45%
|
||||
暴击率 +10%
|
||||
所有速度 +5%
|
||||
@@ -15504,10 +15541,10 @@ def equ_4006(char: CharacterProperty):
|
||||
rarity: 稀有
|
||||
"""
|
||||
char.AddSkillLv(1, 95, 1)
|
||||
char.AddElementDB("火", 25)
|
||||
char.AddElementDB("冰", 25)
|
||||
char.AddElementDB("光", 25)
|
||||
char.AddElementDB("暗", 25)
|
||||
char.AddElementDB("火", 30)
|
||||
char.AddElementDB("冰", 30)
|
||||
char.AddElementDB("光", 30)
|
||||
char.AddElementDB("暗", 30)
|
||||
char.SetStatus(AttackP=0.45, SpeedM=0.05, SpeedA=0.05, SpeedR=0.05)
|
||||
char.SetSkillCD(1, 100, 0.05, [])
|
||||
pass
|
||||
@@ -15540,7 +15577,7 @@ def equ_4008(char: CharacterProperty):
|
||||
"""
|
||||
DCALC_REMOVE: equ_4008 - 菩提龙女
|
||||
Lv1~95所有技能 +1
|
||||
所有属性强化 +25
|
||||
所有属性强化 +30
|
||||
攻击强化增幅 +50%
|
||||
暴击率 +10%
|
||||
所有速度 +5%
|
||||
@@ -15548,10 +15585,10 @@ def equ_4008(char: CharacterProperty):
|
||||
rarity: 稀有
|
||||
"""
|
||||
char.AddSkillLv(1, 95, 1)
|
||||
char.AddElementDB("火", 25)
|
||||
char.AddElementDB("冰", 25)
|
||||
char.AddElementDB("光", 25)
|
||||
char.AddElementDB("暗", 25)
|
||||
char.AddElementDB("火", 30)
|
||||
char.AddElementDB("冰", 30)
|
||||
char.AddElementDB("光", 30)
|
||||
char.AddElementDB("暗", 30)
|
||||
char.SetStatus(AttackP=0.50, SpeedM=0.05, SpeedA=0.05, SpeedR=0.05)
|
||||
char.SetSkillCD(1, 100, 0.05, [])
|
||||
pass
|
||||
@@ -15578,6 +15615,48 @@ def equ_4009(char: CharacterProperty):
|
||||
char.SetSkillCD(1, 100, 0.05, [])
|
||||
pass
|
||||
|
||||
@register
|
||||
def equ_4020(char: CharacterProperty):
|
||||
"""
|
||||
DCALC_REMOVE: equ_4020 - 命运之裁剪师
|
||||
Lv1~95所有技能 +1
|
||||
所有属性强化 +40
|
||||
攻击强化增幅 +55%
|
||||
暴击率 +10%
|
||||
所有速度 +5%
|
||||
技能冷却时间 -5%
|
||||
rarity: 稀有
|
||||
"""
|
||||
char.AddSkillLv(1, 95, 1)
|
||||
char.AddElementDB("火", 40)
|
||||
char.AddElementDB("冰", 40)
|
||||
char.AddElementDB("光", 40)
|
||||
char.AddElementDB("暗", 40)
|
||||
char.SetStatus(AttackP=0.55, SpeedM=0.05, SpeedA=0.05, SpeedR=0.05)
|
||||
char.SetSkillCD(1, 100, 0.05, [])
|
||||
pass
|
||||
|
||||
@register
|
||||
def equ_4021(char: CharacterProperty):
|
||||
"""
|
||||
DCALC_REMOVE: equ_4021 - 迷你裁剪师
|
||||
Lv1~95所有技能 +1
|
||||
所有属性强化 +30
|
||||
攻击强化增幅 +40%
|
||||
暴击率 +10%
|
||||
所有速度 +5%
|
||||
技能冷却时间 -5%
|
||||
rarity: 稀有
|
||||
"""
|
||||
char.AddSkillLv(1, 95, 1)
|
||||
char.AddElementDB("火", 30)
|
||||
char.AddElementDB("冰", 30)
|
||||
char.AddElementDB("光", 30)
|
||||
char.AddElementDB("暗", 30)
|
||||
char.SetStatus(AttackP=0.40, SpeedM=0.05, SpeedA=0.05, SpeedR=0.05)
|
||||
char.SetSkillCD(1, 100, 0.05, [])
|
||||
pass
|
||||
|
||||
|
||||
# endregion
|
||||
# region 耕耘
|
||||
|
||||
@@ -28,6 +28,14 @@ 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]
|
||||
value = 0.1 + (lv-1) * 0.005 + int(lv / 5) * 0.005 + int(lv / 10) * 0.005
|
||||
char.SetStatus(SkillAttack=value)
|
||||
pass
|
||||
|
||||
@register
|
||||
def sundry_6(char: CharacterProperty, *args):
|
||||
'''冒险团'''
|
||||
@@ -69,9 +77,9 @@ def sundry_10(char: CharacterProperty, *args):
|
||||
per_1 = 0
|
||||
per_2 = 0
|
||||
if args[0] == 1:
|
||||
per_0 = 15
|
||||
per_1 = 15
|
||||
per_2 = 3
|
||||
per_0 = 20
|
||||
per_1 = 20
|
||||
per_2 = 5
|
||||
elif args[0] == 2:
|
||||
per_0 = 10
|
||||
per_1 = 10
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user