HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Putting more than one skill together

06-27-2004, 06:36 AM#1
Ez8
I'm trying to create custom skills by putting more than 1 skill together.

For example, let's say I want to create an aura that gives the effects of both devotion and vampiric aura. I need to base my aura off one of them, so let's say I base it off devotion.

So what I did was to create an event when my hero learns a skill, and set skill=devotion aura for the condition.

Now, what I can't figure out is what to do in the Action part so that the aura will gain the effects of vampiric aura as well.

I suppose I could just tell the hero to automatically learn vampiric aura as soon as devotion aura is learnt, but wouldn't that add another skill icon? Also, the newly learnt vampiric aura will not level when devotion aura level, will it?

Also, I read some other threads around here, and noticed people talking about a trigger function to check an ability's level. I can't seem to find that function anywhere.
06-27-2004, 06:48 AM#2
Rafael Br
You can try using a trigger to check the level when it learns( integer- level of ability for unit) and adds the another skill to the hero, or you can use a dummy unit with the another aura and order it to always folow the hero, but this will cause lag.
06-27-2004, 08:22 AM#3
Ez8
EDIT:

Ok, I've finally found the Integer Comparison function, thank God.

But I still can't put two skills together as one.

I tried putting Critical Strike and Devotion Aura together like this:


Events
Unit - Test Hero 0001 <gen> Learns a skill
Conditions
(Learned Hero Skill) Equal to Critical Strike
Actions
Hero - Learn skill for Test Hero 0001 <gen>: Unholy Aura


It didn't work. I thought putting a point in Critical Strike will automatically learn Unholy Aura for the hero as well, but it didn't.

I thought that it might be because Critical Strike and Unholy Aura both share the same icon position, X 2, so to be sure I replaced Unholy Aura with Death Coil instead, which is X 0. And no, it still didn't work.

What am I doing wrong?
06-27-2004, 08:03 PM#4
Anitarf
It didn't work because your hero didn't have a skillpoint to spend. Also, the icon position has nothing to do with anything, if two spells share the same position, one of them will move to the first unoccupied position.

So here's the deal: the only way to easily combine these two auras (or any other two auras) is to base the hero-ability on one of them and whenever the ability is learnt, give the hero an additional unit ability that is based on the other aura. When the hero learns higher levels of the skill, you remove the other aura (the unit one) and add a better version of it.

This way, your hero will have two icons in the command card for one skill (and only one icon in the menu where the hero learns the skill). There's no way around this other than moving an invisible unit with the other aura constantly after the hero using triggers.
06-28-2004, 03:07 PM#5
Ez8
Thanks for the response.

Let me give you some rep.