fix: 修复异色精灵生成条件判断错误
All checks were successful
ci/woodpecker/push/my-first-workflow Pipeline was successful

This commit is contained in:
xinian
2026-02-26 11:00:11 +08:00
committed by cnb
parent c921825007
commit ae22e51868

View File

@@ -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()