Smart Projectile Systems
Creating a projectile class that references a resource class is key to simplify resource reliant projectiles and abilities. Creating these classes that contribute to one another allows the player to receive resources at any time given a specific condition. Such as gaining health/mana on kill, drinking consumables, or picking up orbs that restore/generate resources.