Documentation
¶
Index ¶
- type Tmpl
- func (t *Tmpl) AddDefMod(key string, val float64, dur int)
- func (t *Tmpl) AddResMod(key string, mod core.ResistMod)
- func (t *Tmpl) AddTask(fun func(), name string, delay int)
- func (t *Tmpl) Attack(atk *core.AttackEvent, evt core.LogEvent) (float64, bool)
- func (t *Tmpl) DefAdj(ai *core.AttackInfo, evt core.LogEvent) float64
- func (t *Tmpl) GetTag(key string) int
- func (t *Tmpl) GroupTagDamageMult(tag core.ICDTag, grp core.ICDGroup, char int) float64
- func (t *Tmpl) HP() float64
- func (t *Tmpl) HasDefMod(key string) bool
- func (t *Tmpl) HasResMod(key string) bool
- func (t *Tmpl) Index() int
- func (t *Tmpl) Init(x, y, size float64)
- func (t *Tmpl) Kill()
- func (t *Tmpl) MaxHP() float64
- func (t *Tmpl) RemoveDefMod(key string)
- func (t *Tmpl) RemoveResMod(key string)
- func (t *Tmpl) RemoveTag(key string)
- func (t *Tmpl) ResetDamageCounterAfterDelay(tag core.ICDTag, grp core.ICDGroup, char int)
- func (t *Tmpl) ResetTagCounterAfterDelay(tag core.ICDTag, grp core.ICDGroup, char int)
- func (t *Tmpl) Resist(ai *core.AttackInfo, evt core.LogEvent) float64
- func (t *Tmpl) SetIndex(ind int)
- func (t *Tmpl) SetTag(key string, val int)
- func (t *Tmpl) Shape() core.Shape
- func (t *Tmpl) Type() core.TargettableType
- func (t *Tmpl) WillApplyEle(tag core.ICDTag, grp core.ICDGroup, char int) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Tmpl ¶
type Tmpl struct { Core *core.Core *reactable.Reactable TargetType core.TargettableType TargetIndex int HPCurrent float64 HPMax float64 Hitbox core.Circle Res map[core.EleType]float64 Level int Tags map[string]int //mods ResMod []core.ResistMod DefMod []core.DefMod // contains filtered or unexported fields }
func (*Tmpl) GroupTagDamageMult ¶
func (*Tmpl) RemoveDefMod ¶
func (*Tmpl) RemoveResMod ¶
func (*Tmpl) ResetDamageCounterAfterDelay ¶
func (*Tmpl) ResetTagCounterAfterDelay ¶
func (*Tmpl) Type ¶
func (t *Tmpl) Type() core.TargettableType
Click to show internal directories.
Click to hide internal directories.