feat: 根据NPC战斗特殊处理解除捕捉限制
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:
@@ -87,7 +87,8 @@ func (p *Player) GenMonster() {
|
||||
}
|
||||
|
||||
p.Data[i].Lv = 16
|
||||
p.Data[i].IsCapture = 1 //解除捕捉限制
|
||||
|
||||
p.Data[i].IsCapture = handleNPCFightSpecial(p.Data[i].Ext) //解除捕捉限制
|
||||
}
|
||||
|
||||
}
|
||||
@@ -95,7 +96,7 @@ func (p *Player) GenMonster() {
|
||||
if cool.Config.ServerInfo.IsVip != 0 { //测试服,百分百异色
|
||||
p.Data[i].FixSHiny()
|
||||
} else {
|
||||
if p.Data[i].IsCapture!=0 && 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