Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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)
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.