Help With Custom Spells

So I have a spell that requires my character to be holding a ruby.

Using said ruby he can sacrifice a given amount of HP and deal damage.

I want that damage to be (HP sacrificed X 3.5) 

My problem is, currently I would have to right a common event for each possible member of my party and each possible member of the enemy team, because I cannot figure out how to have damage dealt to the spell target, nor can I figure out how to add in my damage formula, nor can I find a way to display damage taken.

So checklist

[x] Have Ability Limited to Holding Key Item

[x] Allow Player to determine how much HP will be lost

[ ] Have said HP automatically be taken from caster (rather than specific party member)

[ ] Create Formula that takes HP value and multiplies it by a constant 3.5 (its arbitrary I may change it)

[ ] Have damage be dealt to the target of the ability (currently if I use common events, I have to select a specific enemy party member)

[ ] Create HP check to make sure I have enough HP (Eric has 200 HP, tries to sacrifice 300)

[ ] Display Damage taken/dealt

[ ] ???

[ ] Profit?
Most of this can be done rather easily with damage formulas, however, I need to know how you're doing this "Allow Player to determine how much HP will be lost". More specifically, how and where is this value being stored?

Have said HP automatically be taken from caster? a.hp -= x where 'x' is the amount of hp deducted from the caster

Create Formula that takes HP value and multiplies it by a constant 3.5? x * 3.5 where 'x' is the amount of hp deducted from the caster

Have damage be dealt to the target of the ability? already covered skills do this for you.

Create HP check to make sure I have enough HP? a.hp > x ? a.hp-= x : $game_message.add("You don't have enough hp!") where 'x' is the amount of hp to be scarified

Display Damage taken/dealt? already covered skills do this for you.
Most of this can be done rather easily with damage formulas, however, I need to know how you're doing this "Allow Player to determine how much HP will be lost". More specifically, how and where is this value being stored?

Have said HP automatically be taken from caster? a.hp -= x where 'x' is the amount of hp deducted from the caster

Create Formula that takes HP value and multiplies it by a constant 3.5? x * 3.5 where 'x' is the amount of hp deducted from the caster

Have damage be dealt to the target of the ability? already covered skills do this for you.

Create HP check to make sure I have enough HP? a.hp > x ? a.hp-= x : $game_message.add("You don't have enough hp!") where 'x' is the amount of hp to be scarified

Display Damage taken/dealt? already covered skills do this for you.

I am currently trying to use common events to let the player choose his HP sacrifice, but unfortunately that happens after the actual skill is used. (and I have gotten both the player and enemy to take damage at a 1 : 1 ration but it won't display the damage.

I am still very new at using this software so please try to understand that while explaining.
That brings us back to the first sentence of my previous reply. We need to know what you've done so far in order to help you, screenshots, or the project files would go a long way.
This is a bit tricky but i can send you in the right direction

First you will want Hime's script Common Event Variables and Skill links.

The first will let you set the user to a variable, then the second will allow you to link 2 skills together, 1 to damage target and the other to damage the user. 

The damage formulas you need are 

Target = \v [x] * 3.5

User   = \v [x]

where x equals the number you had them input in you common event. 

you will also need to do a chain of conditional events for the actor like

Conditional event, Variable = [y] where y is the variable you set the user to in the Common Event Variable script call

then set each one force action actor skill that you want to use 

then set another conditional event for each actor 

Another option that might be easier now that I think of it would be Yanfly's Skill Cost Manager

This is an easier way to have the skill cost you hp's but still will need some way to like the common event to the actor which would take Hime's script which I am not to familiar with as I have not used it myself yet. 
Thanks you guys I think I may be able to learn about these scripts a little and apply them to my game (the whole concept revolves around sacrificing blood) thanks for putting up with my ignorance, I'll post a playable demo with a handfull of spells once I get it up and running.

Original thread: https://forums.rpgmakerweb.com/threads/help-with-custom-spells.43310/