26ed99fda6
Build and deploy / Build (push) Has been cancelled
Build and deploy / Update Contributors (push) Has been cancelled
Build and deploy / Deploy (push) Has been cancelled
19 lines
311 B
Go
19 lines
311 B
Go
package effect
|
|
|
|
import (
|
|
"image/color"
|
|
)
|
|
|
|
// Blindness is a lasting effect that greatly reduces the vision range of the
|
|
// entity affected.
|
|
var Blindness blindness
|
|
|
|
type blindness struct {
|
|
nopLasting
|
|
}
|
|
|
|
// RGBA ...
|
|
func (blindness) RGBA() color.RGBA {
|
|
return color.RGBA{R: 0x1f, G: 0x1f, B: 0x23, A: 0xff}
|
|
}
|