You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
580 B

/*
*
@author: sre
@date: 2022/11/6 0006
@desc: todo
*
*/
package main
import "fmt"
//关于盗贼背刺暴击伤害计算公式
//https://ngabbs.com/read.php?tid=20736838
//https://ngabbs.com/read.php?tid=19912134
//暴击伤害=({(AP*1.7/14+DPH)*150%+210}*1.2)2.3
// backStackDmg背刺DPH
func backStackDmg(dps, speed, ap float64) float64 {
//背刺伤害={(AP*1.7/14+DPH)*150%+210}
return 225.0 + 1.5*(ap*1.7/14+dps*speed)
}
func bckStackDPH(myAP, myCrit float64) {
//帝陨
fmt.Println("帝陨 ", DesirBloodBackSTackDmg(backStackDmg(73.1, 1.8, myAP+16), myCrit+1))
}