Skip to content

Commit

Permalink
Update weapon ID field hint for ESS events
Browse files Browse the repository at this point in the history
  • Loading branch information
leonhard-s committed May 16, 2021
1 parent 3841386 commit d67574a
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions auraxium/models/_events.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,16 @@ class Death(Event, CharacterEvent):
ID of the :class:`~auraxium.ps2.Vehicle` of the attacker.
.. attribute:: attacker_weapon_id
:type: int
ID of the :class:`~auraxium.ps2.Item` used by the attacker.
.. important::
The reference above is not an error, this field reports the
item ID of the weapon, not the weapon ID.
.. attribute:: character_id
:type: int
Expand Down Expand Up @@ -637,10 +647,15 @@ class VehicleDestroy(Event, CharacterEvent):
ID of the :class:`~auraxium.ps2.Vehicle` of the attacker.
.. attribute:: attacker_wepaon_id
.. attribute:: attacker_weapon_id
:type: int
ID of the :class:`~auraxium.ps2.Weapon` used by the attacker.
ID of the :class:`~auraxium.ps2.Item` used by the attacker.
.. important::
The reference above is not an error, this field reports the
item ID of the weapon, not the weapon ID.
.. attribute:: character_id
:type: int
Expand Down

0 comments on commit d67574a

Please sign in to comment.