Here's the deal: I'm working on a somewhat big RPG project and I got a hero that can apply poison to his weapon. Now, the ability is working just fine, but I want to add a buff-icon to the hero with the poison (not the target) that says something along the lines of (This unit has Black Lotus Venom; It will cause x effect with melee attacks). I'm perfectly capable of putting a "dummy" buff icon on a unit by using abilities such as Brilliance Aura or something and just removing all effects from the aura, putting the spell itself in a spellbook and disabling it.
My biggest issue is, the map is quite complex, especially the hero abilities are rather "heavy", using quite a bit of triggers and dummy abilities, so I want to add a buff icon to a unit that last indefinitely (until deliberate removed by the unit, at least), and it's supposed to take up as few resources as possible.
I did try to give the unit brilliance aura, put it in a spellbook, disable it, and give the aura 5 levels, one with no buff and four levels with a different buff icon each, and then when a new poison was applied I would change the level of brilliance aura to the level that corresponds with the buff icon I wanted.
Level 1 - Stats - Buffs None
Level 2 - Stats - Buffs Dire Hollow Caster
Level 3 - Stats - Buffs Black Lotus Caster
etc.
With Dire Hollow Caster and Black Lotus Caster being dummy buffs with no effects beyond the icon. Problem was, brilliance aura started acting erratically when taking this approach. Even though all buffs were based on the exact same base-buff (brilliance aura), they still ended up being strange when I switched the level of the brilliance aura dummy ability.
First of all, there would be a bit of lag before the correct buff icon appeared, and there would be an overlap where both buff icons appeared (so when switching from, for example, dire hollow poison to black lotus poison, it would show both icons on the caster for a small period of time). I then put in a line in my poison triggers to remove buff icons manually, which at least prevented them from overlapping, but the icons were still erratic. For example, when switching to black lotus poison (which corresponded to level 3 of brilliance aura dummy), it would show the icon of hydra blood poison (which corresponds to level 4). I checked, I double-checked, and nothing was wrong with my triggers: My triggers set the level of the brilliance aura dummy to the correct level (level 3), and the level 3 buff for the dummy aura was indeed black lotus, but it would still show the hydra blood icon and text.
Ive gone over the dummy abilities, dummy buffs and triggers countless times and it appears that it simply is erratic to have different buffs for an aura, so my question is: What is the most resource-effective way of adding a fake icon and icon text to a hero? After all, it is a map intended for up to 9 players at a time with plenty of triggers, spellbooks, dummy abilities etc. operating, so I want to really keep the abilities as tightly made as possible, resource-wise.
My biggest issue is, the map is quite complex, especially the hero abilities are rather "heavy", using quite a bit of triggers and dummy abilities, so I want to add a buff icon to a unit that last indefinitely (until deliberate removed by the unit, at least), and it's supposed to take up as few resources as possible.
I did try to give the unit brilliance aura, put it in a spellbook, disable it, and give the aura 5 levels, one with no buff and four levels with a different buff icon each, and then when a new poison was applied I would change the level of brilliance aura to the level that corresponds with the buff icon I wanted.
Level 1 - Stats - Buffs None
Level 2 - Stats - Buffs Dire Hollow Caster
Level 3 - Stats - Buffs Black Lotus Caster
etc.
With Dire Hollow Caster and Black Lotus Caster being dummy buffs with no effects beyond the icon. Problem was, brilliance aura started acting erratically when taking this approach. Even though all buffs were based on the exact same base-buff (brilliance aura), they still ended up being strange when I switched the level of the brilliance aura dummy ability.
First of all, there would be a bit of lag before the correct buff icon appeared, and there would be an overlap where both buff icons appeared (so when switching from, for example, dire hollow poison to black lotus poison, it would show both icons on the caster for a small period of time). I then put in a line in my poison triggers to remove buff icons manually, which at least prevented them from overlapping, but the icons were still erratic. For example, when switching to black lotus poison (which corresponded to level 3 of brilliance aura dummy), it would show the icon of hydra blood poison (which corresponds to level 4). I checked, I double-checked, and nothing was wrong with my triggers: My triggers set the level of the brilliance aura dummy to the correct level (level 3), and the level 3 buff for the dummy aura was indeed black lotus, but it would still show the hydra blood icon and text.
Ive gone over the dummy abilities, dummy buffs and triggers countless times and it appears that it simply is erratic to have different buffs for an aura, so my question is: What is the most resource-effective way of adding a fake icon and icon text to a hero? After all, it is a map intended for up to 9 players at a time with plenty of triggers, spellbooks, dummy abilities etc. operating, so I want to really keep the abilities as tightly made as possible, resource-wise.