nosas / OmniToon

[WIP] ToonTown AI - Python Plays ToonTown
3 stars 0 forks source link

Create ToonAttackEvent class to create snapshot of a Toon's attack, target, and reward #79

Closed nosas closed 7 months ago

nosas commented 3 years ago

The reward atk_hit and multiplier arguments will be passed in during ToonAttackState.handle_attacks()

This will allow us to easily calculate an attack's reward for each ToonAttackState.

nosas commented 3 years ago

We can utilize python's new dataclasses: https://docs.python.org/3/library/dataclasses.html

nosas commented 7 months ago

Done in #100