( Global or local variable can also be object variable )
Add Variable Charge set to 0
Add Variable Damage set to 2
( Event for the "Charging" effect )
Event :
If Charge = 0 ----> Damage = 2
If Charge = 1 ----> Damage = 3
If Charge = 2 ----> Damage = 4
If Charge = 3 ----> Damage = 5
( Event for set the maximum charge of the Weapon )
Event :
Evry tick --->
Charge = ( Max Charge for exemple 3 seconds ) 3 ----> Set Charge to 3
( Event who define how many time you charge your weapon )
Event :
Evry 1 seconds ---->
On mouse button is down ---> add 1 to Charge
( Wepon event )
On Mouse button released ----> Spawn Bullet
-----> Set Charge to 0
( Ennemy Side )
Event :
On bullet overlapping ennemy ----> Destroy Bullet
-----> Substract Damage to Ennemy.Life
Hope it's what you need ! =)