Jump to content

OnPCAttackEvent 1.0.0


1 Screenshot

About This File

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;

 


What's New in Version 1.0.0   See changelog

Released

No changelog available for this version.

  • Upvote 1
  • Love 1

×
×
  • Create New...