feat(effect): 新增回合结束计数逻辑并调整伤害处理流程

在 Effect46 中新增 `Turn_End` 方法用于回合结束时增加计数器,并移除了原有在
`Damage_DIV_ex` 方法中重复的自增操作,以确保逻辑清晰且统一。

---

fix(monster): 调整异色宠物生成规则及捕获概率

测试服环境下强制开启异色宠物生成,并将原捕获概率由 30% 调整为 1%,提升
稀有精灵
This commit is contained in:
2025-12-15 04:02:03 +08:00
parent 77f3d153c6
commit d2467363e8
6 changed files with 166 additions and 72 deletions

View File

@@ -16,6 +16,9 @@ type Effect46 struct {
conut int64
}
func (e *Effect46) Turn_End() {
e.conut++
}
func (e *Effect46) Damage_DIV_ex(t *info.DamageZone) bool {
if !e.Hit() {
return true
@@ -37,7 +40,7 @@ func (e *Effect46) Damage_DIV_ex(t *info.DamageZone) bool {
t.Damage = alpacadecimal.NewFromInt(0)
}
e.conut++
//fmt.Println("Effect46_n", t.Damage)
return true
}