nosas / OmniToon

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

Add 1 to level and add ATK_TGT_ variable to all Cog's attacks in `COG_ATTRIBUTES` #8

Open nosas opened 3 years ago

nosas commented 3 years ago
  1. The minimum Cog level should be 1, not 0. So I'm adding 1 to all Cog's levels in COG_ATTRIBUTES (except for Bossbot Cogs!)
  2. Add ATKTGT variable after each Cog's attack name so we can easily reference if the Cog attack hits single/multiple Toons.

Example of enhancement 2:


            ('PoundKey', ATK_TGT_SINGLE,
                (2, 2, 3, 4, 6),
                (75, 75, 80, 80, 90),
                (30, 35, 40, 45, 50)),
            ('Shred', ATK_TGT_SINGLE,
                (3, 4, 5, 6, 7),
                (50, 55, 60, 65, 70),
                (10, 15, 20, 25, 30)),
            ('ClipOnTie', ATK_TGT_SINGLE,
                (1, 1, 2, 2, 3),
                (75, 80, 85, 90, 95),
                (60, 50, 40, 30, 20))
        )
nosas commented 3 years ago

VSCode search and replace regex to add ATK_TGT_SINGLE to all non-updated attacks:

Search: (\('\w+',) \( Replace: $1 ATK_TGT_SINGLE, (

nosas commented 3 years ago

Finished for Bossbots