Documentation ¶ Index ¶ func NewWeapon(c *core.Core, char *character.CharWrapper, p weapon.WeaponProfile) (weapon.Weapon, error) type Weapon func (w *Weapon) Init() error func (w *Weapon) SetIndex(idx int) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func NewWeapon ¶ func NewWeapon(c *core.Core, char *character.CharWrapper, p weapon.WeaponProfile) (weapon.Weapon, error) Types ¶ type Weapon ¶ type Weapon struct { Index int } Normal or Charged Attacks grant a Harmonic on hits. Gaining 5 Harmonics triggers the power of music and deals 100% ATK DMG to surrounding opponents. Harmonics last up to 30s, and a maximum of 1 can be gained every 0.5s. func (*Weapon) Init ¶ func (w *Weapon) Init() error func (*Weapon) SetIndex ¶ func (w *Weapon) SetIndex(idx int) Source Files ¶ View all Source files flute.go Click to show internal directories. Click to hide internal directories.