Skip to content

Commit

Permalink
fix: param "value" from entity.change_stat is now optional
Browse files Browse the repository at this point in the history
the default is set to 0
  • Loading branch information
Nick von Podewils committed Jun 5, 2024
1 parent 93a0741 commit 047087f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Entities.py
Original file line number Diff line number Diff line change
Expand Up @@ -528,7 +528,7 @@ def remove_effect_by_index(self, index: int = -1) -> bool:
except:
return False

def change_stat(self, effect: str, value: int | float) -> bool:
def change_stat(self, effect: str, value: int | float = 0) -> bool:
"""
changes stat (effect.infl) by value
Expand Down

0 comments on commit 047087f

Please sign in to comment.