Movement speed doesn't show more than 400 and other Item issues !

Status
Not open for further replies.
Level 5
Joined
May 12, 2013
Messages
70
Sup hive. So, Iv'e lately been workin' on my latest map. Its still under construction. And i've been facing many problems.The first problem is that, I've used a trigger to show the Movement speed of a unit when he typer "-ms" and worked perfectly, until, I realized it never showed the speed more than 400, even if the speed of the unit is more than 400. Here's the trigger :

  • Events
    • Player - Player 1 (Red) types a chat message containing -ms as An exact match
  • Conditions
  • Actions Game - Display to Player Group - Player 1 (Red) the text: (Movement speed of + ((Name of (Random unit from (Units owned by Player 1 (Red) matching (((Matching unit) is A Hero) Equal to True)))) + ( is + (String((Current movement speed of (Random unit from (Units owned by Player 1 (Red) matching (((Matching unit) is A Hero) Equal to True)
The unit's default movement speed is 300. It buys a boots that give +40 MS. I type -ms and it shows 340 MS. But another boots that give +150 MS. I buy them and type -ms and it shows 400 ? And also if a unit has default MS of 522,it shows 400. So, WTF is this ? How do i get it to show it right.

Secondly, I needed help in making the Triggers for Blademail and Armlet of Mordiggian from DotA. For those of you who have'nt played DotA, Blademail creates spikes around the hero (Yea, if you know what's the name of that effect, please mention it too) and for 3 seconds, the hero will return all the damage he recieves (Both physical and magical) to the unit who attacks him.I know it simple triggering but I'm too lazy to think. Secondly, Armlet when activated, increases the total HP (Max HP) by 600 and also the current HP by 600, but Drains 40HP / second. On deactivation, it reduces the Max HP back to what it was, i.e -600 and the current HP also -600 but the unit turning it off never dies. He's left with 1 HP.And neither does he die if the armlet remains on, the HP goes on reducing and reaches 1 but then it increases to 5 and then back to 1. So its not lethal in anyway.
Awaiting replies.
 
Level 5
Joined
May 12, 2013
Messages
70
Do you mean like MS cant be more than 400 by default ? Because if thats what u mean, you're wrong. It can be increased to 522 from the Object editor.It just doesn't show it more than 400 when i type -ms. But the real problem is that when i add 120 MS to a unit with 300 ms , it displays it 400 and then if I subtract 60 from it, it shows 340, when it should be 360. U get what i'm sayin ....?
As for the blademail, how do i detect damage taken, and how do i return it to only the attacking unit that dealt that damage ? Like if a unit A hits me and a unit B hits me, then A should only recieve the damage he dealt and same for B ? I'm confused, can u explain ..?
 
Status
Not open for further replies.
Top