Version 1.0.0
496 downloads
This event triggers when a player character attacks another entity. And it registers the damage and other information about the attack.
Example usage:
// @damage holds the amount of damage dealt.
// @damagegid holds the GID of the target (account ID if the target is a player).
// @damagerid holds the rid of the mob
OnPCAttackEvent:
dispbottom "You've dealt "+@damage+" to target with GID "+@damagegid+" and RID "+@damagerid;