HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Hurl Boulder based spell

06-27-2006, 08:29 AM#1
Kam
I am using a spell based on hurl boulder, except it just deals an initial damage of 355. I wanted to make a buff that appeared on the targeted unit as soon as it is targeted. The spell has a chance for the target to evade the projectile, so I wanted a buff that warns the owner of the targeted unit. In this case I wanted to use the exclamation mark from the campaign and have it appear above the unit, with the appropriate buff icon on the actual unit. So far I have been unable to do this because the Hurl Boulder buff relys on the spell lasting for some time once it has hit.
06-27-2006, 08:57 AM#2
Jacek
Base the spell off something like Cluster Rockets (AoE). When spell effect starts, pick all units in AoE and create exclamation mark above them... then when spell effect ends remove it or after some time.
06-27-2006, 09:59 AM#3
Kam
That would work, accept I need this to be a single unit target spell like Hurl Boulder.
06-27-2006, 10:07 AM#4
Jacek
maybe something like dummy unit with attack ancient protectors had before patches (can be avoided) and When unit is attacked add exclamation mark...

you can't make hurl boulder/storm bolt and stuff with chance to hit :S
06-27-2006, 11:43 AM#5
shadow1500
Best way imo is to trigger everything, base your spell off something that adds a buff, make it add the buff you want. When u detect casting w/ triggers, create an evadable projectile with triggers or like jacek suggested with the dummy unit attack.
06-27-2006, 01:39 PM#6
PipeDream
If you want to copy dota spells the best way to do it is to look at dota's war3map.j. Chances are you can even find an old version with this done in GUI.
06-27-2006, 03:21 PM#7
StockBreak
Uhm, i found a nice idea for you. You can base your ability on Panda's spell which slows and make you miss (don't remember the name xD). Set its area of effect to 90 (or similar), then turn off the "follow target" field (it has a similar name. Now, when your unit casts the spell, you have to show the special effect on the target and then remove it if, after some time (let's say 5 seconds) the target has not the buff. I think that it should work...
06-29-2006, 12:32 AM#8
Soulprovider
Trigger:
Event: A unit begins casting a spell
Collapse Condition:
-Casting spell = to your spell
Action: apply (your buff to targetted unit)

I'm not home to try this out but this should be the gist of it.
06-29-2006, 01:41 PM#9
shadow1500
Quote:
Uhm, i found a nice idea for you. You can base your ability on Panda's spell which slows and make you miss (don't remember the name xD). Set its area of effect to 90 (or similar), then turn off the "follow target" field (it has a similar name. Now, when your unit casts the spell, you have to show the special effect on the target and then remove it if, after some time (let's say 5 seconds) the target has not the buff. I think that it should work...
He wants the buff on the unit right when the projectile is launched.

Quote:
I'm not home to try this out but this should be the gist of it.
That would also work, but you must make your own buff system first.
06-30-2006, 12:39 AM#10
Kam
There is no "add buff" trigger in the editor, there is only remove buff.
06-30-2006, 12:44 AM#11
shadow1500
Quote:
There is no "add buff" trigger in the editor, there is only remove buff.
Thats what I said, you need to make your own buff system to do that, so my way is the best.