nightsoul

package
v1.15.2-0...-5e91432 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 5, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const NightsoulBlessingStatus = "nightsoul-blessing"

Variables

This section is empty.

Functions

This section is empty.

Types

type State

type State struct {
	MaxPoints float64
	// contains filtered or unexported fields
}

func New

func New(c *core.Core, char *character.CharWrapper) *State

func (*State) ClearPoints

func (s *State) ClearPoints()

func (*State) Condition

func (s *State) Condition(fields []string) (any, error)

func (*State) ConsumePoints

func (s *State) ConsumePoints(amount float64)

func (*State) EnterBlessing

func (s *State) EnterBlessing(amount float64)

func (*State) ExitBlessing

func (s *State) ExitBlessing()

func (*State) GeneratePoints

func (s *State) GeneratePoints(amount float64)

func (*State) HasBlessing

func (s *State) HasBlessing() bool

func (*State) Points

func (s *State) Points() float64

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL