feat: 调整怪物生成概率逻辑
All checks were successful
ci/woodpecker/push/my-first-workflow Pipeline was successful

This commit is contained in:
xinian
2026-02-26 12:23:02 +08:00
committed by cnb
parent e2bfab5131
commit d27112b5a8

View File

@@ -79,7 +79,7 @@ func (p *Player) GenMonster() {
if len(v.RefreshID) == 1 { //说明这里只固定刷一个,概率变尼尔尼奥,不是稀有精灵
nieo, _, _ := p.Roll(1, 25)
nieo := grand.Meet(20, 1000)
if nieo {
p.Data[i].Ext = 77
if grand.Meet(1, 2) {
@@ -87,7 +87,7 @@ func (p *Player) GenMonster() {
}
p.Data[i].Lv = 16
p.Data[i].IsCapture = handleNPCFightSpecial(p.Data[i].Ext) //解除捕捉限制
}