weapons.go 391 B

1234567891011121314151617181920212223
  1. package main
  2. import "git.red-green.com/david/cyber-knight/fancycolors"
  3. type Weapon struct {
  4. Id uint64
  5. Name string
  6. MinLevel uint32
  7. BaseDamage uint64
  8. DamagePerLevel uint64
  9. PerLevelStart uint64
  10. PerLevelMax uint64
  11. }
  12. func (w *Weapon) PrettyName() string {
  13. return fancycolors.ReplaceAll(w.Name)
  14. }
  15. func (w *Weapon) DullName() string {
  16. return fancycolors.StripAll(w.Name)
  17. }