Using Variable in Tooltip

ChaosWarlock

New Member
Reaction score
7
I am wondering if there is a way to use a variable in a tooltip.


What I want to accomplish is this:

The heroes on my map get +spell damage from items/abilities. I would like the tooltip to display the correct amount of damage that the spell will deal including their +spell damage. So if the spell is 100 damage and the hero has +20 spell damage then the tooltip will read "deals 120 damage".

Is this possible?

Thanks in advance!
 

Komaqtion

You can change this now in User CP.
Reaction score
469
Nope, not possible...

But, why don't you write that they'll deal 100 + spell damage.
And then have some way of notifying them of how much spell damage they currently have :S
 

ZugZugZealot

New Member
Reaction score
33
Eve of the Apocalypse: Twilight (an AoS map) has abilities boosted by the heroes' stats. And for the tooltips it's something like "...deals 100 + (1.3 * Agi) damage...". Also EotA has a "-s" command (short for "-spells") which does a message display of how much damage your abilities will do.
 

Sevion

The DIY Ninja
Reaction score
413
In the tooltip, they merely type out "deals 100 + (1.3 * Agi)"

Then in the trigger there's a formula that the trigger follows to show you.
 

ChaosWarlock

New Member
Reaction score
7
Thanks for the responses. I didn't think it was possible but I wasn't sure if there was a secret out there of how to do it that I didn't know about. I will have to just use the X + Spell damage method.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top