toukaboushigure

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: 13 Imported by: 0

Documentation

Overview

Code generated by "pipeline"; DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewWeapon

func NewWeapon(c *core.Core, char *character.CharWrapper, p info.WeaponProfile) (info.Weapon, error)

After an attack hits opponents, it will inflict an instance of Cursed Parasol upon one of them for 10s. This effect can be triggered once every 15s. If this opponent is taken out during Cursed Parasol's duration, Cursed Parasol's CD will be refreshed immediately. The character wielding this weapon will deal 16/20/24/28/32% more DMG to the opponent affected by Cursed Parasol.

Types

type Weapon

type Weapon struct {
	Index int
}

func (*Weapon) Data

func (x *Weapon) Data() *model.WeaponData

func (*Weapon) Init

func (w *Weapon) Init() error

func (*Weapon) SetIndex

func (w *Weapon) SetIndex(idx int)

Jump to

Keyboard shortcuts

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