Combat |
public class CombatActionEventArgs : EventArgs
The CombatActionEventArgs type exposes the following members.
Name | Description | |
---|---|---|
![]() | CombatActionEventArgs | Event data containing info about the combat action. If subscribed to the correct event, this info can be changed before being stored as data |
Name | Description | |
---|---|---|
![]() | attacker | The source of the action |
![]() | cancelAction | If this is set to true, the data will not be entered |
![]() | combatAction | Read-only object reference |
![]() | critical | If the attack was a critical hit |
![]() | damage | The amount of damage |
![]() | special | A "double" attack, "flurry" etc... or "None" |
![]() | swingType | The action type. (int)SwingTypeEnum can help you convert this. |
![]() | tags | Arbitrary data you may assign to a MasterSwing object |
![]() | theAttackType | The skill name or type of action |
![]() | theDamageType | The type of damage, such as crushing, divine, etc |
![]() | time | Time of occurance |
![]() | timeSorter | A variable used for stable sorting between actions with the same timestamp |
![]() | victim | The destination of the action |