fix: 修复异色精灵生成条件判断错误
All checks were successful
ci/woodpecker/push/my-first-workflow Pipeline was successful
All checks were successful
ci/woodpecker/push/my-first-workflow Pipeline was successful
This commit is contained in:
@@ -95,7 +95,7 @@ func (p *Player) GenMonster() {
|
||||
if cool.Config.ServerInfo.IsVip != 0 { //测试服,百分百异色
|
||||
p.Data[i].FixSHiny()
|
||||
} else {
|
||||
if p.Data[i].IsCapture == 1 && grand.Meet(1, 500) {
|
||||
if p.Data[i].IsCapture!=0 && grand.Meet(1, 500) {
|
||||
|
||||
p.Data[i].RandomByWeightShiny()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user