Documentation ¶
Index ¶
- func CreateWeaponCoHProcDamage(itemId int32, itemName string, ppm float64, spellId int32, ...)
- func CreateWeaponEquipProcDamage(itemId int32, itemName string, ppm float64, spellId int32, ...)
- func CreateWeaponProcAura(itemId int32, itemName string, ppm float64, ...)
- func CreateWeaponProcDamage(itemId int32, itemName string, ppm float64, spellId int32, ...)
- func CreateWeaponProcSpell(itemId int32, itemName string, ppm float64, ...)
- type ProcStatBonusEffect
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateWeaponCoHProcDamage ¶ added in v0.0.24
func CreateWeaponCoHProcDamage(itemId int32, itemName string, ppm float64, spellId int32, school core.SpellSchool, dmgMin float64, dmgRange float64, bonusCoef float64, defType core.DefenseType)
Creates a weapon proc for "Chance on Hit" weapon effects
func CreateWeaponEquipProcDamage ¶ added in v0.0.24
func CreateWeaponEquipProcDamage(itemId int32, itemName string, ppm float64, spellId int32, school core.SpellSchool, dmgMin float64, dmgRange float64, bonusCoef float64, defType core.DefenseType)
Creates a weapon proc for "Equip" weapon effects
func CreateWeaponProcAura ¶
func CreateWeaponProcAura(itemId int32, itemName string, ppm float64, procAuraGenerator func(character *core.Character) *core.Aura)
Create a weapon proc for a custom aura.
func CreateWeaponProcDamage ¶
func CreateWeaponProcDamage(itemId int32, itemName string, ppm float64, spellId int32, school core.SpellSchool, dmgMin float64, dmgRange float64, bonusCoef float64, defType core.DefenseType, spellFlagExclude core.SpellFlag)
Create a simple weapon proc that deals damage.
Types ¶
type ProcStatBonusEffect ¶
type ProcStatBonusEffect struct { Name string ID int32 AuraID int32 Bonus stats.Stats Duration time.Duration Callback core.AuraCallback ProcMask core.ProcMask Outcome core.HitOutcome Harmful bool ProcChance float64 PPM float64 ICD time.Duration // For ignoring a hardcoded spell. IgnoreSpellID int32 }
Click to show internal directories.
Click to hide internal directories.