Example #1
0
func (*Sludge) ModifyBase(b stats.Base) stats.Base {
	b.Acc /= 2
	return b
}
Example #2
0
func (mc *massCondition) ModifyBase(b stats.Base) stats.Base {
	b.Mass *= 1.5
	base.Log().Printf("Returning mass %v", b.Mass)
	return b
}
Example #3
0
func (s *silence) ModifyBase(b stats.Base) stats.Base {
	b.Rate *= 1.0 - float64(s.Ticker)/float64(s.Duration)
	return b
}