So this line here:
-
(50.00 + ((Real((Level of Arcane Explosion // for Hero_ArcaneMistress))) x 50.00)
Says 50 + 50/100/150/200 etc...
We can change it to this for your Agility damage:
-
(0.50 x ((Real((Level of YourAbility // for YourHero))) x (Real(Agility of YourHero include bonuses)))
It's pretty much the same, we just change the + to an x (addition to multiplication) and the last 50.00 to be your Agility, but remember you need to convert Agility to a Real like you're doing with the Level. Also, make sure that you multiply the Level by 0.50 and not the Agility by 0.50
Here's some pictures that may help, I did it a little different that my above example but it's the same outcome.
Step 1, use Arithmetic twice to get this setup:
View attachment 442101
Step 2, change the first 1.00 to Agility:
View attachment 442102
Step 3, change the next 1.00 to 0.50:
View attachment 442103
Step 4, change the last 1.00 to the Level of the ability:
View attachment 442104
Of course you should change Avatar and (Triggering unit) to your Ability/Unit.