• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!

Skill Chains with/without triggers

Status
Not open for further replies.
Level 5
Joined
Jul 10, 2010
Messages
124
Idea from playing AION: the tower of eternity, is this possible to do in the data editor without triggers?

Say you have a hero with 2 spells like fireball and fireblast. You can only cast fireblast right after using fireball. Each ability has its own cooldown. The chain is broken if A: fireblast is still on cooldown, or B: you use another spell instead of fireblast.

Seems like this needs a lot of triggers or even a completely custom UI, but do you think it can be done with only data editor?
 
Not really too difficult
Create an integer variable.

Event -> Unit casts Fireball
Condition ->
Action -> Set [variable] 1

Event -> Unit casts Fireblast (set 6, begins)
Condition -> (Abs[variable] = 1)
Action -> Cast Fireblast

Event -> Unit casts *any other spell*
Condition ->
Action -> Set [variable] 0

It's a think outside of the box way of doing a boolean.
 
Status
Not open for further replies.
Top