HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Ability not showing when a hero learns it

04-12-2005, 01:04 AM#1
Guest
I have an ability that is based off Regeneration Aura, which is an item ability. I changed item ability to false and changed hero ability to true. I assigned all of the stats and descriptions needed. I also gave the ability icons and gave it an X and Y space that isn't 0. But when the hero learns it, you can't see it in its abilities. The ability does the needed effect though. I changed targets to self. Technically it's still an aura but it only works on the unit that has it. It's probably something obvious but I can't figure it out. What could be causing the icon to not show up?
04-12-2005, 01:49 AM#2
Panto
Many item abilities don't have the ability to show icons in the command card. I suspect the one that you chose is one of them. You can either use a similar ability (of which there are a few) or make a dummy ability that just shows an icon as appropriate.
04-12-2005, 02:46 AM#3
Guest
What are some other abilities that regenerate hitpoints per second?
04-12-2005, 08:38 AM#4
Anitarf
Unholy aura, for example. (and that's about the only icon-showing example I can think of) Or, you can just use a blank passive ability (an ability that doesn't do anything, only shows an icon) for the hero to learn, and then you give him the no-icon multi-level life regeneration unit ability with a very simple trigger (in this case, the life regeneration ability is based on the one that ring of regeneration uses):
Code:
Scars Learn
    Events
        Unit - A unit Learns a skill
    Conditions
        (Learned Hero Skill) Equal to Scars of the Veteran (Learn icon)
    Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                (Level of Scars of the Veteran (Learn icon) for (Learning Hero)) Equal to 1
            Then - Actions
                Unit - Add Scars of the Veteran multi level to (Learning Hero)
            Else - Actions
        Unit - Set Level of Scars of the Veteran multi level for (Learning Hero) to (Level of Scars of the Veteran (Learn icon) for (Learning Hero))
Code:
Scars Retrain
    Events
        Unit - A unit Uses an item
    Conditions
        (Item-type of (Item being manipulated)) Equal to Tome of Retraining
        (Unit-type of (Hero manipulating item)) Equal to Veteran Mercenary
    Actions
        Unit - Remove Scars of the Veteran multi level from (Hero manipulating item)
04-12-2005, 02:32 PM#5
Guest
Thanks again Anitarf.