Skip to content

Commit

Permalink
chore: fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
zyr17 committed Aug 31, 2023
1 parent c6fbd4e commit ccd44f3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions server/action.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,16 +209,18 @@ class MakeDamageAction(ActionBase):
applies to the charactor (e.g. Kokomi) treats as zero damage.
Args:
player_idx (int): The index of the player to make damage from.
source_player_idx (int): The index of the player to make damage from.
damage_value_list (List[DamageValue]): The damage values to make.
target_idx (int): The index of the player to make damage to.
target_player_idx (int): The index of the player to make damage to.
charactor_change_rule (Literal['NONE', 'NEXT', 'PREV', 'ABSOLUTE']):
The rule of charactor change.
charactor_change_idx (int): The charactor index of the charactor who
will be changed to. Only used when charactor_change_rule is
'ABSOLUTE'. If it is defeated, select by default order. (e.g.
absolute choose charactor 2, but it is defeated, then choose
0, 1, ...)
TODO: is these two player idx necessary? Can a damage made to both
players? (e.g. Kokomi's elemental burst)
"""
type: Literal[ActionTypes.MAKE_DAMAGE] = ActionTypes.MAKE_DAMAGE
source_player_idx: int
Expand Down

0 comments on commit ccd44f3

Please sign in to comment.