• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[Spell] Form Change, Skill Change

Status
Not open for further replies.
Level 3
Joined
Oct 29, 2011
Messages
43
I've been working on this hero:

Form 1 - Light Angel [skills: Alter Ego, Healing Touch, Life Regen Aura, lastskill: none so far]
Form 2 - Dark Angel [skills: Alter Ego, Cursed Lightning, Immolation, lastskill: none so far]

when Form 1 changes to Form 2 (through Alter Ego), Healing Touch, Life regen aura should turn into Cursed Lightning and Immolation. How do i do that?

Thanks in advance :)

BTW, im a noob and please use only triggers. :goblin_cry:
 
Level 4
Joined
Aug 17, 2011
Messages
119
try making 2 hero's and replacing the one with the other when the 'Alter Ego' ability is cast.

you could use bear form as the morph spell. and then replace the 'bear' with the 1 angel.
 
Level 14
Joined
Aug 8, 2010
Messages
1,022
Change heroes? Hmmm... a good idea, but you can make a simple trigger that removes the wanted abilities and gives the others when the 'Alter Ego' spell is casted.

  • Morph
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Alter Ego
    • Actions
      • Unit - Remove >your spells< from (Triggering unit)
      • Unit - Add >your spells< to (Triggering unit)
 
Level 8
Joined
Jan 8, 2010
Messages
493
use this Hero Passive Transformation to change your hero from one form to another. for the skills, only have the skills that both form will have on the object editor, any other skills that will have to be changed should be added via triggers. so, in your Object Editor, both forms should have Alter Ego. or even the first form only, but just to make sure have it at both. then at
  • Events
    • Map Initialization
  • Conditions
  • Actions
    • Unit - Add Healing Touch to YourHero
    • Unit - Add Life Regen Aura to YourHero
then when your unit casts Alter Ego, just like CoLd Bon3's trigger
  • Events
    • Unit - A unit Starts the effect of an ability
  • Conditions
    • (Ability being cast) Equal to Alter Ego
  • Actions
    • -- This part is the Hero Passive Transformation --
    • Unit - Add HeroPassiveTransformationAbility to (Triggering unit)
    • Unit - Remove HeroPassiveTransformationAbility to (Triggering unit)
    • --------
    • Unit - Remove Healing Touch from (Triggering unit)
    • Unit - Remove Life Regen Aura from (Triggering unit)
    • Unit - Add Cursed Lightning to (Triggering unit)
    • Unit - Add Immolation to (Triggering unit)
and do the same when it shifts back to its form 1. if those abilities are leveled, and you want the form 2 abilities to have the same levels as your form 1 abilities, you should save the level of the ability to a variable before removing it.
 
Level 3
Joined
Oct 29, 2011
Messages
43
I have my pics below... the first pic is Light Angel with his abilities. Second pic is after the transformation. Thanks for all those who tried to help me :))

Question:

1. What should be in the "Abilities - Hero" of the second transformation?
- i already tried putting "Cursed Lightning" and "Immolation"
- i already tried "none"


Thank you really please, this thing really means to me. :vw_sad:
 
Last edited:
Level 8
Joined
Jan 8, 2010
Messages
493
i just remembered that the trigger
  • Unit - Add Skill To Unit
causes the unit to actually "learn" it. if it is a hero skill, the added skill won't be included in the Hero's Learn Skill button when it levels up.

a workaround can be that you create 3 dummy hero skills for those skills you have, can be based off Channel and Not Visible. those dummy skills will just be used to learn the skills, and create a trigger something like this

  • Events
    • Unit - Unit Learns an ability
  • Conditions
    • (Learned Hero Skill) Equal to Dummy Skill 1
  • Actions
    • Unit - Add Skill 1 to (Triggering unit)
so that when you use Alter Ego, you can easily remove the skill and add its form's skills.
 
Level 3
Joined
Oct 29, 2011
Messages
43
The cursed lightning kept disappearing, and when i get back to the original form... Healing Touch is also gone :( thanks for helping guys. I'm such a noob, i know the trigger of ronojales works but i can't understand it... but i followed his instruction. thanks :(
 
Level 8
Joined
Jan 8, 2010
Messages
493
here's a sample map:
Changing Heroes

it uses the workaround i mentioned in the earlier post about using 3 dummy skills. hopefully that can give you an idea about changing heroes and changing their skills. though this map was intended for one unit only, but should be easy enough once you understood it XD
 
Status
Not open for further replies.
Top