I want an AttackRoll class exported from DnD battler and DnD battler.dice for resolving D&D-style…
I want an AttackRoll class exported from DnD battler and DnD battler.dice for resolving D&D-style…: a task in MiMo-V2.6-RL-harbor-code: MiMo-V2.6-RL Code (Harbor) (Harbor dataset). The instance method attack(enemy ac: int, advantage: Optional int = None, add ability to damage=True, munchkin=False)…
The task
The instance method `attack(enemy_ac: int, advantage: Optional[int] = None, add_ability_to_damage=True, munchkin=False) -> int` should roll the attack against the target armor class and return `0` on a miss or the total damage on a hit. For example, with `ability_die = AbilityDie(bonus=2)`, `damage_dice =…
Part of FineEnvs/MiMo-V2.6-RL-harbor-code.