Skip to content

Commit e8c188a

Browse files
authored
Fix typos found by codespell
1 parent 43160a7 commit e8c188a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

sc2reader/events/game.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ def __init__(self, frame, pid, data):
324324
#: This id can be 0 when the target unit is shrouded by fog of war.
325325
self.target_unit_id = self.ability_type_data.get("unit_tag", None)
326326

327-
#: A reference to the targetted unit. When the :attr:`target_unit_id` is
327+
#: A reference to the targeted unit. When the :attr:`target_unit_id` is
328328
#: 0 this target unit is a generic, reused fog of war unit of the :attr:`target_unit_type`
329329
#: with an id of zero. It should not be confused with a real unit.
330330
self.target_unit = None
@@ -333,7 +333,7 @@ def __init__(self, frame, pid, data):
333333
self.target_unit_type = self.ability_type_data.get("unit_link", None)
334334

335335
#: Integer player id of the controlling player. Available for TargetUnit type events starting in 19595.
336-
#: When the targetted unit is under fog of war this id is zero.
336+
#: When the targeted unit is under fog of war this id is zero.
337337
self.control_player_id = self.ability_type_data.get("control_player_id", None)
338338

339339
#: Integer player id of the player paying upkeep. Available for TargetUnit type events.
@@ -374,7 +374,7 @@ class UpdateTargetUnitCommandEvent(TargetUnitCommandEvent):
374374
from TargetUnitCommandEvent, but for flexibility, it will be treated
375375
differently.
376376
377-
One example of this event occuring is casting inject on a hatchery while
377+
One example of this event occurring is casting inject on a hatchery while
378378
holding shift, and then shift clicking on a second hatchery.
379379
"""
380380

@@ -406,7 +406,7 @@ class SelectionEvent(GameEvent):
406406
player is updated. Unlike other game events, these events can also be
407407
generated by non-player actions like unit deaths or transformations.
408408
409-
Starting in Starcraft 2.0.0, selection events targetting control group
409+
Starting in Starcraft 2.0.0, selection events targeting control group
410410
buffers are also generated when control group selections are modified
411411
by non-player actions. When a player action updates a control group
412412
a :class:`ControlGroupEvent` is generated.
@@ -529,7 +529,7 @@ class ControlGroupEvent(GameEvent):
529529
* :class:`GetControlGroup` - Recorded when a user retrieves a control group (#).
530530
* :class:`AddToControlGroup` - Recorded when a user adds to a control group (shift+ctrl+#)
531531
532-
All three events have the same set of data (shown below) but are interpretted differently.
532+
All three events have the same set of data (shown below) but are interpreted differently.
533533
See the class entry for details.
534534
"""
535535

0 commit comments

Comments
 (0)