1
Some checks failed
ci/woodpecker/push/my-first-workflow Pipeline failed

This commit is contained in:
xinian
2026-02-17 22:36:18 +08:00
committed by cnb
parent ac0318b3f4
commit 756edc1cdd
8 changed files with 72 additions and 16 deletions

View File

@@ -221,8 +221,8 @@ func (our *Input) CalculatePower(deftype *Input, skill *info.SkillEntity) alpaca
// 10. PwrDouble: 攻击时,若对方处于异常状态, 则威力翻倍;
// 11. DmgBindHpDv: 造成的伤害等于自身剩余体力*1/2+潜力(个体值); 默认: 0
if skill.DmgBindLv != 0 {
level := utils.Min(deftype.CurrentPet.Info.Level, 100)
skill.Power = int(level)
//level := utils.Min(deftype.CurrentPet.Info.Level, 100)
skill.Power = int(deftype.CurrentPet.Info.Level)
}
if skill.PwrBindDv != 0 {