Recast ability

Ducati

Member!
Joined
Aug 14, 2004
Messages
106
Reaction score
0
Location
alaska
Website
Visit site
Ok,well i wanna create a abilty that recast the abilty just casted onto a hero.sounds confusing?ok lets see how i can say this...

lets say hero.A casts stormhammer on hero.B,hero.B doesnt feel no damage but instead the ''unknown ability'' recasts stormhammer on hero.A.

I want this to work with all abilities.

Any input?
 

IceDevil9

BattleForums Senior Member
Joined
Feb 19, 2003
Messages
3,418
Reaction score
3
Location
CA
Website
www.rcthaven.com
Um...why?

You'll need to trigger it as such:

Events
Unit - Player-Owned Unit Event - A Unit owned by [player casting the ability] begins casting an ability

Conditions
Ability Comparison - Ability being Cast Equal To [The ability]

Events
Unit - Issue Order targeting A Unit - Order Attacked Unit to [Pick the ability you created] [The unit casting the ability originally]

Just use that trigger and add an Or structure to the events to make it work for all abilities.

-Frank :cool:
 

Ducati

Member!
Joined
Aug 14, 2004
Messages
106
Reaction score
0
Location
alaska
Website
Visit site
im creating a custome hero,with all custome abilties.Sh!t,i dunt want it to work fo all abilities i only want it working for negitive abilites,sorry i jus read my own question and figured out if it works on all abilities his allies cant heal him.
 

IceDevil9

BattleForums Senior Member
Joined
Feb 19, 2003
Messages
3,418
Reaction score
3
Location
CA
Website
www.rcthaven.com
An or structure is selecting the following event

Or, Multiple Conditions (Or Events w/e it says)

And for your second part I'm confsued, you sound like you had something, then realized you figured it out on your own. Ha ha I do that all the time!

-Frank :cool:
 

ChrisH36

Guy with Most Posts on Quiet Board.
Joined
May 20, 2003
Messages
15,042
Reaction score
4
Location
Temple Prime, Sarajevo
IceDevil9 said:
Um...why?

You'll need to trigger it as such:

Events
Unit - Player-Owned Unit Event - A Unit owned by [player casting the ability] begins casting an ability

Conditions
Ability Comparison - Ability being Cast Equal To [The ability]

Events
Unit - Issue Order targeting A Unit - Order Attacked Unit to [Pick the ability you created] [The unit casting the ability originally]

Just use that trigger and add an Or structure to the events to make it work for all abilities.

-Frank :cool:
This trigger looks like it assumes that the player has that spell
 

IceDevil9

BattleForums Senior Member
Joined
Feb 19, 2003
Messages
3,418
Reaction score
3
Location
CA
Website
www.rcthaven.com
Yea, I guess, so you could always add the

Hero - Give Hero Ability action before, that would work.

Thx for pointing that out Hellwolf, didn't notice it.

-Frank :cool:
 

ChrisH36

Guy with Most Posts on Quiet Board.
Joined
May 20, 2003
Messages
15,042
Reaction score
4
Location
Temple Prime, Sarajevo
It would be good as a counter spell. Or you could have a unit that follows it that has all available spells. If the unit has been hit by the spell, the "dummy" unit can fire it back! However, with hero spells it might be tricky.
 

NewPosts

New threads

Top