HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Detecting an avatar.

11-26-2007, 03:47 PM#1
cohadar
I am using standard avatar ability 'ANav' and I want to detect at some point if hero is in avatar, but since avatar does not have buff....

Any ideas?
11-26-2007, 03:51 PM#2
Fireeye
You could check for all bonus stats + spell immunity of Avatar, or give him an hidden aura.
There might be also other ways around, but i can't think about any other right now.
11-26-2007, 04:19 PM#3
cohadar
Nah I think I will make a custom avatar.

Is there any way to add that avatar expiration bar to a unit?
11-26-2007, 04:30 PM#4
zen87
use morph instead? chemical rage + spell immue + dmg bonus + life bonus?
11-26-2007, 04:44 PM#5
cohadar
I am scared of morphs...
11-26-2007, 05:47 PM#6
Strilanc
Catch the casting event and add it to an avatar unit group. Remove it after the spell expires.
11-26-2007, 05:58 PM#7
zen87
Quote:
Originally Posted by cohadar
I am scared of morphs...
im even more scared of the spell avatar itself
11-26-2007, 06:30 PM#8
DioD
avatar undispallable

detect cast
detect death
detect its duration

nothing more needed
11-26-2007, 06:45 PM#9
cohadar
... and so I made custom avatar based on berserk.
12-06-2007, 12:28 PM#10
Troll-Brain
Avatar got a buff.
I know it's not written on the object editor , but we can see it in the gui actions
The raw code is : 'BHav'
I use it for de activate the spell
12-08-2007, 07:59 AM#11
Glass Shard
Off-topic: you have a neat avatar Fireeye.

Also, is there an RP forum?


P.S. - Avatar size should be increased
12-08-2007, 08:29 AM#12
Malf
Offtopic: Omg hai Serathis!
12-08-2007, 11:09 AM#13
Tide-Arc Ephemera
Slightly on topic...
Cohadar, no offense but you're good with all that Jass, but... the object editor is EASY. But I'll give you a hint.

Rule generally is if the ability has a duration, it generally has a buff. It's not always true. Some abilities which have duration but no visible buff BUT they have an in-game. An example is Avatar or Phoenix Fire.
12-08-2007, 12:52 PM#14
Malf
Don't use Avatar. If a unit dies with Avatar on.. Go figure.
12-08-2007, 02:44 PM#15
Ignitedstar
Why? Does the buff not disappear? I don't think that's ever happened with the Mountain King...