diff --git a/extra.py b/extra.py index 19db1be5d6cc8b67a50d61480ca711480b1f0148..2dd568c5ebdb0d427797ff95a6bce0bf0076b931 100644 --- a/extra.py +++ b/extra.py @@ -1,8 +1,6 @@ from library import IDABot, Unit, UnitType, TypeData, Point2DI, PLAYER_SELF from typing import Optional -Point2D.distance = lambda self, other: sqrt((self.x - other.x)**2 + (self.y - other.y)**2) - def has_addon(bot: IDABot, candidate: Unit, addon_type: UnitType): """