HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Another Skill Question

11-22-2003, 07:58 PM#1
[NK]Mutant
Ok, I want to make a skill that would make Mana Flare an aura, as opposed to a channeling spell. Does anyone know how I can do this? I'll ofer 50 points to whoever can get it first.
11-23-2003, 03:03 AM#2
Aristotle
Simply use the event "Unit within range of unit" add units that have entered that range to a unit group, remove units that leave that range, then duplicate the effects of mana flare through triggers, very basic problem.
11-23-2003, 03:33 AM#3
Hunter0000
can you please explain exacty what you want it do do And il happily write out all the triggers for you.
11-23-2003, 12:52 PM#4
FerretDruid
He wants a mana flare aura... Mana flare shoots a bolt of energy at any casters within X range of the unit channeling mana flare, each time they cast a spell, that deals damage based on a percentage of the mana cost of the spell.

In Tides of Blood version M the Inquisitor hero on the Allies team has a mana flare aura called Inquisition, if you need a visual example.
11-23-2003, 03:38 PM#5
Hunter0000
Ok, then lets say here is the ability test

Mana Vacume
Creates a permanet Vacume around the (your hero here) that damages any enemy units that atempt to cast a spell in it.
Lvl1 - 15% of spell
Lvl2 - 30% of spell
Lvl3 - 45% of spell
( you can change these procentages but be sure they use the same incement)

Varables
Integer array with the size of the number of players
Unit array named Hero that has the size of the number of players. Have this previously set all players heros as, red's to (1) Blue's to (2) and so forth.

Trigger One
E
Hero learns a skill
C
Skill = to Mana Vacume
A
Set Integer array(number of owner of triggering unit) to itself + 1
If then else
C
Integer array equal 0 or 1(not sure witch, try both)
A
Run Trigger Two(ingnoring Conditions)
Else
Nothing

Trigger Two

A
If Then Else
C
Triggering player = to player 1(Red)
A
Turn on Trigger 3(red)
Else nothing
Do that for each player with the If then else in this trigger

Trigger 3(red)
E
Unit casts a spell
C
Unit is within 800 of Heros(1)
A
(create whatever FX you want and whatever here)
If then Else(multiple actions)
C
Casting unit's life is more than casting cost of spell x .15xInteger array(1)
A
Set casting unit's life to itself - casting cost of spell x .15 x Integer array(1)
Else
Set Casting units life to 1
Create 1 (an invisable unit with a high cooldown and does 5 damage with an instant attack and has a negitive regeneration that will killitself in about 1 second) for Player one (red)
Order last created unit to attack casting unit

Ok, that should do it! all you have to to is copy Trigger 3 and make one for each player that changes all the indexes and players to thier number and that player.
11-23-2003, 03:50 PM#6
FerretDruid
I would just create 3 different versions of mana flare with no mana cost and no cooldown, and every 1 second of game time move an invisible unit to his position and order it to start channeling the spell, give the unit a cast backswing of 0 so there's really no noticeable delay. Mana Flare is already technically an aura, it's just.. a channeling spell. Anyway, that's what I would do :D If hero dies, stop trigger that moves unit to position of hero and explode unit, hero is revived create it again etc.

EDIT: Oh, forgot to mention why I'd do that as opposed to the trigger assigned damage.. in case it wasn't obvious: Because of bounty. Hero should get bounty for mana flare aura kills.
11-23-2003, 03:52 PM#7
Hunter0000
That is easier, but very messy
11-24-2003, 02:00 AM#8
Hunter0000
umm, where are you, do you still need this [NK]Mutant?
11-25-2003, 11:42 PM#9
[NK]Mutant
Actually, I decided to go with another idea, but ill still gave ya some points for the effort.

Sorry I didn't hit ya back sooner, but i've been busy.