HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Having some problems with an ability...

11-08-2006, 11:17 AM#1
darkwulfv
Ok, I want to make cannablize heal mana, not health (like in wolf packs maps). I can't seem to figure out how though. I need it to be so that when the unit stops eating, the mana regen (which would be given to the unit via triggers) would end, or when mana is full, eating stops. If anyone has any ideas, please share! Also, when an ability has the spell animation name 'channel', does that categorize it as a channeling ability? If so, I could probably do this myself.
11-08-2006, 12:54 PM#2
Naakaloh
No, the "channel" animation name essentially just lets the model know what animation you want played.

Could you just use Cannibalize as the base ability? Give it no or very little health recovered. Run a trigger for the EVENT_PLAYER_UNIT_SPELL_EFFECT event that starts the mana regeneration. Have another for the event EVENT_PLAYER_UNIT_SPELL_ENDCAST to turn of the regeneration.
11-08-2006, 09:59 PM#3
darkwulfv
I thought of that, but the problem was that i didnt know if cannabilism would stop if it healed the max amount of HP allowed. If it doesnt, that will work well.
11-09-2006, 01:50 AM#4
Naakaloh
It will; I actually hadn't thought of that, it will also be impossible to cast if you're at full life.

You could use channel. The only issue is checking if there's a nearby corpse which isn't terribly difficult.
11-09-2006, 04:00 AM#5
Av3n
Well maybe make an spell that finds an nearby corpse an drains the mana as you said and destroy the corpse when you finish or end the spell by force.

-Av3n