Skip to content

Commit

Permalink
clean up env
Browse files Browse the repository at this point in the history
  • Loading branch information
kywch committed Apr 16, 2024
1 parent 382129a commit 69194d5
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions reinforcement_learning/environment.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,6 @@
import nmmo.core.game_api as ng


def alt_combat_damage_formula(offense, defense, multiplier, minimum_proportion):
return int(max(multiplier * offense - defense, offense * minimum_proportion))


class Config(
nc.Medium,
nc.Terrain,
Expand Down

0 comments on commit 69194d5

Please sign in to comment.