42 lines
626 B
Go
42 lines
626 B
Go
package buff
|
|
|
|
type FightBuffBase struct {
|
|
}
|
|
|
|
/// 激活Buff
|
|
func (this FightBuffBase) Activate() {
|
|
|
|
}
|
|
|
|
/// 结束Buff
|
|
func (this FightBuffBase) End() {
|
|
|
|
}
|
|
|
|
/// 增加CD回合数
|
|
func (this FightBuffBase) AddCD(pVal int32) int32 {
|
|
return 0
|
|
}
|
|
|
|
/// 减少CD回合数
|
|
func (this FightBuffBase) MinusCD(pVal int32) int32 {
|
|
return 0
|
|
}
|
|
|
|
/// 设置CD回合数为新的值
|
|
func (this FightBuffBase) SetCD(newVal int32) int32 {
|
|
return 0
|
|
}
|
|
|
|
/// <summary>
|
|
/// 是否存在指定Tag
|
|
/// </summary>
|
|
func (this FightBuffBase) HasTag(pTag string) bool {
|
|
return false
|
|
}
|
|
|
|
/// 战斗结束时的清理
|
|
func (this FightBuffBase) Clear() {
|
|
|
|
}
|