cheeeeeeeeeen/Chens-Gradius-Mod

Option Mechanics and Rules Rework

Closed this issue · 3 comments

Rework the Option Rules (#14) and the process of how the Options duplicate projectiles.

  • Convert Option Rules to support ammo types instead of banning projectiles.
  • Use the option owner's held item to determine to projectile that will be produced and add a filter to only produce that projectile type.
  • Rework AlienProjectile class to add a weapon item type check so they are only filtered if the held item is the same as the weapon item type in the AlienProjectile
    • Merge VanillaRules and ModRules into one
    • Support vanilla projectiles in AlienProjectile.
  • Add a filter for checking ammo types. This filter should go as an OR check with the new projectile type filter.
    • Add flags for current ammo being consumed as an Item to be checked for the ammo filter.
    • Add a flag for checking current held weapon with the consuming weapon.
  • Add a attack limitation flag that will only run the duplication code if the owner's item animation is actually animating.

Reworked a lot of stuff.

Updated to-do