nightsoul

package
v0.0.0-...-aaa956a Latest Latest
Warning

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

Go to latest
Published: Nov 15, 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