HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

I need help with critical strike

02-01-2005, 10:52 PM#1
cowboybill
hi all. well i wanted to make a spell where the blade master does his critical. but instead its selectable, so u can select what hero or unit u can use critical strike on.

i also wanted to know if i can make the hero jump high into the air and land on the unit he is using the ability on. some examples, has anyone ever played age of mythology, the egyptians have a unit that jumps and attacks units. anyway is this possible? thx in advance :god_help_us:
02-02-2005, 07:24 AM#2
D0nk1ckh0t
For the targeted crit you could use a dummy unit targeting ability, when it is cast you create some red floating text with the amount of damage and deal that amount to target. However, you will need a way to detect hero's base damage to multiply it accordingly to emulate the crit.

To implement jumping, you may use a morph ability which morphs your hero into a flying unit for a short time, while you change its flying height with a trigger. The flying variation of your hero may actually have that targeted crit ability so that you may use it only when jumping.
02-02-2005, 10:57 AM#3
xGT4x
The jumping thing is easier, just use a trigger that first adds the ability "Crow Form(Medivh)" and then removes it, now you can change it's flying height even if it is a land unit. Just use a large loop for changing(You probably need Jass to do this correctly).
02-02-2005, 12:48 PM#4
HEZZA
You could use wind walk....with no invisibility and no speed adjustment..
02-03-2005, 03:05 AM#5
cowboybill
ok im having a little trouble with the jumping triggers. can u guys help me with that. do u guys think u can write the triggers out. anyway thx for help guys. i worked out the critical strike, all i need is the jumping. also is there anyway to make the jumping look natural, i want it to have the attack slam animation for the blademaster the whole way while its in the air .ty in advance