• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Transforming to Ranged Attack

Status
Not open for further replies.
Level 17
Joined
Feb 11, 2011
Messages
1,860
Hi guys,

I am making a spell for someone which involves the caster temporarily changing from melee to ranged. It lasts a certain number of attacks or a maximum of 7 seconds. I guess I want something similar to Troll Warlord from DotA, except it has a limited time, and you cannot change back to melee manually (you have to wait for the time to expire).

Any ideas on how to do this?

Thanks,

Mr_Bean
 
Level 5
Joined
Jan 13, 2008
Messages
96
you dont need any triggers or any dificulty metod...use druid transform from druid of the talon night elf...
 
Level 33
Joined
Mar 27, 2008
Messages
8,035
you dont need any triggers...
As I said, it needs triggering because the transformation will ended on 2 conditions;
- 7 seconds duration OR
- Certain number of attacks

Since there is no default field option in Object Editor that limits any transformation-based spell such as Bear Form or Metamorphosis, we have to use trigger to calculate each attack done by the unit and once it reached a certain numbers of attack, it will revert back.

This can be done by using Integer variable to keep track the number of attack made by that unit, of course we must use Damage Detection System.
 
Level 17
Joined
Feb 11, 2011
Messages
1,860
The problem I have is this: I based the ability of Robo-Goblin Form, but there is a problem because to be able to deactivate it you need the spell to have finished cooling down. However, I want the spell to have a 10 second cooldown and be able to order the hero to cancel it after it has attacked x times.

Anyone know of a transformation ability that I can give a cooldown but can be deactivated at any time? I really need this to work!
 
Status
Not open for further replies.
Top