Need help to Fix it!

n1mr0d

Member
Reaction score
1
Ok so i was making this ability named Fervor from DotA, the effect of this ability is , that if the learning hero is attacking the same unit twice , gets 20 more Attack speed, my problem is, the hero what uses this ability goes mad, attacking with the maximum attack speed.

Here's my map, please help me xD.

By the way, how can i make a unit unable to attack until he deactivates 1 spell?
And the 3rd question, how can i check the hero's primary attribute ?
 

Attachments

  • Fervor.zip
    17.4 KB · Views: 191

Solu9

You can change this now in User CP.
Reaction score
216
Im too busy looking at your map at the moment. But did you add 20 or 0.20 to the units attack speed? 20 = 2000%, 0.20 = 20%.
 

thorhunter

You can change this now in User CP.
Reaction score
32
Im too busy looking at your map at the moment. But did you add 20 or 0.20 to the units attack speed? 20 = 2000%, 0.20 = 20%.
I looked into the map, this is exactly where the problem is.
 

Solu9

You can change this now in User CP.
Reaction score
216
And the 3rd question, how can i check the hero's primary attribute ?

While you can't detect what the primary attribute is. But if all you need it for is a triggered spell, you can throw it into the damage equation by using a function.

Im not able to check its name right now.
 

Juggernaut

I don't know what to change it to
Reaction score
33
Also in your trigger whenever you level up the skill the attack speed resets.
You should set the abilitie's level only the first time it levels.
Meaning:
If level of <ability> for triggering unit equal to 1 then
set level of <ability> to 1
Where <ability> is the primary leveling ability
 

n1mr0d

Member
Reaction score
1
hmm, i fixed these problem, now my only problem is, i wanted to make 1 spell what launches a missile, and when the unit runs out of mana, it goes back (or when he orders), my problem is it launches , but still when it needs to come back it stays on that place. here's my map.

And thx for helping me with fixing it xD.


EDIT : Nevermind Fixed it :D.!
 

Attachments

  • Chakram.zip
    28.3 KB · Views: 206

jig7c

Stop reading me...-statement
Reaction score
123
There is a way to detect primary attribute. What I did in my map was, assign each hero-type a point-value. For example, give all Strenght heroes 1, agility 2, and intel 3. Then you can do something like this...

event: a unit starts the effect of an ability
condition: ability being cast equal to .....
point value of triggering unit equal to/not equal to...
actions:....

it worked like a charm in my map
 

n1mr0d

Member
Reaction score
1
i have thought about making 3 unit group, naming agility , strength, and intelligence, and at map initialization adding them into their respectable unit group.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top