I was wondering how I could make floating text aoppear near the targetted unit saying how much damage is caused when the ability is cast. I want it to look like the critical strike text/font. Thanks.
Code:
Right Jab
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Right Jab
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of Right Jab for (Casting unit)) Equal to 1
Then - Actions
Unit - Cause (Casting unit) to damage (Target unit of ability being cast), dealing ((Real((Agility of (Casting unit) (Include bonuses)))) x 2.00) damage of attack type Chaos and damage type Normal
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of Right Jab for (Casting unit)) Equal to 2
Then - Actions
Unit - Cause (Casting unit) to damage (Target unit of ability being cast), dealing ((Real((Agility of (Casting unit) (Include bonuses)))) x 2.20) damage of attack type Chaos and damage type Normal
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of Right Jab for (Casting unit)) Equal to 3
Then - Actions
Unit - Cause (Casting unit) to damage (Target unit of ability being cast), dealing ((Real((Agility of (Casting unit) (Include bonuses)))) x 2.60) damage of attack type Chaos and damage type Normal
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of Right Jab for (Casting unit)) Equal to 4
Then - Actions
Unit - Cause (Casting unit) to damage (Target unit of ability being cast), dealing ((Real((Agility of (Casting unit) (Include bonuses)))) x 2.90) damage of attack type Chaos and damage type Normal
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of Right Jab for (Casting unit)) Equal to 5
Then - Actions
Unit - Cause (Casting unit) to damage (Target unit of ability being cast), dealing ((Real((Agility of (Casting unit) (Include bonuses)))) x 3.30) damage of attack type Chaos and damage type Normal
Else - Actions