Reference to the Player who caused the Damage. a kill feed can show what killed a Player. Setting this allows other systems to react to the damage event, e.g. Reference to the Ability which caused the Damage. What is the context for this Damage? DamageReason.UNKNOWN (default value), DamageReason.COMBAT, DamageReason.FRIENDLY_FIRE, DamageReason.MAP, DamageReason.NPC. Alternatively, create a Damage object and populate it with all the following properties to get full use out of the system: Constructors Constructor NameĬonstructs a damage object with the given number, defaults to 0. To damage a Player, you can simply write e.g.: whichPlayer:ApplyDamage(Damage.New(10)). Content Creator Kit Content Creator Kit.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |