I have chosen to implement the Blood Drain ability next. This will belong to Lucius the vampire and is integral to his Impulse mechanic so must be added before I can work on that. The ability expends all of the character's remaining energy, to deal minor damage to a target in melee range for each energy spent and heal the user for an equal amount. Code-wise, this was relatively simple, due to the fact that it is effectively just a modified version of the Bloody Slash function. It differs in that it does not apply bleed, it heals and it loops as long as the user has energy and the target has health.
Here is a video showing player-controlled Lucius using Blood Drain to take NPC Fred down to 1 health. Fred then uses Blood Drain on Lucius, dealing heavy damage and healing himself:
Comments