Problem with 2 same spells (cooldown related)

Status
Not open for further replies.
Level 2
Joined
Jan 20, 2009
Messages
18
Hi,

I created a new MK. I removed his spells and added two strombolt spells with different cooldown (1 sec and 9 sec).

My problem: Stormbolt II (9 sec) is only cast if Stormbolt I (1 sec) is on cooldown. Even if I press the hotkey for the second, the first ist cast. I find this very confusing.

Stormbolt I
Lvl 1 - Values - Cooldown: 1 sec
Lvl 1 - Data - Damage: 0
Manacost: 0
Hotkey: T
Button-Pos-X: 0

Stormbolt II
Lvl 1 - Values - Cooldown: 9 sec
Lvl 1 - Data - Damage: 100
Manacost: 0
Hotkey: K
Button-Pos-X: 1

Thank you for your consideration.
 

Attachments

  • Stormbolt.w3x
    11 KB · Views: 54
Level 10
Joined
Sep 21, 2007
Messages
517
man did you do something to the abilities? because when you change the ability id, or order id of an ability it wont collide within one hero, but for some reason its still colliding, its prob my WE thats bugging. Just go to the ability object and change its order id, and if doesnt work, create the spell again and change its order id. Just make sure the order id of each spell is different if its used in the same hero. Im pretty sure you did something so the orderid's arent working properly, so make sure you just repeat all your steps correctly and then change the orderid of one of the abilities.
Happy Mapping
 
Level 2
Joined
Jan 20, 2009
Messages
18
its already in WE. if you have the same spell the abilities share cooldown except the "channel" ability, i suggest you just base the other one with channel ability and create a dummy that will cast the second storm bolt.

I am not very experienced with the WE yet, could you please explain it in more detail or change my map and repost please?
 
Level 13
Joined
Sep 29, 2008
Messages
672
here's the map. when adjusting the damage and stun you must edit the dummy storm bolt but if you're changing cooldown you must change the stormbolt based from channel.

you must have a basic knowledge with triggers.
 

Attachments

  • Stormbolt.w3x
    13.4 KB · Views: 47
Level 2
Joined
Jan 20, 2009
Messages
18
here's the map. when adjusting the damage and stun you must edit the dummy storm bolt but if you're changing cooldown you must change the stormbolt based from channel.

you must have a basic knowledge with triggers.

Thank you very much, I understand almost all except for why a variable prevents leak.

Thanks again.
 
Status
Not open for further replies.
Top