» Wed Jun 20, 2012 7:26 am
Each enchantment will trigger a seperate OnHit event at the same time. I've noticed that when striking with a weapon with frost damage enchantment, it'll actually trigger 3 OnHit events at the same time (once for melee hit, once for frost damage, once for stamina damage). You should be able to check if the OnHit event was triggered by an enchantment by using
If(akSource As Enchantment)
However, I've noticed this to be bugged. It detected enchantments from a bow correctly, but the sword I described above didn't get detected correctly and it just registered it as 3 different melee hits at the same time.