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 } Increases DMG dealt by Normal and Charged Attacks by 20%. Additionally, regenerates 60% of ATK as HP when Normal and Charged Attacks score a CRIT Hit. This effect can occur once every 5s. func (*Weapon) Init ¶ func (w *Weapon) Init() error func (*Weapon) SetIndex ¶ func (w *Weapon) SetIndex(idx int) Source Files ¶ View all Source files blacksword.go Click to show internal directories. Click to hide internal directories.