feat: 添加宠物天敌属性及相关战斗效果
为宠物添加NaturalEnemy属性,并在战斗中实现遇到天敌时的特殊效果: 1. 战斗开始时连续害怕n回合 2. 对天敌的伤害减少n%
This commit is contained in:
@@ -44,6 +44,7 @@ type PetInfo struct {
|
||||
AddSeParam int `xml:"AddSeParam,attr"` // 附加状态参数
|
||||
Recycle int `xml:"Recycle,attr"` // 是否可回收
|
||||
LearnableMoves LearnableMoves `xml:"LearnableMoves"` // 可学习的技能
|
||||
NaturalEnemy string `xml:"NaturalEnemy,attr"` //天敌
|
||||
}
|
||||
|
||||
func (basic *PetInfo) GetBasic() uint32 {
|
||||
|
||||
Reference in New Issue
Block a user