@merrillphish: Go If you mean the spell's tooltip, like for Fungal Growth or Psi Storm, there are text references you can use in the tooltip. Check how this is done in those cases, and replace the damage effect by the one your spell uses.
You can display the effective damage of the ability in the button tooltip using <d ref="Effect,YourDamageEffect,Amount"/>. As for a weapon tooltip, you can create a fake weapon and set "Damage Display effect" to your effect, which would literally display its damage, and you could name it Spell Power or something- if you prefer to have a counter which shows how many attribute levels you've increased, it would be better to tie an upgrade to it somehow and add weapon levels to your weapon. But tendentially remember that any extra "armor" spots next to the armor tooltips are just weapons that can't fire.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
My hero unit's have spell power. How do I get the value to show up in the Unit's UI Panel?
Thanks
@merrillphish: Go If you mean the spell's tooltip, like for Fungal Growth or Psi Storm, there are text references you can use in the tooltip. Check how this is done in those cases, and replace the damage effect by the one your spell uses.
The source of the spell power is coming from a Veterency behavior.
So I would like for it to show up next to the units armor.
I should do it on the spell tooltip as well though, Thanks!.
So solved?
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
You can display the effective damage of the ability in the button tooltip using <d ref="Effect,YourDamageEffect,Amount"/>. As for a weapon tooltip, you can create a fake weapon and set "Damage Display effect" to your effect, which would literally display its damage, and you could name it Spell Power or something- if you prefer to have a counter which shows how many attribute levels you've increased, it would be better to tie an upgrade to it somehow and add weapon levels to your weapon. But tendentially remember that any extra "armor" spots next to the armor tooltips are just weapons that can't fire.